CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  };
25  std::vector<LV> electrons;
26  std::vector<LV> muons;
27  std::vector<LV> taus;
28 };
29 
30 //Virtual base class for HLT-Tau-DQM Plotters
32 public:
33  HLTTauDQMPlotter(const edm::ParameterSet& pset, const std::string& dqmBaseFolder);
35  bool isValid() const { return configValid_ && runValid_; }
36 
37 protected:
38  //Helper functions
39  std::pair<bool,LV> match( const LV&, const LVColl&, double );
40  const std::string& triggerTag() const { return dqmFullFolder_; }
41 
42  //DQM folders
45 
46  //Validity check
48  bool runValid_;
49 };
50 #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
HLTTauDQMPlotter(const edm::ParameterSet &pset, const std::string &dqmBaseFolder)
std::pair< bool, LV > match(const LV &, const LVColl &, double)
std::string dqmFullFolder_
std::vector< LV > muons