#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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 |
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 &) |
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 46 of file SiStripElectronAnalyzer.h.
|
explicit |
Definition at line 67 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 325 of file SiStripElectronAnalyzer.cc.
References funct::abs(), SiStripRecHit2D::cluster(), counter, alignCSCRings::e, eBRecHitCollection_, eBRecHitProducer_, electronCollection_, electronProducer_, HI_PhotonSkim_cff::electrons, emaxSuperClusters_, emaxSuperClustersEl_, relval_parameters_module::energy, energySuperClusters_, energySuperClustersEl_, EShower_, edm::false, edm::EventSetup::get(), edm::Event::getByLabel(), i, initNtuple(), edm::Ref< C, T, F >::isNonnull(), BaseTrackerRecHit::localPositionError(), 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_, 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 184 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 1255 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 265 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 180 of file SiStripElectronAnalyzer.h.
|
private |
Definition at line 179 of file SiStripElectronAnalyzer.h.
|
private |
Definition at line 182 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 181 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 185 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 73 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 78 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 92 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 91 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 93 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 94 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 104 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 69 of file SiStripElectronAnalyzer.h.
Referenced by endJob(), SiStripElectronAnalyzer(), and ~SiStripElectronAnalyzer().
|
private |
Definition at line 66 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 171 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 168 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 158 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 167 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 163 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 164 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 169 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 154 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 172 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 176 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 175 of file SiStripElectronAnalyzer.h.
Referenced by SiStripElectronAnalyzer().
|
private |
Definition at line 149 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 146 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 136 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 145 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 141 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 142 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 147 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 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 150 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 101 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 153 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 131 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 103 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 109 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 70 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), and SiStripElectronAnalyzer().
|
private |
Definition at line 71 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 97 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 84 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 87 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), endJob(), 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 83 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 184 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 183 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 190 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 189 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), 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 90 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 127 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 124 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 114 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 123 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 119 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 116 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
private |
Definition at line 125 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 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 128 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 178 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 177 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), and SiStripElectronAnalyzer().
|
private |
Definition at line 105 of file SiStripElectronAnalyzer.h.
Referenced by analyze(), beginJob(), and initNtuple().
|
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().