CMS 3D CMS Logo

HLTTauDQMPlotter.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 #ifndef HLTTauDQMPlotter_h
3 #define HLTTauDQMPlotter_h
4 
9 
11 
12 //Include DQM core
14 
16 using LVColl = std::vector<LV>;
17 
19  void clear() {
20  electrons.clear();
21  muons.clear();
22  taus.clear();
23  met.clear();
24  };
25  std::vector<LV> electrons;
26  std::vector<LV> muons;
27  std::vector<LV> taus;
28  std::vector<LV> met;
29 };
30 
31 //Virtual base class for HLT-Tau-DQM Plotters
33 public:
36  HLTTauDQMPlotter(const edm::ParameterSet& pset, std::string dqmBaseFolder);
37  HLTTauDQMPlotter(const std::string& dqmFolder, const std::string& dqmBaseFolder);
39  bool isValid() const { return configValid_; }
40 
41 protected:
42  //Helper functions
43  std::pair<bool, LV> match(const LV&, const LVColl&, double);
44  const std::string& triggerTag() const { return dqmFullFolder_; }
45 
46  //DQM folders
49 
50  //Validity check
52 };
53 #endif
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
std::vector< LV > electrons
std::vector< LV > taus
math::XYZTLorentzVectorD LV
dqm::legacy::MonitorElement MonitorElement
bool isValid() const
std::string dqmFolder_
dqm::legacy::DQMStore DQMStore
std::vector< LV > met
HLTTauDQMPlotter(const edm::ParameterSet &pset, std::string dqmBaseFolder)
std::vector< LV > LVColl
std::pair< bool, LV > match(const LV &, const LVColl &, double)
std::string dqmFullFolder_
const std::string & triggerTag() const
std::vector< LV > muons