#include <Calibration/EcalCalibAlgos/src/ElectronCalibration.cc>
Private Member Functions | |
EBDetId | findMaxHit (edm::Handle< EBRecHitCollection > &) |
EBDetId | findMaxHit2 (const std::vector< DetId > &, const EBRecHitCollection *) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: Perform single electron calibration (tested on TB data only).
Implementation: <Notes on="" implementation>="">
Definition at line 47 of file ElectronCalibration.h.
|
explicit |
Definition at line 35 of file ElectronCalibration.cc.
References calibAlgo_, ClusterSize_, gather_cfg::cout, cut1_, cut2_, cut3_, cutCalo1_, cutCalo2_, cutEPCalo1_, cutEPCalo2_, cutEPin1_, cutEPin2_, cutESeed_, elecclass_, electronLabel_, ElePt_, edm::ParameterSet::getParameter(), keventweight_, maxeta_, maxphi_, mineta_, minphi_, miscalibfile_, numevent_, recHitLabel_, rootfile_, AlCaHLTBitMon_QueryRunRegistry::string, and trackLabel_.
|
override |
Definition at line 70 of file ElectronCalibration.cc.
|
override |
Definition at line 408 of file ElectronCalibration.cc.
References calibCluster, MessageLogger_cfi::cerr, reco::GsfElectron::classification(), ClusterSize_, gather_cfg::cout, cut1_, cut2_, cut3_, cutEPin1_, cutEPin2_, cutESeed_, e25, e25NoCuts, E25oP, E25oPNoCuts, e25OverScE, e25OverScENoCuts, e9, e9NoCuts, e9Overe25, e9Overe25NoCuts, elecclass_, ElectronMcFakeValidator_cfi::electronCollection, electronLabel_, ElePt_, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::energy(), EnergyVector, EnergyVectorNoCuts, EoP, EoP_all, EoPNoCuts, Error1, Error1NoCuts, Error2, Error2NoCuts, Error3, Error3NoCuts, reco::GsfElectron::eSeedClusterOverPout(), eSeedOverPout, eSeedOverPout2, eSeedOverPout2ESeed, eSeedOverPout2NoCuts, eSeedOverPoutNoCuts, reco::GsfElectron::eSuperClusterOverP(), reco::LeafCandidate::eta(), reco::CaloCluster::eta(), eventcrystal, EventMatrix, EventMatrixNoCuts, HcalObjRepresent::Fill(), edm::SortedCollection< T, SORT >::find(), findMaxHit2(), runEdmFileComparison::found, GeneralMap, CalibrationCluster::get5x5Id(), edm::Event::getByLabel(), hadOverEm, hadOverEmESeed, hadOverEmNoCuts, reco::GsfElectron::hadronicOverEm(), hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), edm::isNotFinite(), edm::HandleBase::isValid(), Map, MapCor1, MapCor10, MapCor10ESeed, MapCor10NoCuts, MapCor11, MapCor11ESeed, MapCor11NoCuts, MapCor1ESeed, MapCor1NoCuts, MapCor2, MapCor2ESeed, MapCor2NoCuts, MapCor3, MapCor3ESeed, MapCor3NoCuts, MapCor4, MapCor4ESeed, MapCor4NoCuts, MapCor5, MapCor5ESeed, MapCor5NoCuts, MapCor6, MapCor6ESeed, MapCor6NoCuts, MapCor7, MapCor7ESeed, MapCor7NoCuts, MapCor8, MapCor8ESeed, MapCor8NoCuts, MapCor9, MapCor9ESeed, MapCor9NoCuts, MapNoCuts, MaxCCeta, MaxCCetaNoCuts, MaxCCphi, MaxCCphiNoCuts, maxeta_, maxphi_, mineta_, minphi_, DetId::null(), numevent_, reco::LeafCandidate::p(), PinMinPout, PinMinPoutNoCuts, PinOverPout, PinOverPoutNoCuts, funct::pow(), edm::Handle< T >::product(), read_events, recHitLabel_, SimDataFormats::CaloAnalysis::sc, scE, scENoCuts, mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackMomentumAtCalo(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumError(), reco::GsfElectron::trackMomentumOut(), trP, trPNoCuts, WeightVector, and WeightVectorNoCuts.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 77 of file ElectronCalibration.cc.
References calibAlgo_, calibCluster, calibClusterSize, calibinter, calibinterNoCuts, calibs, calibsNoCuts, ClusterSize_, gather_cfg::cout, DiffCalibs, DiffCalibsNoCuts, e25, e25NoCuts, E25oP, E25oPNoCuts, e25OverScE, e25OverScENoCuts, e9, e9NoCuts, e9Overe25, e9Overe25NoCuts, elecclass_, EoP, EoP_all, EoPNoCuts, Error1, Error1NoCuts, Error2, Error2NoCuts, Error3, Error3NoCuts, eSeedOverPout, eSeedOverPout2, eSeedOverPout2ESeed, eSeedOverPout2NoCuts, eSeedOverPoutNoCuts, PVValHelper::eta, etaMax, etaMin, eventcrystal, f, GeneralMap, CalibrationCluster::getMap(), hadOverEm, hadOverEmESeed, hadOverEmNoCuts, keventweight_, Map, Map3Dcalib, Map3DcalibNoCuts, MapCor1, MapCor10, MapCor10ESeed, MapCor10NoCuts, MapCor11, MapCor11ESeed, MapCor11NoCuts, MapCor1ESeed, MapCor1NoCuts, MapCor2, MapCor2ESeed, MapCor2NoCuts, MapCor3, MapCor3ESeed, MapCor3NoCuts, MapCor4, MapCor4ESeed, MapCor4NoCuts, MapCor5, MapCor5ESeed, MapCor5NoCuts, MapCor6, MapCor6ESeed, MapCor6NoCuts, MapCor7, MapCor7ESeed, MapCor7NoCuts, MapCor8, MapCor8ESeed, MapCor8NoCuts, MapCor9, MapCor9ESeed, MapCor9NoCuts, MapCorCalib, MapCorCalibNoCuts, MapNoCuts, maxeta_, maxphi_, mineta_, minphi_, MisCalibs, MyHH, MyL3Algo1, oldCalibs, phi, phiMax, phiMin, PinMinPout, PinMinPoutNoCuts, PinOverPout, PinOverPoutNoCuts, RatioCalibs, RatioCalibsNoCuts, read_events, ReducedMap, rootfile_, scE, scENoCuts, trP, and trPNoCuts.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 233 of file ElectronCalibration.cc.
References calibAlgo_, calibinter, calibinterNoCuts, calibs, calibsNoCuts, gather_cfg::cout, DiffCalibs, DiffCalibsNoCuts, EnergyVector, EnergyVectorNoCuts, PVValHelper::eta, EBDetId::ETAPHIMODE, EventMatrix, EventMatrixNoCuts, f, cuy::ii, createfilelist::int, MinL3Algorithm::iterate(), HouseholderDecomposition::iterate(), Map3Dcalib, Map3DcalibNoCuts, MapCorCalib, MapCorCalibNoCuts, MaxCCeta, MaxCCetaNoCuts, MaxCCphi, MaxCCphiNoCuts, maxeta_, maxphi_, mineta_, minphi_, miscalibfile_, MisCalibs, MyHH, MyL3Algo1, newCalibs, phi, RatioCalibs, RatioCalibsNoCuts, read_events, ReducedMap, HouseholderDecomposition::runRegional(), solution, solutionNoCuts, and calibXMLwriter::writeLine().
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 360 of file ElectronCalibration.cc.
References edm::SortedCollection< T, SORT >::begin(), KineDebug3::count(), edm::SortedCollection< T, SORT >::end(), AlCaHLTBitMon_ParallelJobs::p, and cuy::save.
|
private |
Definition at line 382 of file ElectronCalibration.cc.
References gather_cfg::cout, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), and MTVHistoProducerAlgoForTrackerBlock_cfi::maxHit.
Referenced by analyze().
|
private |
Definition at line 65 of file ElectronCalibration.h.
Referenced by beginJob(), ElectronCalibration(), and endJob().
|
private |
Definition at line 86 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 146 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 147 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 120 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 139 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 84 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), and ElectronCalibration().
|
private |
Definition at line 73 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 74 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 75 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 81 of file ElectronCalibration.h.
Referenced by ElectronCalibration().
|
private |
Definition at line 82 of file ElectronCalibration.h.
Referenced by ElectronCalibration().
|
private |
Definition at line 77 of file ElectronCalibration.h.
Referenced by ElectronCalibration().
|
private |
Definition at line 78 of file ElectronCalibration.h.
Referenced by ElectronCalibration().
|
private |
Definition at line 79 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 80 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 83 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 130 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 132 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 114 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 124 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 143 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 141 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 115 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 121 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 140 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 76 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), and ElectronCalibration().
|
private |
Definition at line 63 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 68 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 93 of file ElectronCalibration.h.
|
private |
Definition at line 98 of file ElectronCalibration.h.
|
private |
Definition at line 118 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 196 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 199 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 197 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 200 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 198 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 201 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 127 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 203 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 205 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 204 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 92 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 92 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 109 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file ElectronCalibration.h.
|
private |
Definition at line 100 of file ElectronCalibration.h.
|
private |
Definition at line 112 of file ElectronCalibration.h.
Referenced by beginJob(), Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), endJob(), and ztail.Decoder::initial_synchronize().
|
private |
Definition at line 152 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 207 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 209 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 208 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file ElectronCalibration.h.
|
private |
Definition at line 67 of file ElectronCalibration.h.
Referenced by beginJob(), and ElectronCalibration().
|
private |
Definition at line 123 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 144 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 145 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 154 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 163 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 189 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 176 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 164 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 190 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 177 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 180 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 167 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 155 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 181 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 168 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 156 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 182 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 169 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 157 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 183 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 170 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 158 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 184 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 171 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 159 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 185 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 172 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 186 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 173 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 161 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 187 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 174 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 162 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 188 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 175 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 165 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 178 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 142 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 96 of file ElectronCalibration.h.
|
private |
Definition at line 101 of file ElectronCalibration.h.
|
private |
Definition at line 97 of file ElectronCalibration.h.
|
private |
Definition at line 102 of file ElectronCalibration.h.
|
private |
Definition at line 69 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), ElectronCalibration(), and endJob().
|
private |
Definition at line 71 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), ElectronCalibration(), and endJob().
|
private |
Definition at line 70 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), ElectronCalibration(), and endJob().
|
private |
Definition at line 72 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), ElectronCalibration(), and endJob().
|
private |
Definition at line 66 of file ElectronCalibration.h.
Referenced by ElectronCalibration(), and endJob().
|
private |
Definition at line 128 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 148 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 103 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 106 of file ElectronCalibration.h.
Referenced by endJob().
|
private |
Definition at line 110 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 107 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 92 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 92 of file ElectronCalibration.h.
Referenced by beginJob().
|
private |
Definition at line 193 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 194 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 131 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 89 of file ElectronCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 62 of file ElectronCalibration.h.
Referenced by analyze(), and ElectronCalibration().
|
private |
Definition at line 87 of file ElectronCalibration.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 61 of file ElectronCalibration.h.
Referenced by beginJob(), and ElectronCalibration().
|
private |
Definition at line 116 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 136 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 104 of file ElectronCalibration.h.
Referenced by endJob().
|
private |
Definition at line 105 of file ElectronCalibration.h.
Referenced by endJob().
|
private |
Definition at line 64 of file ElectronCalibration.h.
Referenced by ElectronCalibration().
|
private |
Definition at line 117 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 137 of file ElectronCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 94 of file ElectronCalibration.h.
Referenced by analyze().
|
private |
Definition at line 99 of file ElectronCalibration.h.
Referenced by analyze().