ATLAS Offline Software
|
#include <TBECOuterModuleTool.h>
Public Member Functions | |
TBECOuterModuleTool (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual | ~TBECOuterModuleTool () |
StatusCode | initializeCalculators () override final |
StatusCode | initializeSD () override final |
StatusCode | Gather () override final |
End of an athena event. More... | |
StatusCode | initialize () override final |
void | setupHelpers (LArG4SimpleSD *) const |
Helper method to pass the ID helper pointers to the SDs. More... | |
void | setupHelpers (LArG4CalibSD *) const |
Overload of the above method for calib SDs. More... | |
virtual StatusCode | SetupEvent () override |
Beginning of an athena event. More... | |
Protected Member Functions | |
G4VSensitiveDetector * | makeSD () const override final |
void | setupAllSDs (const std::map< G4VSensitiveDetector *, std::vector< std::string > * > &configuration) const |
Method actually doing the work to assign all of these SDs FIXME: this argument type is nasty: More... | |
bool | match (const char *first, const char *second) const |
Helper function for matching strings with wildcards. More... | |
StatusCode | assignSD (G4VSensitiveDetector *sd, const std::vector< std::string > &volumes) const |
Assign SD to a list of volumes. More... | |
G4VSensitiveDetector * | getSD () |
Retrieve the current SD. More... | |
void | SetSensitiveDetector (G4LogicalVolume *, G4VSensitiveDetector *) const |
Method stolen from G4VUserDetectorConstruction in G4 10.2. More... | |
Protected Attributes | |
G4bool | m_doPID |
Are we set up to run with PID hits? More... | |
std::string | m_timeBinType |
What time binning type for regular hits? More... | |
float | m_timeBinWidth |
What time bin width for regular hits? More... | |
G4bool | m_useFrozenShowers = false |
Is there going to be a fast simulation coming into this SD? More... | |
const LArEM_ID * | m_larEmID |
Pointers to the identifier helpers. More... | |
const LArFCAL_ID * | m_larFcalID |
const LArHEC_ID * | m_larHecID |
const CaloDM_ID * | m_caloDmID |
Gaudi::Property< std::vector< std::string > > | m_volumeNames {this, "LogicalVolumeNames", {}} |
All the volumes to which this SD is assigned. More... | |
Gaudi::Property< std::vector< std::string > > | m_outputCollectionNames {this, "OutputCollectionNames", {}} |
Names of all output collections written out by this SD. More... | |
Gaudi::Property< bool > | m_noVolumes {this, "NoVolumes", false} |
This SensitiveDetector has no volumes associated with it. More... | |
Private Member Functions | |
void | setSD (G4VSensitiveDetector *) |
Set the current SD. More... | |
Static Private Member Functions | |
static bool | matchStrings (const char *first, const char *second) |
Match two strings with wildcard support. More... | |
This implementation has issues in multi-threading and so cannot be used in an MT job. Migration discussion ongoing in ATLASSIM-2606.
Definition at line 23 of file TBECOuterModuleTool.h.
TBECOuterModuleTool::TBECOuterModuleTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
|
inlinevirtual |
Definition at line 30 of file TBECOuterModuleTool.h.
|
protectedinherited |
Assign SD to a list of volumes.
This method supports wild card matching
Definition at line 69 of file SensitiveDetectorBase.cxx.
|
finaloverridevirtual |
End of an athena event.
Store the output collection in SG at this point. If we are using a WriteHandle, then this can be empty!
Reimplemented from SensitiveDetectorBase.
|
protectedinherited |
Retrieve the current SD.
In AthenaMT, this means the thread-local SD. Otherwise, it is simply the single SD.
Definition at line 123 of file SensitiveDetectorBase.cxx.
|
finaloverrideinherited |
|
finaloverridevirtual |
Reimplemented from LArG4SDTool.
|
finaloverride |
|
inlinefinaloverrideprotectedinherited |
Definition at line 52 of file LArG4SDTool.h.
Helper function for matching strings with wildcards.
|
staticprivateinherited |
Match two strings with wildcard support.
Compares two strings character by character with optional * wildcard in the first argument
Definition at line 150 of file SensitiveDetectorBase.cxx.
|
privateinherited |
Set the current SD.
In hive, this gets assigned as the thread-local SD.
Definition at line 137 of file SensitiveDetectorBase.cxx.
|
protectedinherited |
Method stolen from G4VUserDetectorConstruction in G4 10.2.
Definition at line 177 of file SensitiveDetectorBase.cxx.
|
protectedinherited |
Method actually doing the work to assign all of these SDs FIXME: this argument type is nasty:
|
inlineoverridevirtualinherited |
Beginning of an athena event.
This is where collection initialization should happen. If we are using a WriteHandle, then this could be empty.
Reimplemented in MuonWallSDTool, AFP_SensitiveDetectorTool, AFP_SiDSensitiveDetectorTool, AFP_TDSensitiveDetectorTool, CaloCellContainerSDTool, and ALFA_SensitiveDetectorTool.
Definition at line 62 of file SensitiveDetectorBase.h.
|
inherited |
Overload of the above method for calib SDs.
|
inherited |
Helper method to pass the ID helper pointers to the SDs.
Definition at line 72 of file LArG4SDTool.h.
|
private |
Definition at line 64 of file TBECOuterModuleTool.h.
|
protectedinherited |
Are we set up to run with PID hits?
Definition at line 55 of file LArG4SDTool.h.
|
private |
Definition at line 56 of file TBECOuterModuleTool.h.
|
private |
Definition at line 55 of file TBECOuterModuleTool.h.
|
private |
Definition at line 50 of file TBECOuterModuleTool.h.
|
private |
Definition at line 52 of file TBECOuterModuleTool.h.
|
private |
Definition at line 51 of file TBECOuterModuleTool.h.
|
private |
Definition at line 53 of file TBECOuterModuleTool.h.
|
private |
Definition at line 54 of file TBECOuterModuleTool.h.
|
private |
Definition at line 61 of file TBECOuterModuleTool.h.
|
private |
Definition at line 63 of file TBECOuterModuleTool.h.
|
private |
Definition at line 62 of file TBECOuterModuleTool.h.
|
private |
Definition at line 59 of file TBECOuterModuleTool.h.
|
private |
Definition at line 60 of file TBECOuterModuleTool.h.
|
private |
Definition at line 47 of file TBECOuterModuleTool.h.
|
private |
Definition at line 44 of file TBECOuterModuleTool.h.
|
private |
Definition at line 45 of file TBECOuterModuleTool.h.
|
private |
Definition at line 46 of file TBECOuterModuleTool.h.
|
private |
Definition at line 42 of file TBECOuterModuleTool.h.
|
private |
Definition at line 43 of file TBECOuterModuleTool.h.
|
private |
Definition at line 48 of file TBECOuterModuleTool.h.
Pointers to the identifier helpers.
Definition at line 69 of file LArG4SDTool.h.
|
protectedinherited |
Definition at line 70 of file LArG4SDTool.h.
Definition at line 71 of file LArG4SDTool.h.
|
protectedinherited |
This SensitiveDetector has no volumes associated with it.
Definition at line 87 of file SensitiveDetectorBase.h.
|
protectedinherited |
Names of all output collections written out by this SD.
Definition at line 84 of file SensitiveDetectorBase.h.
|
private |
Definition at line 65 of file TBECOuterModuleTool.h.
|
privateinherited |
The sensitive detector to which this thing corresponds.
Definition at line 111 of file SensitiveDetectorBase.h.
|
protectedinherited |
What time binning type for regular hits?
Definition at line 57 of file LArG4SDTool.h.
|
protectedinherited |
What time bin width for regular hits?
Definition at line 59 of file LArG4SDTool.h.
|
protectedinherited |
Is there going to be a fast simulation coming into this SD?
Definition at line 61 of file LArG4SDTool.h.
|
protectedinherited |
All the volumes to which this SD is assigned.
Definition at line 82 of file SensitiveDetectorBase.h.