#include <RecoEgamma/Examples/interface/SiStripElectronAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob (void) |
virtual void | initNtuple (void) |
SiStripElectronAnalyzer (const edm::ParameterSet &) | |
~SiStripElectronAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
double | unwrapPhi (double phi) const |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 47 of file SiStripElectronAnalyzer.h.
|
explicit |
Definition at line 68 of file SiStripElectronAnalyzer.cc.
References eBRecHitCollection_, eBRecHitProducer_, electronCollection_, electronProducer_, emaxSuperClusters_, emaxSuperClustersEl_, energySuperClusters_, energySuperClustersEl_, energySuperClustersFailed, energySuperClustersPassed, eOverPFailed, eOverPPassed, file_, fileName_, edm::ParameterSet::getParameter(), mctruthCollection_, mctruthProducer_, numCand_, numElectrons_, numSiMatchedHits_, numSiMonoHits_, numSiStereoHits_, numSuperClusters_, pDiff, pElectronFailed, pElectronPassed, phiWidthSuperClusters_, phiWidthSuperClustersEl_, ptDiff, ptElectronFailed, ptElectronPassed, siElectronCollection_, siElectronProducer_, siHitProducer_, siMatchedHitCollection_, siRphiHitCollection_, siStereoHitCollection_, sizeSuperClusters_, sizeSuperClustersEl_, sizeSuperClustersFailed, sizeSuperClustersPassed, AlCaHLTBitMon_QueryRunRegistry::string, superClusterCollection_, and superClusterProducer_.
SiStripElectronAnalyzer::~SiStripElectronAnalyzer | ( | ) |
|
virtual |
For events w/ more than 1 electron candidate, try to plot m(e,e)
//////////////////////////////////////////////////////////////////////////////// ////////////////// Now for tracker hits: ///////////////////////////////////////
loop again to get all info into myTree
Implements edm::EDAnalyzer.
Definition at line 326 of file SiStripElectronAnalyzer.cc.
References abs, alignCSCRings::e, eBRecHitCollection_, eBRecHitProducer_, electronCollection_, electronProducer_, HI_PhotonSkim_cff::electrons, emaxSuperClusters_, emaxSuperClustersEl_, relval_parameters_module::energy, energySuperClusters_, energySuperClustersEl_, EShower_, funct::false, edm::EventSetup::get(), edm::Event::getByLabel(), i, initNtuple(), LogDebug, mag(), MatchedDetector_, MatchedHitCorr_, MatchedHitNoise_, MatchedHitPhi_, MatchedHitR_, MatchedHitSignal_, MatchedHitSigX_, MatchedHitSigY_, MatchedHitTheta_, MatchedHitWidth_, MatchedHitX_, MatchedHitY_, MatchedHitZ_, MatchedLayer_, MonoDetector_, MonoHitCorr_, MonoHitNoise_, MonoHitPhi_, MonoHitR_, MonoHitSignal_, MonoHitSigX_, MonoHitSigY_, MonoHitTheta_, MonoHitWidth_, MonoHitX_, MonoHitY_, MonoHitZ_, MonoLayer_, myMaxHits, myTree_, NMatchedHits_, NMonoHits_, NShowers_, NStereoHits_, numCand_, numElectrons_, numSiMatchedHits_, numSiMonoHits_, numSiStereoHits_, numSuperClusters_, pDiff, pElectronFailed, pElectronPassed, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), phiWidthSuperClusters_, phiWidthSuperClustersEl_, pos, position, funct::pow(), ptDiff, ptElectronFailed, ptElectronPassed, siElectronCollection_, siElectronProducer_, Signal, siHitProducer_, siMatchedHitCollection_, siRphiHitCollection_, siStereoHitCollection_, sizeSuperClusters_, sizeSuperClustersEl_, sizeSuperClustersFailed, sizeSuperClustersPassed, mathSSE::sqrt(), StereoDetector_, StereoHitCorr_, StereoHitNoise_, StereoHitPhi_, StereoHitR_, StereoHitSignal_, StereoHitSigX_, StereoHitSigY_, StereoHitTheta_, StereoHitWidth_, StereoHitX_, StereoHitY_, StereoHitZ_, StereoLayer_, superClusterCollection_, superClusterProducer_, PV3DBase< T, PVType, FrameType >::theta(), StripSubdetector::TIB, StripSubdetector::TOB, funct::true, PV3DBase< T, PVType, FrameType >::x(), XShower_, LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), YShower_, LocalError::yy(), PV3DBase< T, PVType, FrameType >::z(), and ZShower_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 185 of file SiStripElectronAnalyzer.cc.
References EShower_, MatchedDetector_, MatchedHitCorr_, MatchedHitNoise_, MatchedHitPhi_, MatchedHitR_, MatchedHitSignal_, MatchedHitSigX_, MatchedHitSigY_, MatchedHitTheta_, MatchedHitWidth_, MatchedHitX_, MatchedHitY_, MatchedHitZ_, MatchedLayer_, MonoDetector_, MonoHitCorr_, MonoHitNoise_, MonoHitPhi_, MonoHitR_, MonoHitSignal_, MonoHitSigX_, MonoHitSigY_, MonoHitTheta_, MonoHitWidth_, MonoHitX_, MonoHitY_, MonoHitZ_, MonoLayer_, myTree_, NMatchedHits_, NMonoHits_, NShowers_, NStereoHits_, StereoDetector_, StereoHitCorr_, StereoHitNoise_, StereoHitPhi_, StereoHitR_, StereoHitSignal_, StereoHitSigX_, StereoHitSigY_, StereoHitTheta_, StereoHitWidth_, StereoHitX_, StereoHitY_, StereoHitZ_, StereoLayer_, XShower_, YShower_, and ZShower_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1256 of file SiStripElectronAnalyzer.cc.
References emaxSuperClusters_, emaxSuperClustersEl_, energySuperClusters_, energySuperClustersEl_, file_, LogDebug, myTree_, numCand_, numElectrons_, numSiMatchedHits_, numSiMonoHits_, numSiStereoHits_, numSuperClusters_, pDiff, pElectronFailed, pElectronPassed, phiWidthSuperClusters_, phiWidthSuperClustersEl_, ptDiff, ptElectronFailed, ptElectronPassed, sizeSuperClusters_, sizeSuperClustersEl_, sizeSuperClustersFailed, and sizeSuperClustersPassed.
|
virtual |
Definition at line 266 of file SiStripElectronAnalyzer.cc.
References EShower_, init, LogDebug, MatchedHitNoise_, MatchedHitPhi_, MatchedHitR_, MatchedHitSignal_, MatchedHitTheta_, MatchedHitWidth_, MatchedHitX_, MatchedHitY_, MatchedHitZ_, MonoHitNoise_, MonoHitPhi_, MonoHitR_, MonoHitSignal_, MonoHitTheta_, MonoHitWidth_, MonoHitX_, MonoHitY_, MonoHitZ_, myMaxHits, NMatchedHits_, NMonoHits_, NShowers_, NStereoHits_, StereoHitNoise_, StereoHitPhi_, StereoHitR_, StereoHitSignal_, StereoHitTheta_, StereoHitWidth_, StereoHitX_, StereoHitY_, StereoHitZ_, XShower_, YShower_, and ZShower_.
Referenced by analyze().
|
inlineprivate |
|
private |
Definition at line 181 of file SiStripElectronAnalyzer.h.
|
private |
Definition at line 180 of file SiStripElectronAnalyzer.h.
|
private |
Definition at line 183 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 182 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 187 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 186 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 76 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 81 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 74 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 79 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 93 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 92 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 94 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 95 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 105 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 70 of file SiStripElectronAnalyzer.h.
Referenced by endJob(), SiStripElectronAnalyzer(), and ~SiStripElectronAnalyzer().
|
private |
Definition at line 67 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 172 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 166 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 169 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 160 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 159 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 168 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 164 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 165 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 161 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 170 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 155 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 156 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 157 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 173 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 177 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 176 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 150 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 144 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 147 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 138 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 137 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 146 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 142 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 143 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 148 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 133 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 134 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 135 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 151 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 102 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 154 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 132 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 104 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 110 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 71 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 72 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 100 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 99 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 98 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 73 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 85 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 86 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 88 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 77 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 82 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 84 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 87 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 89 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 185 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 184 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 188 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 191 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 189 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 190 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 75 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 80 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 91 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 90 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 128 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 125 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 116 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 115 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 124 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 120 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 121 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 117 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 126 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 111 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 112 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 113 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 129 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 179 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 178 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 106 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 107 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 108 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().