EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OpDet Class Reference

#include <Fun4All-lmon/blob/master/source/OpDet.h>

Public Member Functions

 OpDet (const G4String &name, G4double xysiz, G4double zpos, G4double xmid, G4double ymid, G4LogicalVolume *top)
 
virtual ~OpDet ()
 
virtual G4bool ProcessHits (const G4Step *step, G4TouchableHistory *)
 
virtual const G4String & GetName () const
 
virtual void CreateOutput (TTree *tree)
 
virtual void ClearEvent ()
 
virtual void FinishEvent ()
 
G4VPhysicalVolume * GetPhysicalVolume () const
 

Private Member Functions

void AddBranch (const std::string &nam, Double_t *val, TTree *tree)
 
void AddBranch (const std::string &nam, ULong64_t *val, TTree *tree)
 

Private Attributes

Double_t fEdep
 
Double_t fEopt
 
ULong64_t fNphot
 
ULong64_t fNscin
 
ULong64_t fNcerenkov
 
Double_t fTmin
 
Double_t fTmax
 
Double_t fTavg
 
G4VPhysicalVolume * fPhys
 
G4String fNam
 
G4double fQE
 
CLHEP::HepRandom * fRand
 
G4int fScinType
 
G4int fScinSubType
 
G4int fCerenkovType
 
G4int fCerenkovSubType
 

Friends

class CompCal
 

Detailed Description

Definition at line 18 of file OpDet.h.

View newest version in sPHENIX GitHub at line 18 of file OpDet.h

Constructor & Destructor Documentation

OpDet::OpDet ( const G4String &  name,
G4double  xysiz,
G4double  zpos,
G4double  xmid,
G4double  ymid,
G4LogicalVolume *  top 
)

Definition at line 32 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 32 of file OpDet.cxx

References dz, fCerenkovSubType, fCerenkovType, fPhys, fQE, fRand, fScinSubType, fScinType, and Acts::UnitConstants::mm.

OpDet::~OpDet ( )
virtual

Definition at line 73 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 73 of file OpDet.cxx

References fRand.

Member Function Documentation

void OpDet::AddBranch ( const std::string &  nam,
Double_t *  val,
TTree *  tree 
)
private

Definition at line 167 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 167 of file OpDet.cxx

References fNam, and name.

Referenced by CreateOutput().

+ Here is the caller graph for this function:

void OpDet::AddBranch ( const std::string &  nam,
ULong64_t *  val,
TTree *  tree 
)
private

Definition at line 178 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 178 of file OpDet.cxx

References fNam, and name.

void OpDet::ClearEvent ( )
virtual

Definition at line 151 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 151 of file OpDet.cxx

References fEdep, fEopt, fNcerenkov, fNphot, fNscin, fTavg, fTmax, and fTmin.

void OpDet::CreateOutput ( TTree *  tree)
virtual

Definition at line 119 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 119 of file OpDet.cxx

References AddBranch(), fEdep, fEopt, fNcerenkov, fNphot, fNscin, fTavg, fTmax, and fTmin.

Referenced by Cell::Cell().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void OpDet::FinishEvent ( )
virtual

Definition at line 135 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 135 of file OpDet.cxx

References fNphot, fTavg, fTmax, and fTmin.

virtual const G4String& OpDet::GetName ( void  ) const
inlinevirtual

Definition at line 30 of file OpDet.h.

View newest version in sPHENIX GitHub at line 30 of file OpDet.h

References fNam.

G4VPhysicalVolume* OpDet::GetPhysicalVolume ( ) const
inline

Definition at line 35 of file OpDet.h.

View newest version in sPHENIX GitHub at line 35 of file OpDet.h

References fPhys.

Referenced by Cell::Cell().

+ Here is the caller graph for this function:

G4bool OpDet::ProcessHits ( const G4Step *  step,
G4TouchableHistory *   
)
virtual

