ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
19
20#include <map>
21
22class LArG4H6WarmTCSD : public G4VSensitiveDetector
23{
24public:
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
40private:
41
42 bool m_isX;
43 bool m_isABS;
45 std::map<int,LArG4H6WarmTCHit*> m_hits;
46 typedef std::map<int,LArG4H6WarmTCHit*>::iterator hitIt;
47 typedef std::map<int,LArG4H6WarmTCHit*>::value_type hitPair;
48
51};
52
53#endif
Handle class for recording to StoreGate.
A specialized SD class for saving LAr calibration hits.
LArG4CalibSD * m_CalibSD
std::map< int, LArG4H6WarmTCHit * >::iterator hitIt
SG::WriteHandle< LArG4H6WarmTCHitCollection > m_Collection
LArG4H6WarmTCSD(const G4String &name, const G4String &colname)
void EndOfAthenaEvent()
std::map< int, LArG4H6WarmTCHit * >::value_type hitPair
void Initialize(G4HCofThisEvent *)
std::map< int, LArG4H6WarmTCHit * > m_hits
G4bool ProcessHits(G4Step *, G4TouchableHistory *)