![]() |
ATLAS Offline Software
|
#include <TileGeoG4CalibSDTool.h>
Public Member Functions | |
| TileGeoG4CalibSDTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor. | |
| virtual StatusCode | initialize () override final |
| Default constructor is fine. | |
| virtual StatusCode | SetupEvent (HitCollectionMap &) override final |
| Beginning of an athena event. | |
| virtual StatusCode | Gather (HitCollectionMap &) override final |
| End of an athena event. | |
| StatusCode | initializeSD () override |
| Setup an SD in the current thread. | |
Protected Member Functions | |
| virtual G4VSensitiveDetector * | makeSD () const override final |
| Make me an SD! | |
| StatusCode | assignSD (std::unique_ptr< G4VSensitiveDetector > sd, const std::vector< std::string > &volumes) const |
| Assign SD to a list of volumes. | |
| void | SetSensitiveDetector (G4LogicalVolume *, G4VSensitiveDetector *) const |
| Method stolen from G4VUserDetectorConstruction in G4 10.2. | |
Protected Attributes | |
| Gaudi::Property< std::vector< std::string > > | m_volumeNames {this, "LogicalVolumeNames", {}} |
| All the volumes to which this SD is assigned. | |
| Gaudi::Property< std::vector< std::string > > | m_outputCollectionNames {this, "OutputCollectionNames", {}} |
| Names of all output collections written out by this SD. | |
| Gaudi::Property< bool > | m_noVolumes {this, "NoVolumes", false} |
| This SensitiveDetector has no volumes associated with it. | |
Static Private Member Functions | |
| static bool | matchStrings (const char *first, const char *second) |
| Match two strings with wildcard support. | |
Private Attributes | |
| ServiceHandle< ITileCalculator > | m_tileCalculator {this, "TileCalculator", "TileGeoG4SDCalc"} |
| Calculator Service. | |
| std::string | m_tileHits {} |
| std::string | m_tileActiveCellCalibHits {} |
| std::string | m_tileInactiveCellCalibHits {} |
| std::string | m_tileDeadMaterialCalibHits {} |
Definition at line 25 of file TileGeoG4CalibSDTool.h.
| TileGeoG4CalibSDTool::TileGeoG4CalibSDTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
|
protectedinherited |
Assign SD to a list of volumes.
This method supports wild card matching
Definition at line 55 of file SensitiveDetectorBase.cxx.
|
finaloverridevirtual |
End of an athena event.
Reimplemented from SensitiveDetectorBase.
|
finaloverridevirtual |
Default constructor is fine.
|
overrideinherited |
Setup an SD in the current thread.
Separate from the AthAlgTool initialize() method because it needs to be called once per worker thread in AthenaMT. Don't confuse this with the G4 SD method Initialize which is called at the beginning of every G4 event.
Definition at line 25 of file SensitiveDetectorBase.cxx.
|
finaloverrideprotectedvirtual |
Make me an SD!
|
staticprivateinherited |
Match two strings with wildcard support.
Compares two strings character by character with optional * wildcard in the first argument
Definition at line 115 of file SensitiveDetectorBase.cxx.
|
protectedinherited |
Method stolen from G4VUserDetectorConstruction in G4 10.2.
Definition at line 142 of file SensitiveDetectorBase.cxx.
|
finaloverridevirtual |
Beginning of an athena event.
This is where collection initialization should happen. If we are using a WriteHandle, then this could be empty.
Reimplemented from SensitiveDetectorBase.
|
protectedinherited |
This SensitiveDetector has no volumes associated with it.
Definition at line 83 of file SensitiveDetectorBase.h.
|
protectedinherited |
Names of all output collections written out by this SD.
Definition at line 80 of file SensitiveDetectorBase.h.
|
private |
Definition at line 48 of file TileGeoG4CalibSDTool.h.
|
private |
Calculator Service.
Definition at line 45 of file TileGeoG4CalibSDTool.h.
|
private |
Definition at line 50 of file TileGeoG4CalibSDTool.h.
|
private |
Definition at line 47 of file TileGeoG4CalibSDTool.h.
|
private |
Definition at line 49 of file TileGeoG4CalibSDTool.h.
|
protectedinherited |
All the volumes to which this SD is assigned.
Definition at line 78 of file SensitiveDetectorBase.h.