Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PHG4Detector Class Referenceabstract

base class for phenix detector creation More...

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/simulation/g4main/PHG4Detector.h>

+ Inheritance diagram for PHG4Detector:
+ Collaboration diagram for PHG4Detector:

Public Member Functions

 PHG4Detector (PHCompositeNode *Node)
 constructor More...
 
 PHG4Detector (PHCompositeNode *Node, const std::string &nam)
 
virtual ~PHG4Detector (void)
 destructor More...
 
virtual void Construct (G4LogicalVolume *world)=0
 construct method More...
 
virtual void Verbosity (const int v)
 
virtual int Verbosity () const
 
virtual G4UserSteppingAction * GetSteppingAction ()
 
virtual std::string GetName () const
 
virtual void OverlapCheck (const bool chk=true)
 
virtual void Print (const std::string &what="ALL") const
 

Protected Attributes

PHCompositeNodetopNode
 
int verbosity
 
std::string name
 
bool overlapcheck
 

Detailed Description

base class for phenix detector creation

derived classes must implement construct method, which takes the "world" logical volume as argument

Definition at line 13 of file PHG4Detector.h.

Constructor & Destructor Documentation

PHG4Detector::PHG4Detector ( PHCompositeNode Node)
inline

constructor

Definition at line 20 of file PHG4Detector.h.

PHG4Detector::PHG4Detector ( PHCompositeNode Node,
const std::string &  nam 
)
inline

Definition at line 27 of file PHG4Detector.h.

virtual PHG4Detector::~PHG4Detector ( void  )
inlinevirtual

destructor

Definition at line 35 of file PHG4Detector.h.

Member Function Documentation

virtual void PHG4Detector::Construct ( G4LogicalVolume *  world)
pure virtual

construct method

construct all logical and physical volumes relevant for given detector and place them inside the world logical volume

Implemented in PHG4ConeDetector, SQG4DipoleMagnetDetector, PHG4EMCalDetector, PHG4BNLTargetCoilDetector, PHG4CylinderDetector, PHG4PolyconDetector, PHG4TargetCoilDetector, PHG4TargetCoilV2Detector, PHG4BlockDetector, PHG4CollimatorDetector, and PHG4SquareTubeDetector.

virtual G4UserSteppingAction* PHG4Detector::GetSteppingAction ( void  )
inlinevirtual

Reimplemented in PHG4ConeDetector.

Definition at line 49 of file PHG4Detector.h.

virtual void PHG4Detector::Print ( const std::string &  what = "ALL") const
inlinevirtual

Definition at line 55 of file PHG4Detector.h.

References name.

virtual void PHG4Detector::Verbosity ( const int  v)
inlinevirtual

Definition at line 45 of file PHG4Detector.h.

References verbosity.

Referenced by PHG4EMCalSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

virtual int PHG4Detector::Verbosity ( ) const
inlinevirtual

Definition at line 47 of file PHG4Detector.h.

References verbosity.

Referenced by PHG4EMCalDetector::Construct(), and SQG4DipoleMagnetDetector::Construct().

+ Here is the caller graph for this function:

Member Data Documentation

PHCompositeNode* PHG4Detector::topNode
protected

Definition at line 59 of file PHG4Detector.h.

Referenced by PHG4EMCalSubsystem::InitRunSubsystem().

int PHG4Detector::verbosity
protected

Definition at line 60 of file PHG4Detector.h.

Referenced by Verbosity().


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