#include <Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
void | SetVarToZero () |
Private Attributes | |
std::vector< unsigned int > | acceptedBX_ |
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::EDGetTokenT< reco::TrackCollection > | theTrackCollectionToken |
edm::EDGetTokenT< reco::VertexCollection > | theVertexCollectionToken |
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 constexpr int | nMaxtracks_ = 3000 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Originally written by M.Musich Expanded by A. Bonato
Description: Ntuplizer for collision tracks
Definition at line 43 of file LhcTrackAnalyzer.cc.
|
explicit |
Definition at line 98 of file LhcTrackAnalyzer.cc.
References PVtxCollectionTag_, theTrackCollectionToken, theVertexCollectionToken, and TrackCollectionTag_.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 114 of file LhcTrackAnalyzer.cc.
References funct::abs(), acceptedBX_, reco::TrackBase::algoName(), simKBmtfDigis_cfi::bx, charge_, chi2_, chi2ndof_, reco::TrackBase::cosmics, reco::TrackBase::ctf, ztail::d, debug_, reco::TrackBase::detachedQuadStep, reco::TrackBase::detachedTripletStep, reco::TrackBase::duplicateMerge, dxy_, dz_, eta_, event_, spr::find(), goodbx_, goodvtx_, reco::TrackBase::highPtTripletStep, reco::TrackBase::highPurity, iEvent, reco::TrackBase::initialStep, isHighPurity_, reco::TrackBase::jetCoreRegionalStep, reco::TrackBase::loose, reco::TrackBase::lowPtQuadStep, reco::TrackBase::lowPtTripletStep, reco::TrackBase::mixedTripletStep, reco::TrackBase::muonSeededStepInOut, reco::TrackBase::muonSeededStepOutIn, nMaxtracks_, nTracks_, phi_, reco::TrackBase::pixelLessStep, reco::TrackBase::pixelPairStep, pt_, qoverp_, rootTree_, run_, SetVarToZero(), theTrackCollectionToken, theVertexCollectionToken, reco::TrackBase::tight, reco::TrackBase::tobTecStep, HLT_2023v12_cff::track, pwdgSkimBPark_cfi::tracks, trkAlgo_, trkQuality_, reco::TrackBase::undefAlgorithm, reco::TrackBase::undefQuality, validhits_, AlignmentTracksFromVertexSelector_cfi::vertices, extraflags_cff::vtx, xPCA_, yPCA_, and zPCA_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 256 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_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 289 of file LhcTrackAnalyzer.cc.
References rootFile_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 299 of file LhcTrackAnalyzer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 313 of file LhcTrackAnalyzer.cc.
References charge_, chi2_, chi2ndof_, dxy_, dz_, eta_, event_, mps_fire::i, isHighPurity_, dqmiolumiharvest::j, nMaxtracks_, nTracks_, phi_, pt_, qoverp_, run_, trkAlgo_, trkQuality_, validhits_, xPCA_, yPCA_, and zPCA_.
Referenced by analyze().
|
private |
Definition at line 58 of file LhcTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 79 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 80 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 57 of file LhcTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 83 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 77 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 75 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 64 of file LhcTrackAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 92 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 93 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 90 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
staticprivate |
Definition at line 72 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and SetVarToZero().
|
private |
Definition at line 73 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 78 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 76 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 56 of file LhcTrackAnalyzer.cc.
Referenced by LhcTrackAnalyzer().
|
private |
Definition at line 82 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 65 of file LhcTrackAnalyzer.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 66 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 60 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 61 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), and LhcTrackAnalyzer().
|
private |
Definition at line 55 of file LhcTrackAnalyzer.cc.
Referenced by LhcTrackAnalyzer().
|
private |
Definition at line 88 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 89 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 91 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 85 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 86 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().
|
private |
Definition at line 87 of file LhcTrackAnalyzer.cc.
Referenced by analyze(), beginJob(), and SetVarToZero().