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

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

+ Collaboration diagram for CompCal:

Public Member Functions

 CompCal (const G4String &, G4double zpos, G4double ypos, G4LogicalVolume *, RootOut *rout)
 
virtual ~CompCal ()
 
virtual const G4String & GetName () const
 
virtual void CreateOutput (TTree *tree)
 
virtual void ClearEvent ()
 
virtual void FinishEvent ()
 

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 fEdep
 
Double_t fX
 
Double_t fY
 
Double_t fZ
 
Double_t fXyzE
 
ULong64_t fNphot
 
ULong64_t fNscin
 
ULong64_t fNcerenkov
 
ULong64_t fNphotDet
 
ULong64_t fNscinDet
 
ULong64_t fNcerenkovDet
 
std::vector< Cell * > * fCells
 

Friends

class Cell
 

Detailed Description

Definition at line 16 of file CompCal.h.

View newest version in sPHENIX GitHub at line 16 of file CompCal.h

Constructor & Destructor Documentation

CompCal::CompCal ( const G4String &  nam,
G4double  zpos,
G4double  ypos,
G4LogicalVolume *  top,
RootOut rout 
)

Definition at line 25 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 25 of file CompCal.cxx

References Cell, ClearEvent(), Cell::CreateOutput(), fCells, fNam, and RootOut::GetTree().

+ Here is the call graph for this function:

virtual CompCal::~CompCal ( )
inlinevirtual

Definition at line 21 of file CompCal.h.

View newest version in sPHENIX GitHub at line 21 of file CompCal.h

Member Function Documentation

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

Definition at line 137 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 137 of file CompCal.cxx

References fNam, and name.

Referenced by CreateOutput().

+ Here is the caller graph for this function:

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

Definition at line 148 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 148 of file CompCal.cxx

References fNam, and name.

void CompCal::ClearEvent ( )
virtual

Definition at line 104 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 104 of file CompCal.cxx

References fEdep, fNcerenkov, fNcerenkovDet, fNphot, fNphotDet, fNscin, fNscinDet, fX, fXyzE, fY, and fZ.

Referenced by CompCal().

+ Here is the caller graph for this function:

void CompCal::CreateOutput ( TTree *  tree)
virtual

Definition at line 60 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 60 of file CompCal.cxx

References AddBranch(), fEdep, fNcerenkov, fNcerenkovDet, fNphot, fNphotDet, fNscin, fNscinDet, fX, fXyzE, fY, and fZ.

Referenced by G4LmonDetector::ConstructMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CompCal::FinishEvent ( )
virtual

Definition at line 79 of file CompCal.cxx.

View newest version in sPHENIX GitHub at line 79 of file CompCal.cxx

References c, fCells, Cell::fE, fEdep, fNcerenkov, OpDet::fNcerenkov, Cell::fNcerenkov, fNcerenkovDet, fNphot, OpDet::fNphot, Cell::fNphot, fNphotDet, fNscin, OpDet::fNscin, Cell::fNscin, fNscinDet, and Cell::fOpDet.

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

Definition at line 24 of file CompCal.h.

View newest version in sPHENIX GitHub at line 24 of file CompCal.h

References fNam.

Friends And Related Function Documentation

friend class Cell
friend

Definition at line 52 of file CompCal.h.

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

Referenced by CompCal().

Member Data Documentation

std::vector<Cell*>* CompCal::fCells
private

Definition at line 50 of file CompCal.h.

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

Referenced by CompCal(), and FinishEvent().

Double_t CompCal::fEdep
private

Definition at line 36 of file CompCal.h.

View newest version in sPHENIX GitHub at line 36 of file CompCal.h

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

G4String CompCal::fNam
private

Definition at line 31 of file CompCal.h.

View newest version in sPHENIX GitHub at line 31 of file CompCal.h

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

ULong64_t CompCal::fNcerenkov
private

Definition at line 44 of file CompCal.h.

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

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

ULong64_t CompCal::fNcerenkovDet
private

Definition at line 48 of file CompCal.h.

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

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

ULong64_t CompCal::fNphot
private

Definition at line 42 of file CompCal.h.

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

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

ULong64_t CompCal::fNphotDet
private

Definition at line 46 of file CompCal.h.

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

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

ULong64_t CompCal::fNscin
private

Definition at line 43 of file CompCal.h.

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

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

ULong64_t CompCal::fNscinDet
private

Definition at line 47 of file CompCal.h.

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

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

Double_t CompCal::fX
private

Definition at line 37 of file CompCal.h.

View newest version in sPHENIX GitHub at line 37 of file CompCal.h

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

Double_t CompCal::fXyzE
private

Definition at line 40 of file CompCal.h.

View newest version in sPHENIX GitHub at line 40 of file CompCal.h

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

Double_t CompCal::fY
private

Definition at line 38 of file CompCal.h.

View newest version in sPHENIX GitHub at line 38 of file CompCal.h

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

Double_t CompCal::fZ
private

Definition at line 39 of file CompCal.h.

View newest version in sPHENIX GitHub at line 39 of file CompCal.h

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


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