EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ExitWindowV2.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ExitWindowV2.h
1
2
#ifndef ExitWindowV2_h
3
#define ExitWindowV2_h
4
5
// Exit window version 2
6
7
#include <Geant4/globals.hh>
8
#include <Rtypes.h>
9
10
class
G4Step;
11
class
G4TouchableHistory;
12
class
G4LogicalVolume;
13
class
TTree;
14
15
class
ExitWindowV2
{
16
17
public
:
18
19
ExitWindowV2
(
const
G4String& nam, G4double zpos, G4LogicalVolume *top);
20
21
//Detector
22
virtual
const
G4String&
GetName
()
const
{
return
fNam
;}
23
virtual
void
CreateOutput
(TTree *tree);
24
virtual
void
ClearEvent
();
25
virtual
void
FinishEvent
();
26
27
//G4VSensitiveDetector
28
virtual
G4bool
ProcessHits
(
const
G4Step *
step
, G4TouchableHistory*);
29
30
private
:
31
32
G4String
fNam
;
// detector name
33
34
Bool_t
fIsHit
;
// flag set when primary photon makes a step
35
36
Double_t
fPhotX
;
// x position of the photon
37
Double_t
fPhotY
;
// y position of the photon
38
Double_t
fPhotZ
;
// z position of the photon
39
40
Bool_t
fConv
;
// flag set when e+e- conversion took place
41
42
Double_t
fConvX
;
// x of conversion point
43
Double_t
fConvY
;
// y of conversion point
44
Double_t
fConvZ
;
// z of conversion point
45
46
Double_t
fConvStepLen
;
// length of step with conversion
47
Double_t
fPhotConvLen
;
// length between photon first point and conversion point
48
49
};
50
51
#endif
Fun4All-lmon
blob
master
source
ExitWindowV2.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:38
using
1.8.2 with
EIC GitHub integration