CMS 3D CMS Logo

ZeeCalibration.h
Go to the documentation of this file.
1 #ifndef CALIBRATION_ECALCALIBALGOS_ZEECALIBRATION
2 #define CALIBRATION_ECALCALIBALGOS_ZEECALIBRATION
3 
4 // -*- C++ -*-
5 //
6 // Package: ZeeCalibration
7 // Class: ZeeCalibration
8 //
16 //
17 //
18 //
19 
20 // system include files
21 #include <memory>
22 #include <vector>
23 #include <map>
24 
25 // user include files
35 
38 
41 
44 
47 
48 #include "TTree.h"
49 #include "TFile.h"
50 #include "TGraph.h"
51 #include "TGraphErrors.h"
52 #include "TH1.h"
53 #include "TH2.h"
54 
60 
64 
65 #include <vector>
66 #include <string>
67 
68 // class declaration
69 //
70 
72 public:
74  ZeeCalibration(const edm::ParameterSet& iConfig);
75 
77  ~ZeeCalibration() override;
78 
80  virtual void produce(edm::Event&, const edm::EventSetup&){};
81 
83  void beginOfJob() override;
84 
86  void endOfJob() override;
87 
89  void startingNewLoop(unsigned int iLoop) override;
90 
92  Status endOfLoop(const edm::EventSetup&, unsigned int iLoop) override;
93 
95  Status duringLoop(const edm::Event&, const edm::EventSetup&) override;
96 
98  virtual std::shared_ptr<EcalIntercalibConstants> produceEcalIntercalibConstants(
99  const EcalIntercalibConstantsRcd& iRecord);
100 
101 private:
102  /* ElectronEnergyCorrector myCorrector; */
103  /* ElectronClassification myClassificator; */
104 
105  double fEtaBarrelBad(double scEta) const;
106  double fEtaBarrelGood(double scEta) const;
107  double fEtaEndcapBad(double scEta) const;
108  double fEtaEndcapGood(double scEta) const;
109 
110  int ringNumberCorrector(int k);
111  double getEtaCorrection(const reco::GsfElectron*);
112 
113  void fillEleInfo(std::vector<HepMC::GenParticle*>& a, std::map<HepMC::GenParticle*, const reco::GsfElectron*>& b);
114  void fillMCInfo(HepMC::GenParticle* mcele);
115 
116  void fillMCmap(const std::vector<const reco::GsfElectron*>* electronCollection,
117  const std::vector<HepMC::GenParticle*>& mcEle,
118  std::map<HepMC::GenParticle*, const reco::GsfElectron*>& myMCmap);
119  // void fillMCmap(const reco::ElectronCollection* electronCollection, const std::vector<HepMC::GenParticle*>& mcEle,std::map<HepMC::GenParticle*,const reco::Electron*>& myMCmap);
120 
121  float EvalDPhi(float Phi, float Phi_ref);
122  float EvalDR(float Eta, float Eta_ref, float Phi, float Phi_ref);
123 
124  void bookHistograms();
125 
126  void resetVariables();
127 
128  void resetHistograms();
129 
130  void printStatistics();
131 
132  std::pair<DetId, double> getHottestDetId(const std::vector<std::pair<DetId, float> >& mySCRecHits,
133  const EBRecHitCollection* ebhits,
134  const EERecHitCollection* eehits);
135 
136  bool xtalIsOnModuleBorder(EBDetId myEBDetId);
137 
138  float computeCoefficientDistanceAtIteration(float v1[250], float v2[250], int size);
139 
140  // float Calculate_SigmaEtaEta(const reco::SuperCluster &passedCluster);
141 
142  // ----------member data ---------------------------
143 
144  TTree* myTree;
145 
147 
154 
157 
160 
163 
165 
166  unsigned int etaBins_;
167  unsigned int etBins_;
168 
169  double etaMin_;
170  double etMin_;
171  double etaMax_;
172  double etMax_;
173 
176 
179  double mass;
180 
181  float mass4tree;
183 
185 
187 
192 
193  std::shared_ptr<EcalIntercalibConstants> ical;
194 
196 
199 
200  // steering parameters
201 
203 
204  // TGraph* graph;
205 
208 
211 
218 
219  TH1F* h_eleEffEta[2];
220  TH1F* h_eleEffPhi[2];
221  TH1F* h_eleEffPt[2];
222 
225 
230 
237  TH1F* h1_RMin_;
238  TH1F* h1_RMinZ_;
240 
243 
244  TH1F* h_eleEffEta_[2];
245  TH1F* h_eleEffPhi_[2];
246  TH1F* h_eleEffPt_[2];
247  TH1F* h_ESCEtrue_[25];
248  TH2F* h_ESCEtrueVsEta_[25];
249 
250  TH1F* h_ESCcorrEtrue_[25];
252 
259 
261  // TH2F* h2_miscalRecalParz_[25];
262  TH1F* h1_mc_;
263  TH1F* h1_mcParz_[25];
264  /*
265  TH1F* h_DiffZMassDistr_[25];
266  TH1F* h_ZMassDistr_[25];
267  */
270  //TH2F* h2_miscalRecalEBParz_[25];
271  TH1F* h1_mcEB_;
272  TH1F* h1_mcEBParz_[25];
274  //TH2F* h2_miscalRecalEEParz_[25];
275  TH1F* h1_mcEE_;
276  TH1F* h1_mcEEParz_[25];
277 
278  TH2F* h2_chi2_[25];
279  TH2F* h2_iterations_[25];
280 
284 
288 
291 
300 
304 
306 
308  Int_t NEVT, MCZBB, MCZEB, MCZEE;
309 
310  TFile* outputFile_;
311 
312  unsigned int theMaxLoops; // Number of loops to loop
313 
315 
316  unsigned int electronSelection_;
317 
318  double loopArray[50];
319  double sigmaArray[50];
320  double sigmaErrorArray[50];
322 
325 
328 
331 
334 
337 
340 
342 
343  unsigned int nEvents_; // number of events processed
344 
345  unsigned int nWasRun_; // # where at least one HLT was run
346  unsigned int nAccept_; // # of accepted events
347  unsigned int nErrors_; // # where at least one HLT had error
348 
349  std::vector<unsigned int> hlWasRun_; // # where HLT[i] was run
350  std::vector<unsigned int> hlAccept_; // # of events accepted by HLT[i]
351  std::vector<unsigned int> hlErrors_; // # of events with error in HLT[i]
352 
353  std::vector<std::string> hlNames_; // name of each HLT algorithm
354  bool init_; // vectors initialised or not
355 
357  char aTriggerNames[200][30];
358  bool aTriggerResults[200];
359 
360  Int_t hltCount;
361  char aHLTNames[6000];
362  Int_t hltNamesLen;
363  TString aNames[200];
364  bool aHLTResults[200];
365 
367 };
368 #endif
ZeeCalibration::h1_eleEtaResol_
TH1F * h1_eleEtaResol_
Definition: ZeeCalibration.h:241
ZeeCalibration::h1_reco_ZMassCorr_
TH1F * h1_reco_ZMassCorr_
Definition: ZeeCalibration.h:231
ZeeCalibration::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Dummy implementation (job done in duringLoop)
Definition: ZeeCalibration.h:80
ZeeCalibration::computeCoefficientDistanceAtIteration
float computeCoefficientDistanceAtIteration(float v1[250], float v2[250], int size)
Definition: ZeeCalibration.cc:2007
ZeeCalibration::h2_miscalRecalEB_
TH2F * h2_miscalRecalEB_
Definition: ZeeCalibration.h:269
ZeeCalibration::SILVER_ELECTRONS_IN_BARREL
int SILVER_ELECTRONS_IN_BARREL
Definition: ZeeCalibration.h:332
ZeeCalibration::h1_occupancyBarrel_
TH1F * h1_occupancyBarrel_
Definition: ZeeCalibration.h:298
ZeeCalibration::aHLTResults
bool aHLTResults[200]
Definition: ZeeCalibration.h:364
edm::EDLooperBase::Status
Status
Definition: EDLooperBase.h:79
ZeeCalibration::hlNames_
std::vector< std::string > hlNames_
Definition: ZeeCalibration.h:353
ZeeCalibration::h2_chi2_
TH2F * h2_chi2_[25]
Definition: ZeeCalibration.h:278
ZeeCalibration::TOTAL_ELECTRONS_IN_BARREL
int TOTAL_ELECTRONS_IN_BARREL
Definition: ZeeCalibration.h:326
ZeeCalibration::rechitProducer_
std::string rechitProducer_
Definition: ZeeCalibration.h:148
ZeeCalibration::MCZBB
Int_t MCZBB
Definition: ZeeCalibration.h:308
ESProducerLooper.h
ZeeCalibration::h_ESCEtrue_
TH1F * h_ESCEtrue_[25]
Definition: ZeeCalibration.h:247
ZeeCalibration::myTree
TTree * myTree
Definition: ZeeCalibration.h:144
MessageLogger.h
ZeeRescaleFactorPlots.h
ZeeCalibration::fEtaEndcapGood
double fEtaEndcapGood(double scEta) const
Definition: ZeeCalibration.cc:1783
ZeeCalibration::h2_fEtaEndcapBad_
TH2F * h2_fEtaEndcapBad_
Definition: ZeeCalibration.h:215
ZeeCalibration::h1_occupancyVsEtaGold_
TH1F * h1_occupancyVsEtaGold_
Definition: ZeeCalibration.h:293
ZeeCalibration::h1_eventsAfterBorderSelection_
TH1F * h1_eventsAfterBorderSelection_
Definition: ZeeCalibration.h:210
ZeeCalibration::sigmaErrorArray
double sigmaErrorArray[50]
Definition: ZeeCalibration.h:320
EDProducer.h
ZeeCalibration::RecalibBarrelHits_
std::string RecalibBarrelHits_
Definition: ZeeCalibration.h:164
ZeeCalibration::NewCalibCoeff
float NewCalibCoeff[250]
Definition: ZeeCalibration.h:189
ZeeCalibration::BBZN_t0
Int_t BBZN_t0
Definition: ZeeCalibration.h:307
ESHandle.h
ZeeCalibration::EBZN_t0
Int_t EBZN_t0
Definition: ZeeCalibration.h:307
EcalIntercalibConstants.h
ZeeCalibration::massDiff4tree
float massDiff4tree
Definition: ZeeCalibration.h:182
ZeeCalibration::h1_occupancyVsEtaCrack_
TH1F * h1_occupancyVsEtaCrack_
Definition: ZeeCalibration.h:295
ZeeCalibration::erechitProducer_
std::string erechitProducer_
Definition: ZeeCalibration.h:150
ZeeCalibration::nErrors_
unsigned int nErrors_
Definition: ZeeCalibration.h:347
ZeeCalibration::h1_mcEBParz_
TH1F * h1_mcEBParz_[25]
Definition: ZeeCalibration.h:272
ZeeCalibration::h1_reco_ZMassGood_
TH1F * h1_reco_ZMassGood_
Definition: ZeeCalibration.h:234
ZeeCalibration::h2_fEtaBarrelBad_
TH2F * h2_fEtaBarrelBad_
Definition: ZeeCalibration.h:213
EBDetId
Definition: EBDetId.h:17
ZeeCalibration::outputFileName_
std::string outputFileName_
Definition: ZeeCalibration.h:146
ZeeCalibration::h2_xtalRecalibCoeffBarrel_
TH2F * h2_xtalRecalibCoeffBarrel_[25]
Definition: ZeeCalibration.h:281
ZeeCalibration::etMin_
double etMin_
Definition: ZeeCalibration.h:170
ZeeCalibration::h2_zMassVsLoop_
TH2F * h2_zMassVsLoop_
Definition: ZeeCalibration.h:255
ZeeCalibration::aTriggerResults
bool aTriggerResults[200]
Definition: ZeeCalibration.h:358
ZeeCalibration::hlTriggerResults_
edm::InputTag hlTriggerResults_
Definition: ZeeCalibration.h:341
edm::SortedCollection< EcalRecHit >
ZeeCalibration::scIslandCollection_
std::string scIslandCollection_
Definition: ZeeCalibration.h:156
ZeeCalibration::hlErrors_
std::vector< unsigned int > hlErrors_
Definition: ZeeCalibration.h:351
pdwgLeptonRecoSkim_cfi.electronCollection
electronCollection
Definition: pdwgLeptonRecoSkim_cfi.py:5
ZeeCalibration::h2_fEtaEndcapGood_
TH2F * h2_fEtaEndcapGood_
Definition: ZeeCalibration.h:214
ZeeCalibration
Definition: ZeeCalibration.h:71
ZeeCalibration::h1_reco_ZMass_
TH1F * h1_reco_ZMass_
Definition: ZeeCalibration.h:229
ZeeCalibration::resetVariables
void resetVariables()
Definition: ZeeCalibration.cc:2033
ZeeCalibration::mass4tree
float mass4tree
Definition: ZeeCalibration.h:181
ZeeCalibration::h2_zMassDiffVsLoop_
TH2F * h2_zMassDiffVsLoop_
Definition: ZeeCalibration.h:256
ZeeCalibration::beginOfJob
void beginOfJob() override
Called at beginning of job.
Definition: ZeeCalibration.cc:169
EDAnalyzer.h
ZeeCalibration::h1_occupancyVsEta_
TH1F * h1_occupancyVsEta_
Definition: ZeeCalibration.h:292
ZeeCalibration::h1_ZCandMult_
TH1F * h1_ZCandMult_
Definition: ZeeCalibration.h:236
ZeeCalibration::h1_RMin_
TH1F * h1_RMin_
Definition: ZeeCalibration.h:237
ZeeCalibration::ZeeCalibration
ZeeCalibration(const edm::ParameterSet &iConfig)
Constructor.
Definition: ZeeCalibration.cc:67
ZeeCalibration::h1_zMassResol_
TH1F * h1_zMassResol_
Definition: ZeeCalibration.h:226
ZeeCalibration::h1_zEtaResol_
TH1F * h1_zEtaResol_
Definition: ZeeCalibration.h:227
ZeeCalibration::coefficientDistanceAtIteration
double coefficientDistanceAtIteration[50]
Definition: ZeeCalibration.h:321
ZeeCalibration::erechitCollection_
std::string erechitCollection_
Definition: ZeeCalibration.h:151
ZeeCalibration::CRACK_ELECTRONS_IN_ENDCAP
int CRACK_ELECTRONS_IN_ENDCAP
Definition: ZeeCalibration.h:339
ZeeCalibration::TOTAL_ELECTRONS_IN_ENDCAP
int TOTAL_ELECTRONS_IN_ENDCAP
Definition: ZeeCalibration.h:327
EcalRecHitCollections.h
ZeeCalibration::h_eleEffPt
TH1F * h_eleEffPt[2]
Definition: ZeeCalibration.h:221
ZeeCalibration::duringLoop
Status duringLoop(const edm::Event &, const edm::EventSetup &) override
Called at each event.
Definition: ZeeCalibration.cc:578
ZeeCalibration::h2_residualSigma_
TH2F * h2_residualSigma_
Definition: ZeeCalibration.h:268
ZeeCalibration::h1_occupancyVsEtaShower_
TH1F * h1_occupancyVsEtaShower_
Definition: ZeeCalibration.h:296
ZeeCalibration::h1_electronCosTheta_TK_
TH1F * h1_electronCosTheta_TK_
Definition: ZeeCalibration.h:301
ZeeCalibration::EBZN_gg
Int_t EBZN_gg
Definition: ZeeCalibration.h:307
ZeeCalibration::electronCollection_
std::string electronCollection_
Definition: ZeeCalibration.h:162
ZeeCalibration::mass
double mass
Definition: ZeeCalibration.h:179
ZeeCalibration::isfirstcall_
bool isfirstcall_
Definition: ZeeCalibration.h:366
ZeeCalibration::theMaxLoops
unsigned int theMaxLoops
Definition: ZeeCalibration.h:312
ZeeCalibration::ringNumberCorrector
int ringNumberCorrector(int k)
Definition: ZeeCalibration.cc:1900
ZeeCalibration::h1_elePhiResol_
TH1F * h1_elePhiResol_
Definition: ZeeCalibration.h:242
ZeeCalibration::EEZN_gg
Int_t EEZN_gg
Definition: ZeeCalibration.h:307
ZeeCalibration::h1_occupancyVsEtaSilver_
TH1F * h1_occupancyVsEtaSilver_
Definition: ZeeCalibration.h:294
ZeeCalibration::sigmaArray
double sigmaArray[50]
Definition: ZeeCalibration.h:319
ZeeCalibration::BARREL_ELECTRONS_BEFORE_BORDER_CUT
int BARREL_ELECTRONS_BEFORE_BORDER_CUT
Definition: ZeeCalibration.h:323
ZeeCalibration::startingNewLoop
void startingNewLoop(unsigned int iLoop) override
Called at beginning of loop.
Definition: ZeeCalibration.cc:1313
ZeeCalibration::h1_seedOverSC_
TH1F * h1_seedOverSC_
Definition: ZeeCalibration.h:223
ZeeCalibration::h_eleEffPhi_
TH1F * h_eleEffPhi_[2]
Definition: ZeeCalibration.h:245
ZeeCalibration::h2_miscalRecalEE_
TH2F * h2_miscalRecalEE_
Definition: ZeeCalibration.h:273
ZeeCalibration::theParameterSet
edm::ParameterSet theParameterSet
Definition: ZeeCalibration.h:202
ZeeCalibration::h1_reco_ZMassBad_
TH1F * h1_reco_ZMassBad_
Definition: ZeeCalibration.h:235
ZeeCalibration::BBZN_tt
Int_t BBZN_tt
Definition: ZeeCalibration.h:307
ZeeCalibration::rechitCollection_
std::string rechitCollection_
Definition: ZeeCalibration.h:149
ZeeCalibration::h2_miscalRecal_
TH2F * h2_miscalRecal_
Definition: ZeeCalibration.h:260
ZeeCalibration::bookHistograms
void bookHistograms()
Definition: ZeeCalibration.cc:1496
ZeeCalibration::ical
std::shared_ptr< EcalIntercalibConstants > ical
Definition: ZeeCalibration.h:193
ZeeCalibration::fillMCmap
void fillMCmap(const std::vector< const reco::GsfElectron * > *electronCollection, const std::vector< HepMC::GenParticle * > &mcEle, std::map< HepMC::GenParticle *, const reco::GsfElectron * > &myMCmap)
Definition: ZeeCalibration.cc:1817
ZeeCalibration::~ZeeCalibration
~ZeeCalibration() override
Destructor.
Definition: ZeeCalibration.cc:156
ZeeCalibration::scProducer_
std::string scProducer_
Definition: ZeeCalibration.h:152
ZeeCalibration::fillMCInfo
void fillMCInfo(HepMC::GenParticle *mcele)
reco::GsfElectron
Definition: GsfElectron.h:35
VtxSmearedParameters_cfi.Phi
Phi
Definition: VtxSmearedParameters_cfi.py:112
CalibElectron.h
dqmdumpme.k
k
Definition: dqmdumpme.py:60
ZeeCalibration::CRACK_ELECTRONS_IN_BARREL
int CRACK_ELECTRONS_IN_BARREL
Definition: ZeeCalibration.h:338
ZeeCalibration::maxInvMassCut_
double maxInvMassCut_
Definition: ZeeCalibration.h:178
ZeeCalibration::EBZN
Int_t EBZN
Definition: ZeeCalibration.h:307
ZeeCalibration::h2_iterations_
TH2F * h2_iterations_[25]
Definition: ZeeCalibration.h:279
GsfElectron.h
ZeeCalibration::hltNamesLen
Int_t hltNamesLen
Definition: ZeeCalibration.h:362
b
double b
Definition: hdecay.h:118
ZeeCalibration::h2_coeffVsEtaGrouped_
TH2F * h2_coeffVsEtaGrouped_
Definition: ZeeCalibration.h:254
ZeeCalibration::h_ESCcorrEtrue_
TH1F * h_ESCcorrEtrue_[25]
Definition: ZeeCalibration.h:250
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ZeeCalibration::h1_reco_ZMassCorrEE_
TH1F * h1_reco_ZMassCorrEE_
Definition: ZeeCalibration.h:233
edm::ESProducerLooper
Definition: ESProducerLooper.h:33
LooperFactory.h
ZeeCalibration::etaMax_
double etaMax_
Definition: ZeeCalibration.h:171
ZeeCalibration::resetHistograms
void resetHistograms()
Definition: ZeeCalibration.cc:2067
ZeeCalibration::MCZEB
Int_t MCZEB
Definition: ZeeCalibration.h:308
ElectronFwd.h
ZeeCalibration::h1_mcEB_
TH1F * h1_mcEB_
Definition: ZeeCalibration.h:271
ZeeCalibration::loopArray
double loopArray[50]
Definition: ZeeCalibration.h:318
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
ZeeCalibration::scIslandProducer_
std::string scIslandProducer_
Definition: ZeeCalibration.h:155
ZeeCalibration::h_eleEffPhi
TH1F * h_eleEffPhi[2]
Definition: ZeeCalibration.h:220
a
double a
Definition: hdecay.h:119
ZeeCalibration::SHOWER_ELECTRONS_IN_BARREL
int SHOWER_ELECTRONS_IN_BARREL
Definition: ZeeCalibration.h:335
Event.h
ZeeCalibration::init_
bool init_
Definition: ZeeCalibration.h:354
ZeeCalibration::h1_weightSumMeanEndcap_
TH1F * h1_weightSumMeanEndcap_
Definition: ZeeCalibration.h:290
ZeeCalibration::outputFile_
TFile * outputFile_
Definition: ZeeCalibration.h:310
ZeeCalibration::produceEcalIntercalibConstants
virtual std::shared_ptr< EcalIntercalibConstants > produceEcalIntercalibConstants(const EcalIntercalibConstantsRcd &iRecord)
Produce Ecal interCalibrations.
Definition: ZeeCalibration.cc:163
ZeeCalibration::EvalDPhi
float EvalDPhi(float Phi, float Phi_ref)
Definition: ZeeCalibration.cc:1852
ZeeCalibration::h1_mcEE_
TH1F * h1_mcEE_
Definition: ZeeCalibration.h:275
ZeeCalibration::h1_preshowerOverSC_
TH1F * h1_preshowerOverSC_
Definition: ZeeCalibration.h:224
nMaxChannels
#define nMaxChannels
Definition: ZIterativeAlgorithmWithFit.h:26
ZeeCalibration::hltCount
Int_t hltCount
Definition: ZeeCalibration.h:360
ZeeCalibration::h1_reco_ZMassCorrBB_
TH1F * h1_reco_ZMassCorrBB_
Definition: ZeeCalibration.h:232
ZIterativeAlgorithmWithFit
Definition: ZIterativeAlgorithmWithFit.h:28
ZeeCalibration::triggerCount
Int_t triggerCount
Definition: ZeeCalibration.h:356
ZeeCalibration::h1_mc_
TH1F * h1_mc_
Definition: ZeeCalibration.h:262
ZeeCalibration::minInvMassCut_
double minInvMassCut_
Definition: ZeeCalibration.h:177
ZeeCalibration::calibMode_
std::string calibMode_
Definition: ZeeCalibration.h:159
ZeeCalibration::etBins_
unsigned int etBins_
Definition: ZeeCalibration.h:167
ZeeCalibration::h1_occupancy_
TH1F * h1_occupancy_
Definition: ZeeCalibration.h:297
ZeeCalibration::BBZN_gg
Int_t BBZN_gg
Definition: ZeeCalibration.h:307
ZeeCalibration::wantEtaCorrection_
bool wantEtaCorrection_
Definition: ZeeCalibration.h:314
ZeeCalibration::endOfLoop
Status endOfLoop(const edm::EventSetup &, unsigned int iLoop) override
Called at end of loop.
Definition: ZeeCalibration.cc:1328
ZeeCalibration::getHottestDetId
std::pair< DetId, double > getHottestDetId(const std::vector< std::pair< DetId, float > > &mySCRecHits, const EBRecHitCollection *ebhits, const EERecHitCollection *eehits)
Definition: ZeeCalibration.cc:1947
ZeeCalibration::h2_zWidthVsLoop_
TH2F * h2_zWidthVsLoop_
Definition: ZeeCalibration.h:257
edm::EventSetup
Definition: EventSetup.h:57
ZeeCalibration::h2_xtalRecalibCoeffEndcapPlus_
TH2F * h2_xtalRecalibCoeffEndcapPlus_[25]
Definition: ZeeCalibration.h:283
ZeeCalibration::h1_electronCosTheta_SC_
TH1F * h1_electronCosTheta_SC_
Definition: ZeeCalibration.h:302
ZeePlots
Definition: ZeePlots.h:50
ZeeCalibration::h1_RMinZ_
TH1F * h1_RMinZ_
Definition: ZeeCalibration.h:238
ZeeCalibration::h2_xtalMiscalibCoeffEndcapMinus_
TH2F * h2_xtalMiscalibCoeffEndcapMinus_
Definition: ZeeCalibration.h:286
ZeeCalibration::fEtaBarrelGood
double fEtaBarrelGood(double scEta) const
Definition: ZeeCalibration.cc:1805
ZeeCalibration::h2_xtalMiscalibCoeffBarrel_
TH2F * h2_xtalMiscalibCoeffBarrel_
Definition: ZeeCalibration.h:285
ZeeCalibration::BBZN
Int_t BBZN
Definition: ZeeCalibration.h:307
ZeeCalibration::EEZN
Int_t EEZN
Definition: ZeeCalibration.h:307
ZeeCalibration::h1_eleERecoOverEtrue_
TH1F * h1_eleERecoOverEtrue_
Definition: ZeeCalibration.h:239
ZeeCalibration::h_eleEffEta
TH1F * h_eleEffEta[2]
Definition: ZeeCalibration.h:219
ZeeCalibration::myZeeRescaleFactorPlots_
ZeeRescaleFactorPlots * myZeeRescaleFactorPlots_
Definition: ZeeCalibration.h:198
ZeeCalibration::initCalibCoeff
float initCalibCoeff[250]
Definition: ZeeCalibration.h:191
ZeeCalibration::h2_coeffVsEta_
TH2F * h2_coeffVsEta_
Definition: ZeeCalibration.h:253
ZeeCalibration::read_events
int read_events
Definition: ZeeCalibration.h:184
ZeeCalibration::hlAccept_
std::vector< unsigned int > hlAccept_
Definition: ZeeCalibration.h:350
ZeeCalibration::h2_xtalRecalibCoeffEndcapMinus_
TH2F * h2_xtalRecalibCoeffEndcapMinus_[25]
Definition: ZeeCalibration.h:282
ZeeCalibration::hlWasRun_
std::vector< unsigned int > hlWasRun_
Definition: ZeeCalibration.h:349
ZeeCalibration::nEvents_
unsigned int nEvents_
Definition: ZeeCalibration.h:343
Electron.h
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
ZeeCalibration::calibCoeff
float calibCoeff[250]
Definition: ZeeCalibration.h:188
ZeeCalibration::theAlgorithm_
ZIterativeAlgorithmWithFit * theAlgorithm_
Definition: ZeeCalibration.h:195
ZeeCalibration::h2_fEtaBarrelGood_
TH2F * h2_fEtaBarrelGood_
Definition: ZeeCalibration.h:212
ZeeCalibration::aTriggerNames
char aTriggerNames[200][30]
Definition: ZeeCalibration.h:357
ZeeCalibration::h1_eleClasses_
TH1F * h1_eleClasses_
Definition: ZeeCalibration.h:217
ZeeCalibration::calibCoeffError
float calibCoeffError[250]
Definition: ZeeCalibration.h:190
ZeeCalibration::SILVER_ELECTRONS_IN_ENDCAP
int SILVER_ELECTRONS_IN_ENDCAP
Definition: ZeeCalibration.h:333
ZeeCalibration::mcProducer_
std::string mcProducer_
Definition: ZeeCalibration.h:158
DetId.h
Frameworkfwd.h
ZeeCalibration::electronSelection_
unsigned int electronSelection_
Definition: ZeeCalibration.h:316
ZeeCalibration::etMax_
double etMax_
Definition: ZeeCalibration.h:172
ZeeCalibration::h1_eventsBeforeEWKSelection_
TH1F * h1_eventsBeforeEWKSelection_
Definition: ZeeCalibration.h:206
ZeePlots.h
ZeeCalibration::etaMin_
double etaMin_
Definition: ZeeCalibration.h:169
ZeeCalibration::h_eleEffPt_
TH1F * h_eleEffPt_[2]
Definition: ZeeCalibration.h:246
ZeeCalibration::getEtaCorrection
double getEtaCorrection(const reco::GsfElectron *)
Definition: ZeeCalibration.cc:1928
ZeeCalibration::NEVT
Int_t NEVT
Definition: ZeeCalibration.h:308
ZeeCalibration::h1_zPhiResol_
TH1F * h1_zPhiResol_
Definition: ZeeCalibration.h:228
ZeeCalibration::h2_xtalMiscalibCoeffEndcapPlus_
TH2F * h2_xtalMiscalibCoeffEndcapPlus_
Definition: ZeeCalibration.h:287
ZeeCalibration::h1_electronCosTheta_SC_TK_
TH1F * h1_electronCosTheta_SC_TK_
Definition: ZeeCalibration.h:303
ZeeCalibration::aHLTNames
char aHLTNames[6000]
Definition: ZeeCalibration.h:361
ZeeCalibration::h1_mcEEParz_
TH1F * h1_mcEEParz_[25]
Definition: ZeeCalibration.h:276
ZeeCalibration::fEtaBarrelBad
double fEtaBarrelBad(double scEta) const
Definition: ZeeCalibration.cc:1773
EventSetup.h
ZeeCalibration::printStatistics
void printStatistics()
Definition: ZeeCalibration.cc:2111
ZIterativeAlgorithmWithFit.h
ZeeCalibration::h1_eventsBeforeBorderSelection_
TH1F * h1_eventsBeforeBorderSelection_
Definition: ZeeCalibration.h:209
ZeeCalibration::endOfJob
void endOfJob() override
Called at end of job.
Definition: ZeeCalibration.cc:172
ZeeCalibration::h2_coeffVsLoop_
TH2F * h2_coeffVsLoop_
Definition: ZeeCalibration.h:258
ZeeCalibration::electronProducer_
std::string electronProducer_
Definition: ZeeCalibration.h:161
ZeeCalibration::h1_nEleReco_
TH1F * h1_nEleReco_
Definition: ZeeCalibration.h:216
ZeeCalibration::h1_mcParz_
TH1F * h1_mcParz_[25]
Definition: ZeeCalibration.h:263
ZeeCalibration::aNames
TString aNames[200]
Definition: ZeeCalibration.h:363
ZeeCalibration::etaBins_
unsigned int etaBins_
Definition: ZeeCalibration.h:166
ZeeCalibration::EEZN_tt
Int_t EEZN_tt
Definition: ZeeCalibration.h:307
ZeeCalibration::MCZEE
Int_t MCZEE
Definition: ZeeCalibration.h:308
ZeeCalibration::xtalIsOnModuleBorder
bool xtalIsOnModuleBorder(EBDetId myEBDetId)
Definition: ZeeCalibration.cc:1988
ZeeCalibration::h_ESCEtrueVsEta_
TH2F * h_ESCEtrueVsEta_[25]
Definition: ZeeCalibration.h:248
ZeeCalibration::GOLDEN_ELECTRONS_IN_ENDCAP
int GOLDEN_ELECTRONS_IN_ENDCAP
Definition: ZeeCalibration.h:330
ParameterSet.h
ZeeCalibration::h_eleEffEta_
TH1F * h_eleEffEta_[2]
Definition: ZeeCalibration.h:244
ZeeCalibration::barrelfile_
std::string barrelfile_
Definition: ZeeCalibration.h:174
ZeeCalibration::fEtaEndcapBad
double fEtaEndcapBad(double scEta) const
Definition: ZeeCalibration.cc:1795
ZeeCalibration::GOLDEN_ELECTRONS_IN_BARREL
int GOLDEN_ELECTRONS_IN_BARREL
Definition: ZeeCalibration.h:329
HepMCProduct.h
ZeeCalibration::scCollection_
std::string scCollection_
Definition: ZeeCalibration.h:153
ZeeRescaleFactorPlots
Definition: ZeeRescaleFactorPlots.h:51
ZeeCalibration::endcapfile_
std::string endcapfile_
Definition: ZeeCalibration.h:175
edm::Event
Definition: Event.h:73
ZeeCalibration::h1_eventsAfterEWKSelection_
TH1F * h1_eventsAfterEWKSelection_
Definition: ZeeCalibration.h:207
EcalIntercalibConstantsRcd
Definition: EcalIntercalibConstantsRcd.h:5
EcalIntercalibConstantsRcd.h
ZeeCalibration::fillEleInfo
void fillEleInfo(std::vector< HepMC::GenParticle * > &a, std::map< HepMC::GenParticle *, const reco::GsfElectron * > &b)
Definition: ZeeCalibration.cc:1860
edm::InputTag
Definition: InputTag.h:15
ZeeCalibration::h1_weightSumMeanBarrel_
TH1F * h1_weightSumMeanBarrel_
Definition: ZeeCalibration.h:289
ZeeCalibration::h1_borderElectronClassification_
TH1F * h1_borderElectronClassification_
Definition: ZeeCalibration.h:305
ZeeCalibration::h_ESCcorrEtrueVsEta_
TH2F * h_ESCcorrEtrueVsEta_[25]
Definition: ZeeCalibration.h:251
ZeeCalibration::EvalDR
float EvalDR(float Eta, float Eta_ref, float Phi, float Phi_ref)
Definition: ZeeCalibration.cc:1837
ZeeCalibration::EBZN_tt
Int_t EBZN_tt
Definition: ZeeCalibration.h:307
ZeeCalibration::nAccept_
unsigned int nAccept_
Definition: ZeeCalibration.h:346
ZeeCalibration::myZeePlots_
ZeePlots * myZeePlots_
Definition: ZeeCalibration.h:197
ZeeCalibration::h1_occupancyEndcap_
TH1F * h1_occupancyEndcap_
Definition: ZeeCalibration.h:299
ZeeCalibration::SHOWER_ELECTRONS_IN_ENDCAP
int SHOWER_ELECTRONS_IN_ENDCAP
Definition: ZeeCalibration.h:336
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
ZeeCalibration::BARREL_ELECTRONS_AFTER_BORDER_CUT
int BARREL_ELECTRONS_AFTER_BORDER_CUT
Definition: ZeeCalibration.h:324
ZeeCalibration::nWasRun_
unsigned int nWasRun_
Definition: ZeeCalibration.h:345
ZeeCalibration::loopFlag_
int loopFlag_
Definition: ZeeCalibration.h:186
ZeeCalibration::EEZN_t0
Int_t EEZN_t0
Definition: ZeeCalibration.h:307