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

#include <EicToyModel/blob/master/fun4all_with_eicroot/sandbox/EicRootDetector.h>

+ Inheritance diagram for EicRootDetector:
+ Collaboration diagram for EicRootDetector:

Public Member Functions

 EicRootDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam)
 
virtual ~EicRootDetector ()
 
void ConstructMe (G4LogicalVolume *world) override
 
void Print (const std::string &what="ALL") const override
 
int IsInDetector (G4VPhysicalVolume *)
 
PHG4HitContainerget_hitcontainer (void)
 
void set_hitcontainer (PHG4HitContainer *container)
 
- Public Member Functions inherited from PHG4Detector
 PHG4Detector ()=delete
 constructor
 
 PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam)
 
virtual ~PHG4Detector (void)
 destructor
 
virtual void Construct (G4LogicalVolume *world) final
 construct method
 
virtual void PostConstruction ()
 Optional PostConstruction call after all geometry is constructed.
 
virtual void Verbosity (const int v)
 
virtual int Verbosity () const
 
virtual G4UserSteppingAction * GetSteppingAction ()
 
virtual std::string GetName () const
 
virtual void OverlapCheck (const bool chk)
 
virtual bool OverlapCheck () const
 
virtual int DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr)
 
virtual int DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr)
 
virtual PHCompositeNodetopNode ()
 
virtual PHG4SubsystemGetMySubsystem ()
 

Private Attributes

PHG4HitContainerm_HitContainer
 

Additional Inherited Members

- Static Public Member Functions inherited from PHG4Detector
static G4Material * GetDetectorMaterial (const std::string &name, const bool quit=true)
 
static G4Element * GetDetectorElement (const std::string &name, const bool quit=true)
 

Detailed Description

Definition at line 18 of file EicRootDetector.h.

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

Constructor & Destructor Documentation

EicRootDetector::EicRootDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
const std::string &  dnam 
)

Definition at line 19 of file EicRootDetector.cc.

View newest version in sPHENIX GitHub at line 19 of file EicRootDetector.cc

virtual EicRootDetector::~EicRootDetector ( )
inlinevirtual

Definition at line 23 of file EicRootDetector.h.

View newest version in sPHENIX GitHub at line 23 of file EicRootDetector.h

Member Function Documentation

void EicRootDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

Implements PHG4Detector.

Definition at line 42 of file EicRootDetector.cc.

View newest version in sPHENIX GitHub at line 42 of file EicRootDetector.cc

References eic, PHParameters::get_string_param(), PHG4Detector::GetMySubsystem(), PHG4DetectorSubsystem::GetParams(), EicToyModel::Instance(), and mid.

+ Here is the call graph for this function:

PHG4HitContainer* EicRootDetector::get_hitcontainer ( void  )
inline

Definition at line 32 of file EicRootDetector.h.

View newest version in sPHENIX GitHub at line 32 of file EicRootDetector.h

References m_HitContainer.

Referenced by EicRootSubsystem::InitRunSubsystem(), and GdmlImportDetectorSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EicRootDetector::IsInDetector ( G4VPhysicalVolume *  volume)

Definition at line 28 of file EicRootDetector.cc.

View newest version in sPHENIX GitHub at line 28 of file EicRootDetector.cc

References EicRootSubsystem::GetG4SensitiveVolumes(), PHG4Detector::GetMySubsystem(), and Acts::Test::volume.

Referenced by GdmlImportDetectorSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EicRootDetector::Print ( const std::string &  what = "ALL") const
overridevirtual

Reimplemented from PHG4Detector.

Definition at line 68 of file EicRootDetector.cc.

View newest version in sPHENIX GitHub at line 68 of file EicRootDetector.cc

Referenced by EicRootSubsystem::Print().

+ Here is the caller graph for this function:

void EicRootDetector::set_hitcontainer ( PHG4HitContainer container)
inline

Definition at line 33 of file EicRootDetector.h.

View newest version in sPHENIX GitHub at line 33 of file EicRootDetector.h

References m_HitContainer.

Referenced by EicRootSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

Member Data Documentation

PHG4HitContainer* EicRootDetector::m_HitContainer
private

Definition at line 33 of file EicRootDetector.h.

View newest version in sPHENIX GitHub at line 33 of file EicRootDetector.h

Referenced by get_hitcontainer(), and set_hitcontainer().


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