#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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | ClearInEndRun () |
void | ClearInEventLoop () |
virtual void | endJob () override |
virtual 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 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 83 of file CosmicRateAnalyzer.cc.
|
explicit |
Definition at line 175 of file CosmicRateAnalyzer.cc.
References fs, TFileService::kSharedResource, TFileService::make(), treeCluster, treeEvent, treeRun, and usesResource().
CosmicRateAnalyzer::~CosmicRateAnalyzer | ( | ) |
Definition at line 190 of file CosmicRateAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 221 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(), i, TIDDetId::isZMinusSide(), TECDetId::isZMinusSide(), lastrunnum, lastruntime, HLT_ES_cff::magfield, muonTags_, ntrk, ntrk_runnum, nvh, p, phi, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pt, edm::RunBase::run(), stampToReal(), DetId::subdetId(), SiStripDetId::TEC, theta, SiStripDetId::TIB, SiStripDetId::TID, 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, testEve_cfg::tracks, trackTags_, treeCluster, treeEvent, and v_ntrk.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 391 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.
|
overrideprivatevirtual |
Definition at line 433 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 |
|
private |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 427 of file CosmicRateAnalyzer.cc.
Referenced by o2o.O2ORunMgr::executeJob().
|
overrideprivatevirtual |
Definition at line 456 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 478 of file CosmicRateAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns10e33_v2_cff::InputTag, and edm::ParameterSetDescription::setComment().
|
inlinestaticprivate |
Definition at line 99 of file CosmicRateAnalyzer.cc.
References alignCSCRings::e, edm::Timestamp::microsecondOffset(), and edm::Timestamp::unixTime().
Referenced by analyze().
|
private |
Definition at line 150 of file CosmicRateAnalyzer.cc.
Referenced by Vispa.Plugins.EdmBrowser.ParticleDataList.ParticleData::__repr__(), analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 151 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 152 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 106 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 157 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 112 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 158 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), ClearInEventLoop(), and Electron.Electron::cutBasedId().
|
private |
Definition at line 153 of file CosmicRateAnalyzer.cc.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), ClearInEventLoop(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
private |
Definition at line 117 of file CosmicRateAnalyzer.cc.
Referenced by eventsfwlite.Events::__getattr__(), eventsfwlite.Events::__init__(), analyze(), beginRun(), endRun(), looper.Looper::loop(), and looper.Looper::process().
|
private |
Definition at line 110 of file CosmicRateAnalyzer.cc.
Referenced by CosmicRateAnalyzer().
|
private |
Definition at line 108 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 109 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 107 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 131 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 146 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 137 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 140 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 142 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 145 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 144 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 159 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 156 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 155 of file CosmicRateAnalyzer.cc.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), and ClearInEventLoop().
|
private |
Definition at line 149 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(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
private |
Definition at line 148 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 147 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), and endRun().
|
private |
Definition at line 154 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), ClearInEventLoop(), and Tau.Tau::zImpact().
|
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 120 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 125 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 126 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 127 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 128 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 105 of file CosmicRateAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 115 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and CosmicRateAnalyzer().
|
private |
Definition at line 113 of file CosmicRateAnalyzer.cc.
Referenced by analyze(), beginJob(), and CosmicRateAnalyzer().
|
private |
Definition at line 114 of file CosmicRateAnalyzer.cc.
Referenced by beginJob(), CosmicRateAnalyzer(), and endRun().
|
private |
Definition at line 130 of file CosmicRateAnalyzer.cc.
Referenced by analyze().