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

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

+ Collaboration diagram for Cell:

Public Member Functions

 Cell (const G4String &nam, G4int ix, G4int iy, G4int ncells, G4double zpos, G4double ypos, G4LogicalVolume *top, CompCal &, RootOut *rout)
 
virtual ~Cell ()
 
virtual G4bool ProcessHits (const G4Step *step, G4TouchableHistory *)
 
virtual const G4String & GetName () const
 
virtual void ClearEvent ()
 
virtual void CreateOutput (TTree *tree)
 

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

G4String fNam
 
Double_t fE
 
ULong64_t fNphot
 
ULong64_t fNscin
 
ULong64_t fNcerenkov
 
G4int fScinType
 
G4int fScinSubType
 
G4int fCerenkovType
 
G4int fCerenkovSubType
 
OpDetfOpDet
 
CompCaldet
 
std::set< G4VPhysicalVolume * > m_PhysicalVolumes
 

Friends

class CompCal
 

Detailed Description

Definition at line 22 of file Cell.h.

View newest version in sPHENIX GitHub at line 22 of file Cell.h

Constructor & Destructor Documentation

Cell::Cell ( const G4String &  nam,
G4int  ix,
G4int  iy,
G4int  ncells,
G4double  zpos,
G4double  ypos,
G4LogicalVolume *  top,
CompCal d,
RootOut rout 
)

Definition at line 42 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 42 of file Cell.cxx

References ClearEvent(), Acts::UnitConstants::cm, Acts::UnitConstants::cm3, OpDet::CreateOutput(), OpTable::CrystalTable(), fCerenkovSubType, fCerenkovType, fNam, fOpDet, fScinSubType, fScinType, g(), OpDet::GetPhysicalVolume(), RootOut::GetTree(), m_PhysicalVolumes, OpTable::MakeBoundary(), and OpTable::SurfaceTable().

+ Here is the call graph for this function:

virtual Cell::~Cell ( )
inlinevirtual

Definition at line 27 of file Cell.h.

View newest version in sPHENIX GitHub at line 27 of file Cell.h

Member Function Documentation

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

Definition at line 225 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 225 of file Cell.cxx

References fNam, and name.

Referenced by CreateOutput().

+ Here is the caller graph for this function:

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

Definition at line 236 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 236 of file Cell.cxx

References fNam, and name.

void Cell::ClearEvent ( )
virtual

Definition at line 204 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 204 of file Cell.cxx

References fE, fNcerenkov, fNphot, and fNscin.

Referenced by Cell().

+ Here is the caller graph for this function:

void Cell::CreateOutput ( TTree *  tree)
virtual

Definition at line 193 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 193 of file Cell.cxx

References AddBranch(), fE, fNcerenkov, fNphot, and fNscin.

Referenced by CompCal::CompCal().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 34 of file Cell.h.

View newest version in sPHENIX GitHub at line 34 of file Cell.h

References fNam.

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

Definition at line 133 of file Cell.cxx.

View newest version in sPHENIX GitHub at line 133 of file Cell.cxx

References det, fCerenkovSubType, fCerenkovType, fE, fNcerenkov, fNphot, fNscin, fScinSubType, fScinType, CompCal::fX, CompCal::fXyzE, CompCal::fY, CompCal::fZ, m_PhysicalVolumes, and Acts::Test::volume.

Friends And Related Function Documentation

friend class CompCal
friend

Definition at line 60 of file Cell.h.

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

Member Data Documentation

CompCal& Cell::det
private

Definition at line 59 of file Cell.h.

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

Referenced by ProcessHits().

G4int Cell::fCerenkovSubType
private

Definition at line 55 of file Cell.h.

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

Referenced by Cell(), and ProcessHits().

G4int Cell::fCerenkovType
private

Definition at line 54 of file Cell.h.

View newest version in sPHENIX GitHub at line 54 of file Cell.h

Referenced by Cell(), and ProcessHits().

Double_t Cell::fE
private

Definition at line 47 of file Cell.h.

View newest version in sPHENIX GitHub at line 47 of file Cell.h

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

G4String Cell::fNam
private

Definition at line 41 of file Cell.h.

View newest version in sPHENIX GitHub at line 41 of file Cell.h

Referenced by AddBranch(), Cell(), and GetName().

ULong64_t Cell::fNcerenkov
private

Definition at line 50 of file Cell.h.

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

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

ULong64_t Cell::fNphot
private

Definition at line 48 of file Cell.h.

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

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

ULong64_t Cell::fNscin
private

Definition at line 49 of file Cell.h.

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

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

OpDet* Cell::fOpDet
private

Definition at line 57 of file Cell.h.

View newest version in sPHENIX GitHub at line 57 of file Cell.h

Referenced by Cell(), and CompCal::FinishEvent().

G4int Cell::fScinSubType
private

Definition at line 53 of file Cell.h.

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

Referenced by Cell(), and ProcessHits().

G4int Cell::fScinType
private

Definition at line 52 of file Cell.h.

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

Referenced by Cell(), and ProcessHits().

std::set<G4VPhysicalVolume *> Cell::m_PhysicalVolumes
private

Definition at line 61 of file Cell.h.

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

Referenced by Cell(), and ProcessHits().


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