CMS 3D CMS Logo

HGCSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HGCSD_h
2 #define SimG4CMS_HGCSD_h
3 // File: HGCSD.h
5 // Description: Stores hits of the High Granularity Calorimeter (HGC) in the
6 // appropriate container
8 
14 
15 #include "G4String.hh"
16 #include <map>
17 #include <string>
18 #include <TH1F.h>
19 
20 class DDCompactView;
21 class DDFilteredView;
22 class G4LogicalVolume;
23 class G4Material;
24 class G4Step;
25 
26 class HGCSD : public CaloSD, public Observer<const BeginOfJob *> {
27 
28 public:
29 
30  HGCSD(G4String , const DDCompactView &, const SensitiveDetectorCatalog &,
31  edm::ParameterSet const &, const SimTrackManager*);
32  virtual ~HGCSD();
33  virtual bool ProcessHits(G4Step * , G4TouchableHistory * );
34  virtual double getEnergyDeposit(G4Step* );
35  virtual uint32_t setDetUnitId(G4Step* step);
36 
37 protected:
38 
39  virtual void update(const BeginOfJob *);
40  virtual void initRun();
41  virtual bool filterHit(CaloG4Hit*, double);
42 
43 private:
44 
45  uint32_t setDetUnitId(ForwardSubdetector&, int, int, int, int, G4ThreeVector &);
46  bool isItinFidVolume (G4ThreeVector&) {return true;}
47  int setTrackID(G4Step * step);
48 
50 
54  G4int mumPDG, mupPDG;
55  double eminHit;
57  double slopeMin_;
58  int levelT_;
60  double mouseBiteCut_;
61  std::vector<double> angles_;
62 };
63 
64 #endif // HGCSD_h
virtual ~HGCSD()
Definition: HGCSD.cc:86
HGCSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HGCSD.cc:36
int levelT_
Definition: HGCSD.h:58
HGCNumberingScheme * numberingScheme
Definition: HGCSD.h:52
double mouseBiteCut_
Definition: HGCSD.h:60
Definition: CaloSD.h:42
virtual bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: HGCSD.cc:91
std::vector< double > angles_
Definition: HGCSD.h:61
virtual void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.
Definition: HGCSD.cc:197
ForwardSubdetector
type of data representation of DDCompactView
Definition: DDCompactView.h:90
bool waferRot_
Definition: HGCSD.h:59
G4int mupPDG
Definition: HGCSD.h:54
double eminHit
Definition: HGCSD.h:55
HGCalGeometryMode m_mode
Definition: HGCSD.h:51
double slopeMin_
Definition: HGCSD.h:57
virtual void initRun()
Definition: HGCSD.cc:221
bool isItinFidVolume(G4ThreeVector &)
Definition: HGCSD.h:46
HGCalGeometryMode
virtual double getEnergyDeposit(G4Step *)
Definition: HGCSD.cc:123
virtual bool filterHit(CaloG4Hit *, double)
Definition: HGCSD.cc:232
bool rejectMB_
Definition: HGCSD.h:59
std::string nameX
Definition: HGCSD.h:49
int setTrackID(G4Step *step)
Definition: HGCSD.cc:243
Definition: HGCSD.h:26
step
ForwardSubdetector myFwdSubdet_
Definition: HGCSD.h:56
virtual uint32_t setDetUnitId(G4Step *step)
Definition: HGCSD.cc:131
G4int mumPDG
Definition: HGCSD.h:54
HGCMouseBite * mouseBite_
Definition: HGCSD.h:53