ATLAS Offline Software
LArG4H6WarmTCSD.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 // LArG4H6WarmTCSD.h
6 
7 #ifndef __LArG4H6WarmTCSD_H__
8 #define __LArG4H6WarmTCSD_H__
9 
10 // Base class
11 #include "G4VSensitiveDetector.hh"
12 
13 // Hit collections
14 #include "StoreGate/WriteHandle.h"
17 
18 #include "LArG4Code/LArG4CalibSD.h"
19 
20 #include <map>
21 
22 class LArG4H6WarmTCSD : public G4VSensitiveDetector
23 {
24 public:
25 
26  // Constructor and destructor.
27  LArG4H6WarmTCSD(const G4String& name, const G4String& colname);
29 
30  void Initialize(G4HCofThisEvent*);
31  G4bool ProcessHits(G4Step*,G4TouchableHistory*);
33  void clear(){};
34  void DrawAll(){};
35  void PrintAll(){};
36 
37 // Probably not needed any more
38 // inline LArG4H6WarmTCHitCollection* GetColl(){ return m_Collection;}
39 
40 private:
41 
42  bool m_isX;
43  bool m_isABS;
44  bool m_isCalib;
45  std::map<int,LArG4H6WarmTCHit*> m_hits;
47  typedef std::map<int,LArG4H6WarmTCHit*>::value_type hitPair;
48 
51 };
52 
53 #endif
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
LArG4H6WarmTCHit.h
LArG4H6WarmTCHitCollection.h
LArG4H6WarmTCSD::m_CalibSD
LArG4CalibSD * m_CalibSD
Definition: LArG4H6WarmTCSD.h:50
LArG4H6WarmTCSD::PrintAll
void PrintAll()
Definition: LArG4H6WarmTCSD.h:35
LArG4H6WarmTCSD::m_Collection
SG::WriteHandle< LArG4H6WarmTCHitCollection > m_Collection
Definition: LArG4H6WarmTCSD.h:49
LArG4H6WarmTCSD::DrawAll
void DrawAll()
Definition: LArG4H6WarmTCSD.h:34
LArG4H6WarmTCSD::~LArG4H6WarmTCSD
~LArG4H6WarmTCSD()
Definition: LArG4H6WarmTCSD.h:28
LArG4H6WarmTCSD
Definition: LArG4H6WarmTCSD.h:23
LArG4H6WarmTCSD::ProcessHits
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
LArG4H6WarmTCSD::hitIt
std::map< int, LArG4H6WarmTCHit * >::iterator hitIt
Definition: LArG4H6WarmTCSD.h:46
LArG4CalibSD.h
WriteHandle.h
Handle class for recording to StoreGate.
LArG4CalibSD
A specialized SD class for saving LAr calibration hits.
Definition: LArG4CalibSD.h:38
LArG4H6WarmTCSD::m_isCalib
bool m_isCalib
Definition: LArG4H6WarmTCSD.h:44
LArG4H6WarmTCSD::LArG4H6WarmTCSD
LArG4H6WarmTCSD(const G4String &name, const G4String &colname)
LArG4H6WarmTCSD::EndOfAthenaEvent
void EndOfAthenaEvent()
LArG4H6WarmTCSD::m_hits
std::map< int, LArG4H6WarmTCHit * > m_hits
Definition: LArG4H6WarmTCSD.h:45
LArG4H6WarmTCSD::clear
void clear()
Definition: LArG4H6WarmTCSD.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArG4H6WarmTCSD::m_isABS
bool m_isABS
Definition: LArG4H6WarmTCSD.h:43
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
LArG4H6WarmTCSD::Initialize
void Initialize(G4HCofThisEvent *)
LArG4H6WarmTCSD::hitPair
std::map< int, LArG4H6WarmTCHit * >::value_type hitPair
Definition: LArG4H6WarmTCSD.h:47
LArG4H6WarmTCSD::m_isX
bool m_isX
Definition: LArG4H6WarmTCSD.h:35