CMS 3D CMS Logo

TauValidationMiniAOD.h
Go to the documentation of this file.
1 #ifndef TauValidationMiniAOD_h
2 #define TauValidationMiniAOD_h
3 
4 // -*- C++ -*-
5 //
6 // Package: TauValidationMiniAOD
7 // Class: TauValidationMiniAOD
8 //
9 /* *\class TauValidationMiniAOD TauValidationMiniAOD.cc
10 
11  Description: EDAnalyzer to validate tau collection in miniAOD
12  Implementation:
13 
14 */
15 // Original Author: Aniello Spiezia On August 13, 2019
16 // user include files
17 
30 
31 // Include DQM core
35 
36 struct histoInfo {
37  int nbins;
38  double min;
39  double max;
40  histoInfo(int n, double m, double M) {
41  nbins = n;
42  min = m;
43  max = M;
44  }
46  nbins = config.getParameter<int>("nbins");
47  min = config.getParameter<double>("min");
48  max = config.getParameter<double>("max");
49  }
50 };
51 
52 // class declaration
54 public:
55  explicit TauValidationMiniAOD(const edm::ParameterSet &);
56  ~TauValidationMiniAOD() override;
57 
58  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
59  void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override;
60 
61 private:
64  std::map<std::string, MonitorElement *> ptMap, etaMap, phiMap, massMap, decayModeFindingMap, decayModeMap,
68  std::vector<edm::ParameterSet> discriminators_;
69 };
70 
71 #endif
TauValidationMiniAOD::phiMap
std::map< std::string, MonitorElement * > phiMap
Definition: TauValidationMiniAOD.h:64
MessageLogger.h
histoInfo::max
double max
Definition: TauValidationMiniAOD.h:39
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
TauValidationMiniAOD::~TauValidationMiniAOD
~TauValidationMiniAOD() override
Definition: TauValidationMiniAOD.cc:33
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
TauValidationMiniAOD::byDeepTau2017v2p1VSmurawMap
std::map< std::string, MonitorElement * > byDeepTau2017v2p1VSmurawMap
Definition: TauValidationMiniAOD.h:64
DQMStore.h
TauValidationMiniAOD::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: TauValidationMiniAOD.cc:35
EDAnalyzer.h
Tau.h
TauValidationMiniAOD::refCollectionInputTagToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > refCollectionInputTagToken_
Definition: TauValidationMiniAOD.h:63
TauValidationMiniAOD::byDeepTau2017v2p1VSerawMap
std::map< std::string, MonitorElement * > byDeepTau2017v2p1VSerawMap
Definition: TauValidationMiniAOD.h:64
config
Definition: config.py:1
MakerMacros.h
TauValidationMiniAOD::massMap
std::map< std::string, MonitorElement * > massMap
Definition: TauValidationMiniAOD.h:64
Service.h
GenericTriggerEventFlag.h
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
TauValidationMiniAOD::etaMap
std::map< std::string, MonitorElement * > etaMap
Definition: TauValidationMiniAOD.h:64
TauValidationMiniAOD
Definition: TauValidationMiniAOD.h:53
histoInfo::min
double min
Definition: TauValidationMiniAOD.h:38
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
MonitorElement.h
edm::ParameterSet
Definition: ParameterSet.h:47
TauValidationMiniAOD::decayModeFindingMap
std::map< std::string, MonitorElement * > decayModeFindingMap
Definition: TauValidationMiniAOD.h:64
Event.h
histoInfo::histoInfo
histoInfo(int n, double m, double M)
Definition: TauValidationMiniAOD.h:40
deltaR.h
TauValidationMiniAOD::ptMap
std::map< std::string, MonitorElement * > ptMap
Definition: TauValidationMiniAOD.h:64
TauValidationMiniAOD::summaryMap
std::map< std::string, MonitorElement * > summaryMap
Definition: TauValidationMiniAOD.h:64
LorentzVector.h
histoInfo::nbins
int nbins
Definition: TauValidationMiniAOD.h:37
iEvent
int iEvent
Definition: GenABIO.cc:224
TauValidationMiniAOD::extensionName_
std::string extensionName_
Definition: TauValidationMiniAOD.h:67
histoInfo
Definition: TauValidationMiniAOD.h:36
edm::EventSetup
Definition: EventSetup.h:57
TauValidationMiniAOD::analyze
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: TauValidationMiniAOD.cc:129
TauValidationMiniAOD::TauValidationMiniAOD
TauValidationMiniAOD(const edm::ParameterSet &)
Definition: TauValidationMiniAOD.cc:26
histoInfo::histoInfo
histoInfo(const edm::ParameterSet &config)
Definition: TauValidationMiniAOD.h:45
TauValidationMiniAOD::discriminators_
std::vector< edm::ParameterSet > discriminators_
Definition: TauValidationMiniAOD.h:68
TauValidationMiniAOD::histoSettings_
edm::ParameterSet histoSettings_
Definition: TauValidationMiniAOD.h:66
TauValidationMiniAOD::byDeepTau2017v2p1VSjetrawMap
std::map< std::string, MonitorElement * > byDeepTau2017v2p1VSjetrawMap
Definition: TauValidationMiniAOD.h:64
TauValidationMiniAOD::tauCollection_
edm::EDGetTokenT< std::vector< pat::Tau > > tauCollection_
Definition: TauValidationMiniAOD.h:62
TauValidationMiniAOD::decayModeMap
std::map< std::string, MonitorElement * > decayModeMap
Definition: TauValidationMiniAOD.h:64
PFTau.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
edm::Event
Definition: Event.h:73
Vector3D.h