#include <CosmicTrackTool/CosmicRateAnalyzer/plugins/CosmicRateAnalyzer.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 | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | ClearInEndRun () |
void | ClearInEventLoop () |
void | endJob () override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
Static Private Member Functions | |
static double | stampToReal (edm::Timestamp time) |
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) |
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<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 : This Analyzer creates tuple, having necessary infromation for cosmic track and event rate calculations. Tuple created by this analyzer also have some kinematical information. This tuple is input of some offline macros that make rate plots and kinematical plots.
Implementation : Documentation for running this tool is described in twiki : https://twiki.cern.ch/twiki/bin/view/CMS/TkAlCosmicsRateMonitoring
Definition at line 79 of file CosmicRateAnalyzer.cc.
|
explicit |
Definition at line 171 of file CosmicRateAnalyzer.cc.
References fs, TFileService::kSharedResource, TFileService::make(), treeCluster, treeEvent, and treeRun.
|
override |
Definition at line 186 of file CosmicRateAnalyzer.cc.
|
overrideprivate |
Definition at line 217 of file CosmicRateAnalyzer.cc.
References edm::RunBase::beginTime(), charge, chi2, chi2_ndof, ClearInEventLoop(), clustercollectionToken_, d0, DetectorID, DTtime, dz, edm::RunBase::endTime(), eta, events, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getRun(), mps_fire::i, lastrunnum, lastruntime, muonTags_, ntrk, ntrk_runnum, nvh, p, phi, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::Handle< T >::product(), pt, edm::RunBase::run(), stampToReal(), DetId::subdetId(), SiStripDetId::TEC, TrackerTopology::tecIsZMinusSide(), theta, SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidIsZMinusSide(), ntuplemaker::time, reco::MuonTime::timeAtIpInOut, SiStripDetId::TOB, track_BPIX, track_FPIX, track_PIXEL, track_TEC, track_TECM, track_TECP, track_TIB, track_TID, track_TIDM, track_TIDP, track_TOB, l1t::tracks, trackTags_, treeCluster, treeEvent, and v_ntrk.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 388 of file CosmicRateAnalyzer.cc.
References charge, chi2, chi2_ndof, d0, DetectorID, DTtime, dz, eta, ntrk, number_of_events, number_of_tracks, number_of_tracks_BPIX, number_of_tracks_FPIX, number_of_tracks_PIX, number_of_tracks_TEC, number_of_tracks_TECM, number_of_tracks_TECP, number_of_tracks_TIB, number_of_tracks_TID, number_of_tracks_TIDM, number_of_tracks_TIDP, number_of_tracks_TOB, nvh, p, phi, pt, run_time, runnum, theta, treeCluster, treeEvent, and treeRun.
|
overrideprivate |
Definition at line 430 of file CosmicRateAnalyzer.cc.
References events, lastrunnum, lastruntime, ntrk_runnum, track_BPIX, track_FPIX, track_PIXEL, track_TEC, track_TECM, track_TECP, track_TIB, track_TID, track_TIDM, track_TIDP, and track_TOB.
|
private |
Referenced by stampToReal().
|
private |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 424 of file CosmicRateAnalyzer.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overrideprivate |
Definition at line 453 of file CosmicRateAnalyzer.cc.
References events, lastrunnum, lastruntime, ntrk_runnum, number_of_events, number_of_tracks, number_of_tracks_BPIX, number_of_tracks_FPIX, number_of_tracks_PIX, number_of_tracks_TEC, number_of_tracks_TECM, number_of_tracks_TECP, number_of_tracks_TIB, number_of_tracks_TID, number_of_tracks_TIDM, number_of_tracks_TIDP, number_of_tracks_TOB, run_time, runnum, track_BPIX, track_FPIX, track_PIXEL, track_TEC, track_TECM, track_TECP, track_TIB, track_TID, track_TIDM, track_TIDP, track_TOB, and treeRun.
|
static |
Definition at line 475 of file CosmicRateAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setComment().
|
inlinestaticprivate |
Definition at line 95 of file CosmicRateAnalyzer.cc.
References ClearInEndRun(), ClearInEventLoop(), MillePedeFileConverter_cfg::e, edm::Timestamp::microsecondOffset(), and edm::Timestamp::unixTime().
Referenced by analyze().
|
private |
Definition at line 146 of file CosmicRateAnalyzer.cc.
Referenced by Vispa.Plugins.EdmBrowser.ParticleDataList.ParticleData::__repr__(), analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 147 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 148 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 102 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 153 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 108 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 156 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 154 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), ClearInEventLoop(), Electron.Electron::cutBasedId(), and ntupleDataFormat.Track::dzPull().
|
private |
Definition at line 149 of file CosmicRateAnalyzer.cc.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), ClearInEventLoop(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
private |
Definition at line 113 of file CosmicRateAnalyzer.cc.
Referenced by eventsfwlite.Events::__getattr__(), analyze(), beginRun(), endRun(), looper.Looper::loop(), and looper.Looper::process().
|
private |
Definition at line 106 of file CosmicRateAnalyzer.cc.
Referenced by CosmicRateAnalyzer().
|
private |
Definition at line 104 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 105 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 103 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 127 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 128 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 142 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 130 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 133 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 132 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 131 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 134 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 136 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 135 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 138 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 139 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 141 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 140 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 137 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 155 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 152 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), ClearInEventLoop(), Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), and Electron.Electron::ptErr().
|
private |
Definition at line 151 of file CosmicRateAnalyzer.cc.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), ClearInEventLoop(), and ntupleDataFormat.Track::phiPull().
|
private |
Definition at line 145 of file CosmicRateAnalyzer.cc.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), analyze(), beginJob(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), ClearInEventLoop(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
private |
Definition at line 144 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 143 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 150 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), ClearInEventLoop(), and Tau.Tau::zImpact().
|
private |
Definition at line 114 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 115 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 116 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 117 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 118 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 119 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 121 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 122 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 123 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 124 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 120 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 101 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and CosmicRateAnalyzer().
|
private |
Definition at line 109 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and CosmicRateAnalyzer().
|
private |
Definition at line 110 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), CosmicRateAnalyzer(), and endRun().
|
private |
Definition at line 126 of file CosmicRateAnalyzer.cc.
Referenced by analyze().