![]() |
![]() |
#include <MySub/LhcTrackAnalyzer/src/LhcTrackAnalyzer.cc>
Public Member Functions | |
LhcTrackAnalyzer (const edm::ParameterSet &) | |
~LhcTrackAnalyzer () | |
![]() | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
![]() | |
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 | |
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 | |
![]() | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
![]() | |
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 57 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 abs, charge_, chi2_, chi2ndof_, gather_cfg::cout, reco::TrackBase::ctf, debug_, dxy_, dz_, eta_, edm::EventID::event(), event_, edm::Event::getByLabel(), goodbx_, goodvtx_, reco::TrackBase::highPurity, edm::EventBase::id(), isHighPurity_, reco::TrackBase::iter0, reco::TrackBase::iter1, reco::TrackBase::iter2, reco::TrackBase::iter3, reco::TrackBase::iter4, reco::TrackBase::iter5, reco::TrackBase::iter6, reco::TrackBase::iter7, reco::TrackBase::loose, nMaxtracks_, nTracks_, phi_, pt_, PVtxCollectionTag_, qoverp_, L1Trigger_dataformats::reco, rootTree_, edm::EventID::run(), run_, SetVarToZero(), reco::TrackBase::tight, TrackCollectionTag_, trkAlgo_, trkQuality_, reco::TrackBase::undefAlgorithm, reco::TrackBase::undefQuality, validhits_, xPCA_, yPCA_, and zPCA_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 207 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 241 of file LhcTrackAnalyzer.cc.
References rootFile_.
|
private |
Definition at line 252 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 91 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 90 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 71 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 94 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 93 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 74 of file LhcTrackAnalyzer.h.
Referenced by beginJob(), and LhcTrackAnalyzer().
|
private |
Definition at line 102 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 103 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
staticprivate |
Definition at line 82 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and SetVarToZero().
|
private |
Definition at line 83 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 86 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 92 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 75 of file LhcTrackAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 76 of file LhcTrackAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 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 98 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 99 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 101 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().
|
private |
Definition at line 97 of file LhcTrackAnalyzer.h.
Referenced by analyze(), beginJob(), and SetVarToZero().