Calibration
Tools
interface
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
8
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
9
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
10
#include <vector>
11
#include <map>
12
13
class
CalibrationCluster
{
14
public
:
15
typedef
std::map<EBDetId, unsigned int>
CalibMap
;
16
typedef
CalibMap::value_type
pippo
;
17
18
CalibrationCluster
();
19
~CalibrationCluster
();
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
;
30
CalibMap
calibRegion
;
31
};
32
33
#endif
EBDetId
Definition:
EBDetId.h:17
CalibrationCluster::Xtals5x5
std::vector< EBDetId > Xtals5x5
Definition:
CalibrationCluster.h:27
edm::SortedCollection< EcalRecHit >
CalibrationCluster::pippo
CalibMap::value_type pippo
Definition:
CalibrationCluster.h:16
CalibrationCluster::Xtals3x3
std::vector< EBDetId > Xtals3x3
Definition:
CalibrationCluster.h:28
EcalRecHitCollections.h
CalibrationCluster::getMap
CalibMap getMap(int, int, int, int)
Definition:
CalibrationCluster.cc:69
CalibrationCluster::CalibMap
std::map< EBDetId, unsigned int > CalibMap
Definition:
CalibrationCluster.h:15
CalibrationCluster::~CalibrationCluster
~CalibrationCluster()
Definition:
CalibrationCluster.cc:9
reco::JetExtendedAssociation::value_type
Container::value_type value_type
Definition:
JetExtendedAssociation.h:30
CalibrationCluster::calibRegion
CalibMap calibRegion
Definition:
CalibrationCluster.h:30
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::CalibrationCluster
CalibrationCluster()
Definition:
CalibrationCluster.cc:7
CalibrationCluster::get3x3Id
std::vector< EBDetId > get3x3Id(EBDetId const &)
Definition:
CalibrationCluster.cc:50
EBDetId.h
CalibrationCluster::get5x5Id
std::vector< EBDetId > get5x5Id(EBDetId const &)
Definition:
CalibrationCluster.cc:13
CalibrationCluster
Definition:
CalibrationCluster.h:13
Generated for CMSSW Reference Manual by
1.8.14