CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalShapes.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalShapes_h
2 #define HcalSimAlgos_HcalShapes_h
3 
14 #include <map>
15 class CaloVShape;
16 class DetId;
17 class HcalMCParams;
18 class HcalTopology;
19 
20 class HcalShapes : public CaloShapes
21 {
22 public:
23  enum {HPD=101, LONG=102, ZECOTEK=201, HAMAMATSU=202, HF=301, ZDC=401};
24  HcalShapes();
25  ~HcalShapes();
26 
27  void beginRun(edm::EventSetup const & es);
28  void endRun();
29 
30  virtual const CaloVShape * shape(const DetId & detId) const;
31 
32 private:
33  // hardcoded, if we can't figure it out form the DB
34  const CaloVShape * defaultShape(const DetId & detId) const;
37  typedef std::map<int, const CaloVShape *> ShapeMap;
39  // HcalShape theHcalShape;
40  // HFShape theHFShape;
42  // HcalSiPMShape theSiPMShape;
43  // list of vShapes.
56 
57 };
58 
59 #endif
60 
const HcalMCParams * theMCParams
Definition: HcalShapes.h:35
shaper for ZDC
Definition: ZDCShape.h:16
HcalShape theHcalShape102
Definition: HcalShapes.h:45
Electronic response of the preamp.
Definition: CaloVShape.h:11
virtual const CaloVShape * shape(const DetId &detId) const
Definition: HcalShapes.cc:127
HcalShape theHcalShape125
Definition: HcalShapes.h:51
std::map< int, const CaloVShape * > ShapeMap
Definition: HcalShapes.h:37
HcalShape theHcalShape301
Definition: HcalShapes.h:54
shaper for Hcal (not for HF)
Definition: HcalShape.h:15
HcalShape theHcalShape101
Definition: HcalShapes.h:44
HcalShape theHcalShape124
Definition: HcalShapes.h:50
void endRun()
Definition: HcalShapes.cc:118
Definition: DetId.h:20
HcalShape theHcalShape103
Definition: HcalShapes.h:46
HcalShape theHcalShape105
Definition: HcalShapes.h:48
const HcalTopology * theTopology
Definition: HcalShapes.h:36
HcalShape theHcalShape201
Definition: HcalShapes.h:52
ZDCShape theZDCShape
Definition: HcalShapes.h:41
HcalShape theHcalShape104
Definition: HcalShapes.h:47
void beginRun(edm::EventSetup const &es)
Definition: HcalShapes.cc:103
const CaloVShape * defaultShape(const DetId &detId) const
Definition: HcalShapes.cc:156
HcalShape theHcalShape123
Definition: HcalShapes.h:49
HcalShape theHcalShape401
Definition: HcalShapes.h:55
HcalShape theHcalShape202
Definition: HcalShapes.h:53
ShapeMap theShapes
Definition: HcalShapes.h:38