test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
53  G4int mumPDG, mupPDG;
54  double eminHit;
56 };
57 
58 #endif // HGCSD_h
virtual ~HGCSD()
Definition: HGCSD.cc:73
HGCSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HGCSD.cc:34
HGCNumberingScheme * numberingScheme
Definition: HGCSD.h:52
Definition: CaloSD.h:42
virtual bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: HGCSD.cc:77
virtual void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.
Definition: HGCSD.cc:136
ForwardSubdetector
type of data representation of DDCompactView
Definition: DDCompactView.h:77
G4int mupPDG
Definition: HGCSD.h:53
double eminHit
Definition: HGCSD.h:54
HGCalGeometryMode m_mode
Definition: HGCSD.h:51
virtual void initRun()
Definition: HGCSD.cc:151
bool isItinFidVolume(G4ThreeVector &)
Definition: HGCSD.h:46
HGCalGeometryMode
virtual double getEnergyDeposit(G4Step *)
Definition: HGCSD.cc:102
virtual bool filterHit(CaloG4Hit *, double)
Definition: HGCSD.cc:162
std::string nameX
Definition: HGCSD.h:49
int setTrackID(G4Step *step)
Definition: HGCSD.cc:174
Definition: HGCSD.h:26
ForwardSubdetector myFwdSubdet_
Definition: HGCSD.h:55
virtual uint32_t setDetUnitId(G4Step *step)
Definition: HGCSD.cc:107
G4int mumPDG
Definition: HGCSD.h:53