CMS 3D CMS Logo

CalibrationCluster.h
Go to the documentation of this file.
1 #ifndef CALIBRATION_CLUSTER
2 #define CALIBRATION_CLUSTER
3 //
4 // Owns map to be calibrated and calibration clusters
5 //
6 // Author: Lorenzo AGOSTINO
7 
10 #include <vector>
11 #include <map>
12 
14 public:
15  typedef std::map<EBDetId, unsigned int> CalibMap;
17 
20 
21  CalibMap getMap(int, int, int, int);
22  std::vector<EBDetId> get5x5Id(EBDetId const &);
23  std::vector<EBDetId> get3x3Id(EBDetId const &);
24  std::vector<float> getEnergyVector(const EBRecHitCollection *, CalibMap &, std::vector<EBDetId> &, float &, int &);
25 
26 private:
27  std::vector<EBDetId> Xtals5x5;
28  std::vector<EBDetId> Xtals3x3;
29  std::vector<float> energyVector;
31 };
32 
33 #endif
CalibrationCluster
Definition: CalibrationCluster.h:13
EBDetId
Definition: EBDetId.h:17
EBDetId.h
edm::SortedCollection< EcalRecHit >
CalibrationCluster::Xtals5x5
std::vector< EBDetId > Xtals5x5
Definition: CalibrationCluster.h:27
EcalRecHitCollections.h
CalibrationCluster::get5x5Id
std::vector< EBDetId > get5x5Id(EBDetId const &)
Definition: CalibrationCluster.cc:13
CalibrationCluster::getMap
CalibMap getMap(int, int, int, int)
Definition: CalibrationCluster.cc:69
CalibrationCluster::CalibrationCluster
CalibrationCluster()
Definition: CalibrationCluster.cc:7
CalibrationCluster::get3x3Id
std::vector< EBDetId > get3x3Id(EBDetId const &)
Definition: CalibrationCluster.cc:50
CalibrationCluster::pippo
CalibMap::value_type pippo
Definition: CalibrationCluster.h:16
reco::JetExtendedAssociation::value_type
Container::value_type value_type
Definition: JetExtendedAssociation.h:30
CalibrationCluster::Xtals3x3
std::vector< EBDetId > Xtals3x3
Definition: CalibrationCluster.h:28
CalibrationCluster::energyVector
std::vector< float > energyVector
Definition: CalibrationCluster.h:29
CalibrationCluster::getEnergyVector
std::vector< float > getEnergyVector(const EBRecHitCollection *, CalibMap &, std::vector< EBDetId > &, float &, int &)
Definition: CalibrationCluster.cc:91
CalibrationCluster::CalibMap
std::map< EBDetId, unsigned int > CalibMap
Definition: CalibrationCluster.h:15
CalibrationCluster::~CalibrationCluster
~CalibrationCluster()
Definition: CalibrationCluster.cc:9
CalibrationCluster::calibRegion
CalibMap calibRegion
Definition: CalibrationCluster.h:30