Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:18

0001 #ifndef EventShapeDQM_H
0002 #define EventShapeDQM_H
0003 //event
0004 #include "FWCore/Framework/interface/Event.h"
0005 #include "FWCore/Framework/interface/EventSetup.h"
0006 
0007 //DQM
0008 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 
0011 //EP
0012 #include "DataFormats/HeavyIonEvent/interface/EvtPlane.h"
0013 
0014 // Trigger
0015 #include "DataFormats/Common/interface/TriggerResults.h"
0016 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0017 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0018 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0019 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0020 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0021 
0022 class EventShapeDQM : public DQMEDAnalyzer {
0023 public:
0024   EventShapeDQM(const edm::ParameterSet& ps);
0025   ~EventShapeDQM() override;
0026 
0027 protected:
0028   void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0029   void analyze(edm::Event const& e, edm::EventSetup const& eSetup) override;
0030 
0031 private:
0032   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0033   edm::EDGetTokenT<reco::EvtPlaneCollection> theEPCollection_;
0034 
0035   std::string triggerPath_;
0036   int order_;
0037   int EPidx_;
0038   int EPlvl_;
0039 
0040   // histo
0041   MonitorElement* h_Q;
0042 };
0043 
0044 #endif