25 using namespace reco ;
49 h2_ele_beamSpotXvsY =
bookH2(iBooker,
"beamSpotXvsY",
"beam spot x vs y",100,-0.2,0.2,100,-0.2,0.2,
"x (cm)",
"y (cm)") ;
72 const BeamSpot bs = *recoBeamSpotHandle ;
79 <<
"Treating "<<gsfElectrons.
product()->size()<<
" electrons" 80 <<
" from event "<<ievt<<
" in run "<<irun<<
" and lumiblock "<<ils ;
94 unsigned int i,
n = triggerResults->
size() ;
95 for ( i=0 ; i!=
n ; ++
i )
97 if (triggerResults->
accept(i))
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
T getParameter(std::string const &) const
EventNumber_t event() const
MonitorElement * py_ele_nGsfTracksVsLs
MonitorElement * h2_ele_beamSpotXvsY
MonitorElement * py_ele_nVerticesVsLs
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * py_ele_nElectronsVsLs
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
ElectronGeneralAnalyzer(const edm::ParameterSet &conf)
bool accept() const
Has at least one path accepted the event?
unsigned long long EventNumber_t
edm::LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * bookH2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
unsigned int LuminosityBlockNumber_t
MonitorElement * py_ele_nClustersVsLs
void analyze(const edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< reco::TrackCollection > trackCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
unsigned int size() const
Get number of paths stored.
~ElectronGeneralAnalyzer() override
static std::string const triggerResults
MonitorElement * bookP1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
T const * product() const
MonitorElement * h1_ele_triggers
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
const Point & position() const
position
MonitorElement * bookH1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
edm::EDGetTokenT< reco::GsfTrackCollection > gsftrackCollection_
edm::EDGetTokenT< reco::SuperClusterCollection > matchingObjectCollection_
MonitorElement * py_ele_nTracksVsLs