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
virtual void clearHits()
Definition: HFChamberSD.cc:109
virtual uint32_t setDetUnitId(G4Step *)
Definition: HFChamberSD.cc:111
virtual void fillHits(edm::PCaloHitContainer &, std::string)
Definition: HFChamberSD.cc:116
type of data representation of DDCompactView
Definition: DDCompactView.h:77
virtual void PrintAll()
Definition: HFChamberSD.cc:107
HFShowerG4HitsCollection * theHC
Definition: HFChamberSD.h:46
virtual void EndOfEvent(G4HCofThisEvent *HCE)
Definition: HFChamberSD.cc:95
virtual void DrawAll()
Definition: HFChamberSD.cc:105
std::string theName
Definition: HFChamberSD.h:42
G4int theHCID
Definition: HFChamberSD.h:45
HFChamberSD(std::string, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HFChamberSD.cc:16
const SimTrackManager * m_trackManager
Definition: HFChamberSD.h:43
virtual void clear()
Definition: HFChamberSD.cc:101
virtual void Initialize(G4HCofThisEvent *HCE)
Definition: HFChamberSD.cc:48
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:60
virtual ~HFChamberSD()
Definition: HFChamberSD.cc:44
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
Definition: HFChamberSD.cc:58