#include <MySub/LhcTrackAnalyzer/src/LhcTrackAnalyzer.cc>
Public Member Functions | |
LhcTrackAnalyzer (const edm::ParameterSet &) | |
~LhcTrackAnalyzer () | |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
void | SetVarToZero () |
Private Attributes | |
int | charge_ [nMaxtracks_] |
double | chi2_ [nMaxtracks_] |
double | chi2ndof_ [nMaxtracks_] |
bool | debug_ |
double | dxy_ [nMaxtracks_] |
double | dz_ [nMaxtracks_] |
double | eta_ [nMaxtracks_] |
int | event_ |
std::string | filename_ |
bool | goodbx_ |
bool | goodvtx_ |
int | isHighPurity_ [nMaxtracks_] |
int | nTracks_ |
double | phi_ [nMaxtracks_] |
double | pt_ [nMaxtracks_] |
edm::InputTag | PVtxCollectionTag_ |
double | qoverp_ [nMaxtracks_] |
TFile * | rootFile_ |
TTree * | rootTree_ |
int | run_ |
edm::InputTag | TrackCollectionTag_ |
int | trkAlgo_ [nMaxtracks_] |
int | trkQuality_ [nMaxtracks_] |
int | validhits_ [nMaxtracks_][7] |
double | xPCA_ [nMaxtracks_] |
double | yPCA_ [nMaxtracks_] |
double | zPCA_ [nMaxtracks_] |
Static Private Attributes | |
static const int | nMaxtracks_ = 3000 |
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) |
Originally written by M.Musich Expanded by A. Bonato
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 56 of file LhcTrackAnalyzer.h.
|
explicit |
Definition at line 63 of file LhcTrackAnalyzer.cc.
References debug_, filename_, edm::ParameterSet::getParameter(), PVtxCollectionTag_, AlCaHLTBitMon_QueryRunRegistry::string, and TrackCollectionTag_.
LhcTrackAnalyzer::~LhcTrackAnalyzer | ( | ) |
Definition at line 74 of file LhcTrackAnalyzer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 89 of file LhcTrackAnalyzer.cc.
References funct::abs(), reco::TrackBase::algoName(), charge_, chi2_, chi2ndof_, gather_cfg::cout, reco::TrackBase::ctf, ztail::d, debug_, reco::TrackBase::detachedQuadStep, reco::TrackBase::detachedTripletStep, dxy_, dz_, eta_, edm::EventID::event(), event_, Exception, edm::Event::getByLabel(), goodbx_, goodvtx_, reco::TrackBase::highPtTripletStep, reco::TrackBase::highPurity, edm::EventBase::id(), reco::TrackBase::initialStep, isHighPurity_, reco::TrackBase::jetCoreRegionalStep, reco::TrackBase::loose, reco::TrackBase::lowPtQuadStep, reco::TrackBase::lowPtTripletStep, reco::TrackBase::mixedTripletStep, nMaxtracks_, nTracks_, phi_, reco::TrackBase::pixelLessStep, reco::TrackBase::pixelPairStep, pt_, PVtxCollectionTag_, qoverp_, dt_dqm_sourceclient_common_cff::reco, rootTree_, edm::EventID::run(), run_, SetVarToZero(), reco::TrackBase::tight, reco::TrackBase::tobTecStep, TrackCollectionTag_, trkAlgo_, trkQuality_, reco::TrackBase::undefAlgorithm, reco::TrackBase::undefQuality, validhits_, xPCA_, yPCA_, and zPCA_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 213 of file LhcTrackAnalyzer.cc.
References charge_, chi2_, chi2ndof_, dxy_, dz_, eta_, event_, filename_, goodbx_, goodvtx_, isHighPurity_, nTracks_, phi_, pt_, qoverp_, rootFile_, rootTree_, run_, trkAlgo_, trkQuality_, validhits_, xPCA_, yPCA_, and zPCA_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 247 of file LhcTrackAnalyzer.cc.
References rootFile_.
Referenced by o2o.O2ORunMgr::executeJob().
|
private |
Definition at line 258 of file LhcTrackAnalyzer.cc.
References charge_, chi2_, chi2ndof_, dxy_, dz_, eta_, event_, i, isHighPurity_, j, nMaxtracks_, nTracks_, phi_, pt_, qoverp_, run_, trkAlgo_, trkQuality_, validhits_, xPCA_, yPCA_, and zPCA_.
Referenced by analyze().
|
private |
Definition at line 90 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 88 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 89 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 70 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 93 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 92 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 86 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 84 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 73 of file LhcTrackAnalyzer.h.
Referenced by beginJob(), and LhcTrackAnalyzer().
|
private |
Definition at line 101 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 102 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 99 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
staticprivate |
Definition at line 81 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and SetVarToZero().
|
private |
Definition at line 82 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 87 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 85 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 69 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 91 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 74 of file LhcTrackAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 75 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 68 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 97 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 98 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 100 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 94 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 95 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 96 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().