ATLAS Offline Software
LArG4TBECBeamChSensitiveDetector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // LArG4TBECBeamChSensitiveDetector.hh
6 #ifndef LARG4H6SD_LARG4TBECBEAMCHSENSITIVEDETECTOR_H
7 #define LARG4H6SD_LARG4TBECBEAMCHSENSITIVEDETECTOR_H
8 
9 #include "LArG4TBECBeamChHit.h"
10 
11 #include "G4VSensitiveDetector.hh"
12 
13 #include <set>
14 #include <vector>
15 
16 // Forward declarations.
17 class G4Step;
18 class G4HCofThisEvent;
19 class G4TouchableHistory;
21 
22 class LArG4TBECBeamChSensitiveDetector : public G4VSensitiveDetector
23 {
24 public:
27 
28  // The required functions for all sensitive detectors:
29  void Initialize(G4HCofThisEvent* HCE);
30  G4bool ProcessHits(G4Step* step, G4TouchableHistory* ROhist);
31  void EndOfEvent(G4HCofThisEvent* HCE);
32 
33  // Accessor method
35 
36 private:
37  // Pointer to a calculator class.
39 
40  // The name of the sensitive detector.
41  G4String m_detectorName;
42 
43  // The name associated the hit collection of this sensitive
44  // detector.
45  G4String m_HCname;
46 
47  public:
48  typedef std::vector< LArG4TBECBeamChHit*> m_Hit_t;
50  // Used to have static access, but I see no place in LXR where that's needed
52 
53  private:
56 };
57 
58 #endif // __LArG4TBECBeamChSensitiveDetector_H__
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
LArG4TBECBeamChSensitiveDetector::LArG4TBECBeamChSensitiveDetector
LArG4TBECBeamChSensitiveDetector(const G4String &name)
LArG4TBECBeamChSensitiveDetector::GetCalculator
LArG4TBECBeamChCalculator * GetCalculator()
Definition: LArG4TBECBeamChSensitiveDetector.h:34
LArG4TBECBeamChSensitiveDetector::EndOfEvent
void EndOfEvent(G4HCofThisEvent *HCE)
LArG4TBECBeamChSensitiveDetector::m_Hit_t
std::vector< LArG4TBECBeamChHit * > m_Hit_t
Definition: LArG4TBECBeamChSensitiveDetector.h:48
LArG4TBECBeamChSensitiveDetector::m_detectorName
G4String m_detectorName
Definition: LArG4TBECBeamChSensitiveDetector.h:41
LArG4TBECBeamChSensitiveDetector::m_HCname
G4String m_HCname
Definition: LArG4TBECBeamChSensitiveDetector.h:45
LArG4TBECBeamChSensitiveDetector::operator=
LArG4TBECBeamChSensitiveDetector & operator=(const LArG4TBECBeamChSensitiveDetector &)
LArG4TBECBeamChSensitiveDetector::m_calculator
LArG4TBECBeamChCalculator * m_calculator
Definition: LArG4TBECBeamChSensitiveDetector.h:38
LArG4TBECBeamChSensitiveDetector::LArG4TBECBeamChSensitiveDetector
LArG4TBECBeamChSensitiveDetector(const LArG4TBECBeamChSensitiveDetector &)
LArG4TBECBeamChHit.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArG4TBECBeamChSensitiveDetector::~LArG4TBECBeamChSensitiveDetector
~LArG4TBECBeamChSensitiveDetector()
LArG4TBECBeamChCalculator
Definition: LArG4TBECBeamChCalculator.h:14
LArG4TBECBeamChSensitiveDetector
Definition: LArG4TBECBeamChSensitiveDetector.h:23
LArG4TBECBeamChSensitiveDetector::m_Hit_pointer
m_Hit_t::iterator m_Hit_pointer
Definition: LArG4TBECBeamChSensitiveDetector.h:49
LArG4TBECBeamChSensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *step, G4TouchableHistory *ROhist)
LArG4TBECBeamChSensitiveDetector::m_Hits
m_Hit_t m_Hits
Definition: LArG4TBECBeamChSensitiveDetector.h:51
LArCellBinning.step
step
Definition: LArCellBinning.py:158
LArG4TBECBeamChSensitiveDetector::Initialize
void Initialize(G4HCofThisEvent *HCE)