CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Calorimeter.h
Go to the documentation of this file.
1 #ifndef FastSimulation_CalorimeterProperties_Calorimeter_h
2 #define FastSimulation_CalorimeterProperties_Calorimeter_h
3 
5 
8 class ECALProperties;
11 class HCALProperties;
16 class CaloTopology;
18 class EcalBarrelGeometry;
19 class EcalEndcapGeometry;
21 
22 namespace edm {
23  class ParameterSet;
24 }
25 
27  public:
28  Calorimeter();
29  Calorimeter(const edm::ParameterSet& caloParameters);
30  ~Calorimeter();
31 
32  // Setup the geometry
33  void setupGeometry(const CaloGeometry& pG);
34 
35  // Setup the topology
36  void setupTopology(const CaloTopology&);
37 
38 
40  const ECALProperties* ecalProperties(int onEcal) const;
41 
43  const HCALProperties* hcalProperties(int onHcal) const;
44 
46  const PreshowerLayer1Properties* layer1Properties(int onLayer1) const;
47 
49  const PreshowerLayer2Properties* layer2Properties(int onLayer2) const;
50 
52 
54 
56 
57  inline const CaloSubdetectorGeometry * getHcalGeometry() const {return HcalGeometry_;}
58 
59  const CaloSubdetectorGeometry * getEcalGeometry(int subdetn) const;
60 
61  const CaloSubdetectorTopology * getEcalTopology(int subdetn) const;
62 
63 
64 
65  protected:
66 
67  //Calorimeter properties
75 
76  // The subdetectors geometry
81 
82  // The ECAL topologies
85 
86 };
87 
88 #endif
const ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
Definition: Calorimeter.cc:73
void setupTopology(const CaloTopology &)
Definition: Calorimeter.cc:125
const EcalEndcapGeometry * EcalEndcapGeometry_
Definition: Calorimeter.h:78
HCALForwardProperties * myHCALForwardProperties_
Definition: Calorimeter.h:74
PreshowerLayer2Properties * myPreshowerLayer2Properties_
Definition: Calorimeter.h:69
const EcalPreshowerGeometry * getEcalPreshowerGeometry() const
Definition: Calorimeter.h:55
const EcalPreshowerGeometry * PreshowerGeometry_
Definition: Calorimeter.h:80
const CaloSubdetectorGeometry * getHcalGeometry() const
Definition: Calorimeter.h:57
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
Definition: Calorimeter.cc:100
const CaloSubdetectorTopology * EcalEndcapTopology_
Definition: Calorimeter.h:84
ECALEndcapProperties * myECALEndcapProperties_
Definition: Calorimeter.h:71
HCALBarrelProperties * myHCALBarrelProperties_
Definition: Calorimeter.h:72
const CaloSubdetectorGeometry * getEcalGeometry(int subdetn) const
Definition: Calorimeter.cc:133
const PreshowerLayer2Properties * layer2Properties(int onLayer2) const
Preshower Layer2 properties.
Definition: Calorimeter.cc:108
const HCALProperties * hcalProperties(int onHcal) const
HCAL properties.
Definition: Calorimeter.cc:84
const EcalBarrelGeometry * EcalBarrelGeometry_
Definition: Calorimeter.h:77
const CaloSubdetectorTopology * getEcalTopology(int subdetn) const
Definition: Calorimeter.cc:142
const EcalBarrelGeometry * getEcalBarrelGeometry() const
Definition: Calorimeter.h:51
void setupGeometry(const CaloGeometry &pG)
Definition: Calorimeter.cc:115
const CaloSubdetectorGeometry * HcalGeometry_
Definition: Calorimeter.h:79
ECALBarrelProperties * myECALBarrelProperties_
Definition: Calorimeter.h:70
const CaloSubdetectorTopology * EcalBarrelTopology_
Definition: Calorimeter.h:83
const EcalEndcapGeometry * getEcalEndcapGeometry() const
Definition: Calorimeter.h:53
PreshowerLayer1Properties * myPreshowerLayer1Properties_
Definition: Calorimeter.h:68
HCALEndcapProperties * myHCALEndcapProperties_
Definition: Calorimeter.h:73