CMS 3D CMS Logo

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 
26 class Calorimeter {
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 
39  const ECALProperties* ecalProperties(int onEcal) const;
40 
42  const HCALProperties* hcalProperties(int onHcal) const;
43 
45  const PreshowerLayer1Properties* layer1Properties(int onLayer1) const;
46 
48  const PreshowerLayer2Properties* layer2Properties(int onLayer2) const;
49 
51 
53 
55 
56  inline const CaloSubdetectorGeometry* getHcalGeometry() const { return HcalGeometry_; }
57 
58  const CaloSubdetectorGeometry* getEcalGeometry(int subdetn) const;
59 
60  const CaloSubdetectorTopology* getEcalTopology(int subdetn) const;
61 
62 protected:
63  //Calorimeter properties
71 
72  // The subdetectors geometry
77 
78  // The ECAL topologies
81 };
82 
83 #endif
Calorimeter::EcalEndcapGeometry_
const EcalEndcapGeometry * EcalEndcapGeometry_
Definition: Calorimeter.h:74
Calorimeter::myPreshowerLayer2Properties_
PreshowerLayer2Properties * myPreshowerLayer2Properties_
Definition: Calorimeter.h:65
Calorimeter::Calorimeter
Calorimeter()
Definition: Calorimeter.cc:22
Calorimeter::hcalProperties
const HCALProperties * hcalProperties(int onHcal) const
HCAL properties.
Definition: Calorimeter.cc:88
Calorimeter::setupTopology
void setupTopology(const CaloTopology &)
Definition: Calorimeter.cc:127
EcalEndcapGeometry
Definition: EcalEndcapGeometry.h:20
Calorimeter::myPreshowerLayer1Properties_
PreshowerLayer1Properties * myPreshowerLayer1Properties_
Definition: Calorimeter.h:64
Calorimeter::ecalProperties
const ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
Definition: Calorimeter.cc:78
Calorimeter::EcalEndcapTopology_
const CaloSubdetectorTopology * EcalEndcapTopology_
Definition: Calorimeter.h:80
Calorimeter::myHCALForwardProperties_
HCALForwardProperties * myHCALForwardProperties_
Definition: Calorimeter.h:70
Calorimeter::layer2Properties
const PreshowerLayer2Properties * layer2Properties(int onLayer2) const
Preshower Layer2 properties.
Definition: Calorimeter.cc:110
edm
HLT enums.
Definition: AlignableModifier.h:19
Calorimeter::myECALEndcapProperties_
ECALEndcapProperties * myECALEndcapProperties_
Definition: Calorimeter.h:67
PreshowerLayer2Properties
Definition: PreshowerLayer2Properties.h:19
HCALBarrelProperties
Definition: HCALBarrelProperties.h:21
Calorimeter::layer1Properties
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
Definition: Calorimeter.cc:103
HCALEndcapProperties
Definition: HCALEndcapProperties.h:17
Calorimeter::PreshowerGeometry_
const EcalPreshowerGeometry * PreshowerGeometry_
Definition: Calorimeter.h:76
CaloTopology
Definition: CaloTopology.h:19
Calorimeter::getEcalEndcapGeometry
const EcalEndcapGeometry * getEcalEndcapGeometry() const
Definition: Calorimeter.h:52
CaloGeometry
Definition: CaloGeometry.h:21
Calorimeter
Definition: Calorimeter.h:26
EcalPreshowerGeometry
Definition: EcalPreshowerGeometry.h:15
ECALProperties
Definition: ECALProperties.h:15
Calorimeter::setupGeometry
void setupGeometry(const CaloGeometry &pG)
Definition: Calorimeter.cc:117
Calorimeter::myHCALBarrelProperties_
HCALBarrelProperties * myHCALBarrelProperties_
Definition: Calorimeter.h:68
HCALForwardProperties
Definition: HCALForwardProperties.h:21
Calorimeter::getEcalTopology
const CaloSubdetectorTopology * getEcalTopology(int subdetn) const
Definition: Calorimeter.cc:143
edm::ParameterSet
Definition: ParameterSet.h:47
Calorimeter::getEcalBarrelGeometry
const EcalBarrelGeometry * getEcalBarrelGeometry() const
Definition: Calorimeter.h:50
ParameterSet
Definition: Functions.h:16
EcalBarrelGeometry
Definition: EcalBarrelGeometry.h:19
Calorimeter::~Calorimeter
~Calorimeter()
Definition: Calorimeter.cc:61
Calorimeter::getHcalGeometry
const CaloSubdetectorGeometry * getHcalGeometry() const
Definition: Calorimeter.h:56
PreshowerLayer1Properties
Definition: PreshowerLayer1Properties.h:19
CaloSubdetectorTopology
Definition: CaloSubdetectorTopology.h:17
Calorimeter::HcalGeometry_
const CaloSubdetectorGeometry * HcalGeometry_
Definition: Calorimeter.h:75
Calorimeter::EcalBarrelGeometry_
const EcalBarrelGeometry * EcalBarrelGeometry_
Definition: Calorimeter.h:73
Calorimeter::myECALBarrelProperties_
ECALBarrelProperties * myECALBarrelProperties_
Definition: Calorimeter.h:66
HCALProperties
Definition: HCALProperties.h:21
CaloGeometry.h
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
Calorimeter::getEcalPreshowerGeometry
const EcalPreshowerGeometry * getEcalPreshowerGeometry() const
Definition: Calorimeter.h:54
Calorimeter::EcalBarrelTopology_
const CaloSubdetectorTopology * EcalBarrelTopology_
Definition: Calorimeter.h:79
ECALEndcapProperties
Definition: ECALEndcapProperties.h:19
Calorimeter::myHCALEndcapProperties_
HCALEndcapProperties * myHCALEndcapProperties_
Definition: Calorimeter.h:69
Calorimeter::getEcalGeometry
const CaloSubdetectorGeometry * getEcalGeometry(int subdetn) const
Definition: Calorimeter.cc:132
ECALBarrelProperties
Definition: ECALBarrelProperties.h:18