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