Definition at line 80 of file OpDet.cxx.

View newest version in sPHENIX GitHub at line 80 of file OpDet.cxx

References fCerenkovSubType, fCerenkovType, fEdep, fEopt, fNcerenkov, fNphot, fNscin, fQE, fRand, fScinSubType, fScinType, fTavg, fTmax, and fTmin.

Friends And Related Function Documentation

friend class CompCal
friend

Definition at line 63 of file OpDet.h.

View newest version in sPHENIX GitHub at line 63 of file OpDet.h

Member Data Documentation

G4int OpDet::fCerenkovSubType
private

Definition at line 61 of file OpDet.h.

View newest version in sPHENIX GitHub at line 61 of file OpDet.h

Referenced by OpDet(), and ProcessHits().

G4int OpDet::fCerenkovType
private

Definition at line 60 of file OpDet.h.

View newest version in sPHENIX GitHub at line 60 of file OpDet.h

Referenced by OpDet(), and ProcessHits().

Double_t OpDet::fEdep
private

Definition at line 42 of file OpDet.h.

View newest version in sPHENIX GitHub at line 42 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), and ProcessHits().

Double_t OpDet::fEopt
private

Definition at line 43 of file OpDet.h.

View newest version in sPHENIX GitHub at line 43 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), and ProcessHits().

G4String OpDet::fNam
private

Definition at line 53 of file OpDet.h.

View newest version in sPHENIX GitHub at line 53 of file OpDet.h

Referenced by AddBranch(), and GetName().

ULong64_t OpDet::fNcerenkov
private

Definition at line 46 of file OpDet.h.

View newest version in sPHENIX GitHub at line 46 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), CompCal::FinishEvent(), and ProcessHits().

ULong64_t OpDet::fNphot
private

Definition at line 44 of file OpDet.h.

View newest version in sPHENIX GitHub at line 44 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), CompCal::FinishEvent(), FinishEvent(), and ProcessHits().

ULong64_t OpDet::fNscin
private

Definition at line 45 of file OpDet.h.

View newest version in sPHENIX GitHub at line 45 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), CompCal::FinishEvent(), and ProcessHits().

G4VPhysicalVolume* OpDet::fPhys
private

Definition at line 52 of file OpDet.h.

View newest version in sPHENIX GitHub at line 52 of file OpDet.h

Referenced by GetPhysicalVolume(), and OpDet().

G4double OpDet::fQE
private

Definition at line 55 of file OpDet.h.

View newest version in sPHENIX GitHub at line 55 of file OpDet.h

Referenced by OpDet(), and ProcessHits().

CLHEP::HepRandom* OpDet::fRand
private

Definition at line 56 of file OpDet.h.

View newest version in sPHENIX GitHub at line 56 of file OpDet.h

Referenced by OpDet(), ProcessHits(), and ~OpDet().

G4int OpDet::fScinSubType
private

Definition at line 59 of file OpDet.h.

View newest version in sPHENIX GitHub at line 59 of file OpDet.h

Referenced by OpDet(), and ProcessHits().

G4int OpDet::fScinType
private

Definition at line 58 of file OpDet.h.

View newest version in sPHENIX GitHub at line 58 of file OpDet.h

Referenced by OpDet(), and ProcessHits().

Double_t OpDet::fTavg
private

Definition at line 50 of file OpDet.h.

View newest version in sPHENIX GitHub at line 50 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), FinishEvent(), and ProcessHits().

Double_t OpDet::fTmax
private

Definition at line 49 of file OpDet.h.

View newest version in sPHENIX GitHub at line 49 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), FinishEvent(), and ProcessHits().

Double_t OpDet::fTmin
private

Definition at line 48 of file OpDet.h.

View newest version in sPHENIX GitHub at line 48 of file OpDet.h

Referenced by ClearEvent(), CreateOutput(), FinishEvent(), and ProcessHits().


The documentation for this class was generated from the following files: