test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HFChamberSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_ShowerLibraryProducer_HFChamberSD_h
2 #define SimG4CMS_ShowerLibraryProducer_HFChamberSD_h
3 
6 
9 
10 #include "G4Track.hh"
11 
12 #include <iostream>
13 #include <fstream>
14 #include <vector>
15 
16 class G4Step;
17 class G4HCofThisEvent;
18 
20 
21 public:
22 
24  edm::ParameterSet const &, const SimTrackManager*);
25  virtual ~HFChamberSD();
26 
27  virtual void Initialize(G4HCofThisEvent*HCE);
28  virtual G4bool ProcessHits(G4Step* aStep,G4TouchableHistory* ROhist);
29  virtual void EndOfEvent(G4HCofThisEvent* HCE);
30  virtual void clear();
31  virtual void DrawAll();
32  virtual void PrintAll();
33 
34 protected:
35 
36  virtual void clearHits();
37  virtual uint32_t setDetUnitId(G4Step*);
39 
40 private:
41 
44 
45  G4int theHCID;
47  int theNSteps;
48 };
49 
50 #endif
51 
std::vector< PCaloHit > PCaloHitContainer
HFChamberSD(std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HFChamberSD.cc:19
virtual void clearHits()
Definition: HFChamberSD.cc:112
virtual uint32_t setDetUnitId(G4Step *)
Definition: HFChamberSD.cc:114
virtual void fillHits(edm::PCaloHitContainer &, std::string)
Definition: HFChamberSD.cc:119
type of data representation of DDCompactView
Definition: DDCompactView.h:77
virtual void PrintAll()
Definition: HFChamberSD.cc:110
HFShowerG4HitsCollection * theHC
Definition: HFChamberSD.h:46
virtual void EndOfEvent(G4HCofThisEvent *HCE)
Definition: HFChamberSD.cc:98
virtual void DrawAll()
Definition: HFChamberSD.cc:108
std::string theName
Definition: HFChamberSD.h:42
G4int theHCID
Definition: HFChamberSD.h:45
const SimTrackManager * m_trackManager
Definition: HFChamberSD.h:43
virtual void clear()
Definition: HFChamberSD.cc:104
virtual void Initialize(G4HCofThisEvent *HCE)
Definition: HFChamberSD.cc:51
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:60
virtual ~HFChamberSD()
Definition: HFChamberSD.cc:47
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
Definition: HFChamberSD.cc:61