EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/fun4all_with_eicroot/sandbox/EicRootVstSubsystem.h>
Public Member Functions | |
EicRootVstSubsystem (const std::string &name) | |
~EicRootVstSubsystem () | |
void | PlaceG4Volume (G4LogicalVolume *mother, bool check=false, void *pRot=0, void *tlate=0) |
const std::map < G4VPhysicalVolume *, unsigned > & | GetG4SensitiveVolumes (void) const |
Public Member Functions inherited from EicRootSubsystem | |
EicRootSubsystem (const std::string &name) | |
~EicRootSubsystem () | |
int | InitRunSubsystem (PHCompositeNode *) override |
int | process_event (PHCompositeNode *) override |
PHG4Detector * | GetDetector () const override |
return pointer to created detector object | |
PHG4SteppingAction * | GetSteppingAction () const override |
return pointer to this subsystem stepping action | |
void | Print (const std::string &what="ALL") const override |
const std::string & | GetG4HitName (void) const |
Public Member Functions inherited from PHG4DetectorSubsystem | |
~PHG4DetectorSubsystem () override | |
int | Init (PHCompositeNode *) final |
int | InitRun (PHCompositeNode *) final |
virtual int | InitSubsystem (PHCompositeNode *) |
void | OverlapCheck (const bool chk=true) |
bool | CheckOverlap () const |
PHParameters * | GetParams () const |
void | set_double_param (const std::string &name, const double dval) |
double | get_double_param (const std::string &name) const |
void | set_int_param (const std::string &name, const int ival) |
int | get_int_param (const std::string &name) const |
void | set_string_param (const std::string &name, const std::string &sval) |
std::string | get_string_param (const std::string &name) const |
void | UseDB (const int i=1) |
int | ReadDB () const |
FILE_TYPE | get_filetype () const |
void | UseCalibFiles (const FILE_TYPE ftyp) |
int | SaveParamsToDB () |
int | ReadParamsFromDB (const std::string &name, const int issuper) |
int | SaveParamsToFile (const FILE_TYPE ftyp) |
int | ReadParamsFromFile (const std::string &name, const FILE_TYPE ftyp, const int issuper) |
void | SetCalibrationFileDir (const std::string &calibdir) |
void | UpdateParametersWithMacro () |
void | SetActive (const int i=1) |
void | SetAbsorberActive (const int i=1) |
void | SetAbsorberTruth (const int i=1) |
void | BlackHole (const int i=1) |
void | SetSupportActive (const int i=1) |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | GetLayer () const |
Public Member Functions inherited from PHG4Subsystem | |
PHG4Subsystem (const std::string &name="Generic Subsystem") | |
constructor | |
~PHG4Subsystem (void) override | |
destructor | |
virtual int | process_after_geant (PHCompositeNode *) |
event processing | |
virtual PHG4EventAction * | GetEventAction (void) const |
return pointer to this subsystem event action | |
virtual PHG4TrackingAction * | GetTrackingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4DisplayAction * | GetDisplayAction () const |
return pointer to this subsystem display setting | |
virtual PHG4StackingAction * | GetStackingAction () const |
void | OverlapCheck (const bool chk=true) |
bool | CheckOverlap () const |
void | SetMotherSubsystem (PHG4Subsystem *subsys) |
PHG4Subsystem * | GetMotherSubsystem () const |
void | SetLogicalVolume (G4LogicalVolume *vol) |
G4LogicalVolume * | GetLogicalVolume () const |
virtual bool | CanBeMotherSubsystem () const |
virtual void | AddProcesses (G4ParticleDefinition *) |
virtual void | DefineMaterials () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Public Member Functions inherited from VstGeoParData | |
VstGeoParData (int version=-1, int subVersion=0) | |
~VstGeoParData () | |
void | AddBarrelLayer (MapsMimosaAssembly *chipAssembly, unsigned staveNum, unsigned chipNum, double radius, double slope, double asimuthalOffset=0.0) |
unsigned | GetNumberOfLayers () const |
const VstBarrelLayer * | GetBarrelLayer (unsigned layerID) const |
int | ConstructGeometry (bool root=true, bool gdml=false, bool check=false) |
VstGeoParData (int version=-1, int subVersion=0) | |
~VstGeoParData () | |
void | AddBarrelLayer (MapsMimosaAssembly *chipAssembly, unsigned staveNum, unsigned chipNum, double radius, double slope, double asimuthalOffset=0.0) |
unsigned | GetNumberOfLayers () const |
const VstBarrelLayer * | GetBarrelLayer (unsigned layerID) const |
int | ConstructGeometry (bool root=true, bool gdml=false, bool check=false) |
Public Member Functions inherited from MapsGeoParData | |
MapsGeoParData (const char *detName=0, int version=-1, int subVersion=0) | |
~MapsGeoParData () | |
void | UseTriangularAssemblies (bool yesNo) |
bool | UseTriangularAssemblies () const |
void | WithMountingRings (bool yesNo) |
bool | WithMountingRings () const |
void | WithEnforcementBrackets (bool yesNo) |
bool | WithEnforcementBrackets () const |
void | WithExternalPipes (bool yesNo) |
bool | WithExternalPipes () const |
void | SetCarbonFiberMaterial (const char *material) |
void | SetKaptonMaterial (const char *material) |
MapsGeoParData (const char *detName=0, int version=-1, int subVersion=0) | |
~MapsGeoParData () | |
void | UseTriangularAssemblies (bool yesNo=true) |
void | WithMountingRings (bool yesNo=true) |
void | WithEnforcementBrackets (bool yesNo=true) |
void | WithExternalPipes (bool yesNo=true) |
void | SetCarbonFiberMaterial (const char *material) |
void | SetKaptonMaterial (const char *material) |
Public Member Functions inherited from EicGeoParData | |
EicGeoParData (const char *detName=0, int version=-1, int subVersion=0) | |
~EicGeoParData () | |
void | ResetVars () |
void | SetGeometryType (GeometryType gType) |
GeometryType | GetGeometryType () const |
void | SetTestGeometryFlag (bool flag=true) |
bool | IsTestGeometry () const |
int | GetVersion () const |
int | GetSubVersion () const |
void | SetFileName (const char *fileName) |
void | SetFileNameFormat (const char *fileNameFormat) |
void | SetComment (const char *comment) |
int | AttachSourceFile (const char *fileName) |
void | PrintAttachedSourceFile (const char *fileName) |
EicGeoMap * | CreateNewMap () |
int | SetCircularX (unsigned group=0) |
int | SetCircularY (unsigned group=0) |
int | SetCircularZ (unsigned group=0) |
bool | GetCircularX (unsigned group=0) const |
bool | GetCircularY (unsigned group=0) const |
bool | GetCircularZ (unsigned group=0) const |
bool | GetCircular (unsigned group, unsigned what) const |
int | SetMappingTableEntry (EicGeoMap *map, const unsigned geant[], unsigned group, unsigned logical[]) |
int | AddLogicalVolumeGroup (unsigned dimX=0, unsigned dimY=0, unsigned dimZ=0) |
void | AddBlackHoleVolume (const char *vName) |
void | AddStepEnforcedVolume (const char *vName) |
void | AddStepEnforcedVolumeLookupEntry (int volumeID, double step) |
const TGeoMedium * | GetMedium (const char *medium) |
void | SetTopVolumeTransformation (TGeoMatrix *transformation) |
const TGeoMatrix * | GetTopVolumeTransformation () const |
TString | GetGeometryFileName (bool root=true) const |
virtual void | Print (const char *option=0) const |
TGeoVolume * | GetTopVolume () const |
TGeoManager * | GetRootGeoManager () |
void | FinalizeOutput (bool root=true, bool gdml=false, bool check=false) |
UInt_t | GetMapNum () const |
EicGeoMap * | GetMapPtrViaMapID (unsigned mapId) const |
const EicGeoMap * | GetMapPtrViaHitMultiIndex (ULong64_t multi) const |
int | CalculateMappingTableSignatures () |
unsigned | GetMaxVolumeLevelNum () const |
ULogicalIndex_t | GeantMultiToLogicalIndex (ULong64_t multi) const |
unsigned | GetDimX (unsigned group=0) const |
unsigned | GetDimY (unsigned group=0) const |
unsigned | GetDimZ (unsigned group=0) const |
unsigned | GetDim (unsigned group, unsigned what) const |
unsigned | GetGroup (ULogicalIndex_t logicalID) const |
unsigned | GetX (ULogicalIndex_t logicalID) const |
unsigned | GetY (ULogicalIndex_t logicalID) const |
unsigned | GetZ (ULogicalIndex_t logicalID) const |
unsigned | GetCoord (unsigned what, ULogicalIndex_t logicalID) const |
bool | IsBlackHoleVolume (const char *vName) const |
const std::set< TString > & | GetBlackHoleVolumes () const |
double | GetEnforcedStep (int volumeID) |
const std::set< TString > & | GetStepEnforcedVolumes () const |
void | InitializeLookupTables () |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (ULogicalIndex_t xy) const |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (const TGeoNode *node) const |
EicNamePatternHub< Color_t > * | GetColorTable () |
EicNamePatternHub< Char_t > * | GetTransparencyTable () |
virtual bool | AreNeighbours (ULogicalIndex_t l1, ULogicalIndex_t l2, unsigned maxLinearDist=1, unsigned maxChebyshevDist=0) const |
const EicDetName * | GetDetName () const |
void | AddWantedParticle (const char *vName, int pdg) |
bool | IsWantedParticle (const char *vName, int pdg) const |
EicGeoParData (const char *detName=0, int version=-1, int subVersion=0) | |
~EicGeoParData () | |
void | ResetVars () |
void | SetGeometryType (GeometryType gType) |
GeometryType | GetGeometryType () const |
void | SetTestGeometryFlag (bool flag=true) |
bool | IsTestGeometry () const |
int | GetVersion () const |
int | GetSubVersion () const |
void | SetFileName (const char *fileName) |
void | SetFileNameFormat (const char *fileNameFormat) |
void | SetTransparency (unsigned value) |
void | SetComment (const char *comment) |
int | AttachSourceFile (const char *fileName) |
void | PrintAttachedSourceFile (const char *fileName) |
EicGeoMap * | CreateNewMap () |
int | SetCircularX (unsigned group=0) |
int | SetCircularY (unsigned group=0) |
int | SetCircularZ (unsigned group=0) |
bool | GetCircularX (unsigned group=0) const |
bool | GetCircularY (unsigned group=0) const |
bool | GetCircularZ (unsigned group=0) const |
bool | GetCircular (unsigned group, unsigned what) const |
int | SetMappingTableEntry (EicGeoMap *map, const unsigned geant[], unsigned group, unsigned logical[]) |
int | AddLogicalVolumeGroup (unsigned dimX=0, unsigned dimY=0, unsigned dimZ=0) |
void | AddBlackHoleVolume (const char *vName) |
void | AddStepEnforcedVolume (const char *vName) |
void | AddStepEnforcedVolumeLookupEntry (int volumeID, double step) |
const TGeoMedium * | GetMedium (const char *medium) |
void | SetTopVolumeTransformation (TGeoMatrix *transformation) |
const TGeoMatrix * | GetTopVolumeTransformation () const |
TString | GetGeometryFileName (bool root=true) const |
virtual void | Print (const char *option=0) const |
TGeoVolume * | GetTopVolume () const |
TGeoManager * | GetRootGeoManager () |
void | FinalizeOutput (bool root=true, bool gdml=false, bool check=false) |
UInt_t | GetMapNum () const |
EicGeoMap * | GetMapPtrViaMapID (unsigned mapId) const |
const EicGeoMap * | GetMapPtrViaHitMultiIndex (ULong64_t multi) const |
int | CalculateMappingTableSignatures () |
unsigned | GetMaxVolumeLevelNum () const |
ULogicalIndex_t | GeantMultiToLogicalIndex (ULong64_t multi) const |
void | PlaceG4Volume (G4LogicalVolume *mother, bool check=false, void *pRot=0, void *tlate=0) |
unsigned | GetDimX (unsigned group=0) const |
unsigned | GetDimY (unsigned group=0) const |
unsigned | GetDimZ (unsigned group=0) const |
unsigned | GetDim (unsigned group, unsigned what) const |
unsigned | GetGroup (ULogicalIndex_t logicalID) const |
unsigned | GetX (ULogicalIndex_t logicalID) const |
unsigned | GetY (ULogicalIndex_t logicalID) const |
unsigned | GetZ (ULogicalIndex_t logicalID) const |
unsigned | GetCoord (unsigned what, ULogicalIndex_t logicalID) const |
bool | IsBlackHoleVolume (const char *vName) const |
const std::set< TString > & | GetBlackHoleVolumes () const |
double | GetEnforcedStep (int volumeID) |
const std::set< TString > & | GetStepEnforcedVolumes () const |
void | InitializeLookupTables () |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (ULogicalIndex_t xy) const |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (const TGeoNode *node) const |
EicNamePatternHub< Color_t > * | GetColorTable () |
EicNamePatternHub< Char_t > * | GetTransparencyTable () |
virtual bool | AreNeighbours (ULogicalIndex_t l1, ULogicalIndex_t l2, unsigned maxLinearDist=1, unsigned maxChebyshevDist=0) const |
const EicDetName * | GetDetName () const |
void | AddWantedParticle (const char *vName, int pdg) |
bool | IsWantedParticle (const char *vName, int pdg) const |
void | SetTGeoGeometryCheckPrecision (double value) |
void | TurnTGeoGeometryCheckOff (void) |
const std::vector < G4VPhysicalVolume * > & | GetG4Volumes (void) const |
const std::map < G4VPhysicalVolume *, unsigned > & | GetG4SensitiveVolumes (void) const |
ClassDef (EicGeoParData, 51) | |
Definition at line 10 of file EicRootVstSubsystem.h.
View newest version in sPHENIX GitHub at line 10 of file EicRootVstSubsystem.h
|
inline |
Definition at line 14 of file EicRootVstSubsystem.h.
View newest version in sPHENIX GitHub at line 14 of file EicRootVstSubsystem.h
|
inline |
Definition at line 15 of file EicRootVstSubsystem.h.
View newest version in sPHENIX GitHub at line 15 of file EicRootVstSubsystem.h
|
inlinevirtual |
Implements EicRootSubsystem.
Definition at line 22 of file EicRootVstSubsystem.h.
View newest version in sPHENIX GitHub at line 22 of file EicRootVstSubsystem.h
References EicGeoParData::GetG4SensitiveVolumes().
|
inlinevirtual |
Implements EicRootSubsystem.
Definition at line 18 of file EicRootVstSubsystem.h.
View newest version in sPHENIX GitHub at line 18 of file EicRootVstSubsystem.h
References EicGeoParData::PlaceG4Volume().