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
15 
17 typedef std::vector<LV> LVColl;
18 
20  void clear() {
21  electrons.clear();
22  muons.clear();
23  taus.clear();
24  met.clear();
25  };
26  std::vector<LV> electrons;
27  std::vector<LV> muons;
28  std::vector<LV> taus;
29  std::vector<LV> met;
30 };
31 
32 //Virtual base class for HLT-Tau-DQM Plotters
34 public:
35  HLTTauDQMPlotter(const edm::ParameterSet& pset, const std::string& dqmBaseFolder);
36  HLTTauDQMPlotter(const std::string& dqmFolder, const std::string& dqmBaseFolder);
38  bool isValid() const { return configValid_; }
39 
40 protected:
41  //Helper functions
42  std::pair<bool,LV> match( const LV&, const LVColl&, double );
43  const std::string& triggerTag() const { return dqmFullFolder_; }
44 
45  //DQM folders
48 
49  //Validity check
51 };
52 #endif
bool isValid() const
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
const std::string & triggerTag() const
std::string dqmFolder_
math::XYZTLorentzVectorD LV
std::vector< LV > LVColl
std::vector< LV > met
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
std::string dqmFullFolder_
std::vector< LV > muons