1 #ifndef HLTriggerOffline_Egamma_EmDQMReco_H 2 #define HLTriggerOffline_Egamma_EmDQMReco_H 20 #include "TDirectory.h" 21 #include "HepMC/GenParticle.h" 26 #include <boost/ptr_container/ptr_vector.hpp> 27 #include <boost/scoped_ptr.hpp> 38 std::vector<edm::EDGetTokenT<edm::AssociationMap<edm::OneToValue< T , float>>>>
isoNameTokens_;
87 explicit
EmDQMReco(const edm::ParameterSet& pset);
94 void
analyze(const edm::Event & event, const edm::EventSetup&) override;
97 void dqmBeginRun( const edm::Run&, const edm::EventSetup& ) override;
98 void
bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
104 std::vector<edm::InputTag> theHLTCollectionLabels;
106 unsigned
int numOfHLTCollectionLabels;
109 std::vector<std::string> theHLTCollectionHumanNames;
112 std::vector<bool> plotiso;
113 std::vector<std::vector<edm::InputTag> > isoNames;
114 std::vector<std::pair<double,double> > plotBounds;
117 bool isHltConfigInitialized_;
167 boost::ptr_vector<FourVectorMonitorElements> standardHist;
172 boost::ptr_vector<FourVectorMonitorElements> histMatchReco;
177 boost::ptr_vector<FourVectorMonitorElements> histMatchRecoMonPath;
183 boost::ptr_vector<FourVectorMonitorElements> histHltObjMatchToReco;
189 std::vector<MonitorElement*> etahistiso;
190 std::vector<MonitorElement*> ethistiso;
191 std::vector<MonitorElement*> phiHistIso;
193 std::vector<MonitorElement*> etahistisomatchreco;
194 std::vector<MonitorElement*> ethistisomatchreco;
195 std::vector<MonitorElement*> phiHistIsoMatchReco;
197 std::vector<MonitorElement*> histEtIsoOfHltObjMatchToReco;
198 std::vector<MonitorElement*> histEtaIsoOfHltObjMatchToReco;
199 std::vector<MonitorElement*> histPhiIsoOfHltObjMatchToReco;
212 boost::scoped_ptr<FourVectorMonitorElements> histReco;
217 boost::scoped_ptr<FourVectorMonitorElements> histRecoMonpath;
222 boost::scoped_ptr<FourVectorMonitorElements> histMonpath;
def analyze(function, filename, filter=None)
void fillHistos(edm::Handle< trigger::TriggerEventWithRefs > &triggerObj, const edm::Event &iEvent, unsigned int n, std::vector< reco::Particle > &sortedReco, bool plotReco, bool plotMonpath)
void bookHistograms(fwlite::EventContainer &eventCont)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
MonitorElement * etaMonitorElement
HistoFillerReco(EmDQMReco *d)
useHumanReadableHistTitles
std::vector< Electron > ElectronCollection
collectin of Electron objects
MonitorElement * phiMonitorElement
std::vector< edm::EDGetTokenT< edm::AssociationMap< edm::OneToValue< T, float > > > > isoNameTokens_
MonitorElement * etMonitorElement