ATLAS Offline Software
TrackRecorderSDTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /****************************************************************
6  Track Recorder Sensitive Detector Tool
7  ****************************************************************/
8 
9 #ifndef TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
10 #define TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
11 
12 // Base class
14 
15 // STL headers
16 #include <string>
17 
18 class G4VSensitiveDetector;
19 
20 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
21 
23 {
24  public:
25  // Constructor
26  TrackRecorderSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27 
28  // Destructor
29  ~TrackRecorderSDTool() { /* If all goes well we do not own myHitColl here */ }
30 
31 protected:
32  // Make me an SD!
33  G4VSensitiveDetector* makeSD() const override final;
34 
35  int m_SD_type; //TrackRecorderSD=1, CosmicTRSD=2
36 };
37 
38 #endif //TRACKWRITEFASTSIM_TRACKRECORDERSDTOOL_H
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
TrackRecorderSDTool::TrackRecorderSDTool
TrackRecorderSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrackRecorderSDTool.cxx:16
TrackRecorderSDTool::~TrackRecorderSDTool
~TrackRecorderSDTool()
Definition: TrackRecorderSDTool.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrackRecorderSDTool
Definition: TrackRecorderSDTool.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SensitiveDetectorBase.h
TrackRecorderSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: TrackRecorderSDTool.cxx:25
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrackRecorderSDTool::m_SD_type
int m_SD_type
Definition: TrackRecorderSDTool.h:35