25 using namespace reco ;
72 const BeamSpot bs = *recoBeamSpotHandle ;
75 int irun = iEvent.
id().
run();
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 * bookP1(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")
MonitorElement * h2_ele_beamSpotXvsY
MonitorElement * bookH1(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")
MonitorElement * py_ele_nVerticesVsLs
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * py_ele_nElectronsVsLs
ElectronGeneralAnalyzer(const edm::ParameterSet &conf)
edm::LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * py_ele_nClustersVsLs
edm::EDGetTokenT< reco::TrackCollection > trackCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
static std::string const triggerResults
edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
MonitorElement * h1_ele_triggers
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
T const * product() const
MonitorElement * bookH2(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")
const Point & position() const
position
edm::EDGetTokenT< reco::GsfTrackCollection > gsftrackCollection_
edm::EDGetTokenT< reco::SuperClusterCollection > matchingObjectCollection_
MonitorElement * py_ele_nTracksVsLs
virtual ~ElectronGeneralAnalyzer()