CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorSD.h
Go to the documentation of this file.
1 #ifndef Forward_CastorSD_h
2 #define Forward_CastorSD_h
3 // -*- C++ -*-
4 //
5 // Package: Forward
6 // Class : CastorSD
7 //
16 //
17 // Original Author:
18 // Created: Tue May 16 10:14:34 CEST 2006
19 
20 // system include files
21 
22 // user include files
23 
28 #include "G4LogicalVolume.hh"
29 
30 class CastorSD : public CaloSD {
31 
32 public:
33 
34  CastorSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog & clg,
35  edm::ParameterSet const &, const SimTrackManager*);
36  virtual ~CastorSD();
37  virtual double getEnergyDeposit(G4Step* );
38  virtual uint32_t setDetUnitId(G4Step* step);
40 
41 private:
42 
43  void getFromLibrary(G4Step*);
44  int setTrackID(G4Step*);
45  uint32_t rotateUnitID(uint32_t, G4Track*, const CastorShowerEvent&);
48  G4LogicalVolume *lvC3EF, *lvC3HF, *lvC4EF, *lvC4HF;
49  G4LogicalVolume *lvCAST; // Pointer for CAST sensitive volume (SL trigger)
50 
54 
55 protected:
56 
57  virtual void initRun();
58 
59 };
60 
61 #endif // CastorSD_h
Definition: CaloSD.h:42
virtual double getEnergyDeposit(G4Step *)
Definition: CastorSD.cc:95
virtual void initRun()
Definition: CastorSD.cc:84
double non_compensation_factor
Definition: CastorSD.h:53
CastorNumberingScheme * numberingScheme
Definition: CastorSD.h:46
bool useShowerLibrary
Definition: CastorSD.h:51
uint32_t rotateUnitID(uint32_t, G4Track *, const CastorShowerEvent &)
Definition: CastorSD.cc:550
type of data representation of DDCompactView
Definition: DDCompactView.h:77
void getFromLibrary(G4Step *)
Definition: CastorSD.cc:615
G4LogicalVolume * lvC4HF
Definition: CastorSD.h:48
int setTrackID(G4Step *)
Definition: CastorSD.cc:527
G4LogicalVolume * lvC3HF
Definition: CastorSD.h:48
double energyThresholdSL
Definition: CastorSD.h:52
virtual ~CastorSD()
Definition: CastorSD.cc:78
G4LogicalVolume * lvC4EF
Definition: CastorSD.h:48
CastorSD(G4String, const DDCompactView &, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &, const SimTrackManager *)
Definition: CastorSD.cc:31
G4LogicalVolume * lvCAST
Definition: CastorSD.h:49
CastorShowerLibrary * showerLibrary
Definition: CastorSD.h:47
virtual uint32_t setDetUnitId(G4Step *step)
Definition: CastorSD.cc:509
void setNumberingScheme(CastorNumberingScheme *scheme)
Definition: CastorSD.cc:515
G4LogicalVolume * lvC3EF
Definition: CastorSD.h:48