Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HeavyIonUCCDQM_H
0002 #define HeavyIonUCCDQM_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 //CaloMET
0012 #include "DataFormats/METReco/interface/CaloMET.h"
0013 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0014 //SiPixelClusters
0015 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
0016 
0017 // Trigger
0018 #include "DataFormats/Common/interface/TriggerResults.h"
0019 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0020 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0021 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0022 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0023 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0024 
0025 class HeavyIonUCCDQM : public DQMEDAnalyzer {
0026 public:
0027   HeavyIonUCCDQM(const edm::ParameterSet& ps);
0028   ~HeavyIonUCCDQM() override;
0029 
0030 protected:
0031   void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0032   void analyze(edm::Event const& e, edm::EventSetup const& eSetup) override;
0033 
0034 private:
0035   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0036   edm::EDGetTokenT<reco::CaloMETCollection> theCaloMet;
0037   edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > theSiPixelCluster;
0038 
0039   std::string triggerPath_;
0040 
0041   int nClusters;
0042   int minClusters;
0043   int maxClusters;
0044   int nEt;
0045   double minEt;
0046   double maxEt;
0047 
0048   // histo
0049   MonitorElement* h_SumEt;
0050   MonitorElement* h_SiPixelClusters;
0051   MonitorElement* h_SumEt_SiPixelClusters;
0052 };
0053 
0054 #endif