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 
19 class HcalShapes : public CaloShapes
20 {
21 public:
22  enum {HPD=101, LONG=102, ZECOTEK=201, HAMAMATSU=202, HF=301, ZDC=401};
23  HcalShapes();
24  ~HcalShapes();
25 
26  void beginRun(edm::EventSetup const & es);
27  void endRun();
28 
29  virtual const CaloVShape * shape(const DetId & detId) const;
30 
31 private:
32  // hardcoded, if we can't figure it out form the DB
33  const CaloVShape * defaultShape(const DetId & detId) const;
35  typedef std::map<int, const CaloVShape *> ShapeMap;
37  // HcalShape theHcalShape;
38  // HFShape theHFShape;
40  // HcalSiPMShape theSiPMShape;
41  // list of vShapes.
54 
55 };
56 
57 #endif
58 
const HcalMCParams * theMCParams
Definition: HcalShapes.h:34
shaper for ZDC
Definition: ZDCShape.h:16
HcalShape theHcalShape102
Definition: HcalShapes.h:43
Electronic response of the preamp.
Definition: CaloVShape.h:11
virtual const CaloVShape * shape(const DetId &detId) const
Definition: HcalShapes.cc:114
HcalShape theHcalShape125
Definition: HcalShapes.h:49
std::map< int, const CaloVShape * > ShapeMap
Definition: HcalShapes.h:35
HcalShape theHcalShape301
Definition: HcalShapes.h:52
shaper for Hcal (not for HF)
Definition: HcalShape.h:15
HcalShape theHcalShape101
Definition: HcalShapes.h:42
HcalShape theHcalShape124
Definition: HcalShapes.h:48
void endRun()
Definition: HcalShapes.cc:107
Definition: DetId.h:20
HcalShape theHcalShape103
Definition: HcalShapes.h:44
HcalShape theHcalShape105
Definition: HcalShapes.h:46
HcalShape theHcalShape201
Definition: HcalShapes.h:50
ZDCShape theZDCShape
Definition: HcalShapes.h:39
HcalShape theHcalShape104
Definition: HcalShapes.h:45
void beginRun(edm::EventSetup const &es)
Definition: HcalShapes.cc:99
const CaloVShape * defaultShape(const DetId &detId) const
Definition: HcalShapes.cc:143
HcalShape theHcalShape123
Definition: HcalShapes.h:47
HcalShape theHcalShape401
Definition: HcalShapes.h:53
HcalShape theHcalShape202
Definition: HcalShapes.h:51
ShapeMap theShapes
Definition: HcalShapes.h:36