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 #ifndef HLTTauDQMPlotter_h
2 #define HLTTauDQMPlotter_h
3 
12 
15 
16 //Include DQM core
19 
20 #include "Math/GenVector/VectorUtil.h"
21 
23 typedef std::vector<LV> LVColl;
24 
25 //Virtual base class for HLT-Tau-DQM Plotters
27 public:
29  virtual ~HLTTauDQMPlotter();
30  virtual const std::string name() = 0;
31  bool isValid() const { return validity_; }
32 
33 protected:
34  //Helper functions
35  std::pair<bool,LV> match( const LV&, const LVColl&, double );
36  std::string triggerTag();
37 
38  class FilterObject {
39  public:
40  FilterObject( const edm::ParameterSet& ps );
41  virtual ~FilterObject();
42 
44  double getMatchDeltaR() const { return MatchDeltaR_; }
45  unsigned int getNTriggeredTaus() const { return NTriggeredTaus_; }
46  int getTauType() const { return TauType_; }
47  unsigned int getNTriggeredLeptons() const { return NTriggeredLeptons_; }
48  int getLeptonType() const { return LeptonType_; }
49  int leptonId();
50  std::string getAlias() const { return Alias_; }
51  bool isValid() const { return validity_; }
52 
53  private:
55  double MatchDeltaR_;
56  unsigned int NTriggeredTaus_;
57  int TauType_;
58  unsigned int NTriggeredLeptons_;
60  std::string Alias_;
61  bool validity_;
62  };
63 
64  //DQM store service
66 
67  //Name of the Plotter
68  std::string name_;
69 
70  //DQM folders
71  std::string dqmBaseFolder_;
72  std::string triggerTag_;
73  std::string triggerTagAlias_;
74 
75  //Validity check
76  bool validity_;
77 };
78 #endif
bool isValid() const
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:15
virtual ~HLTTauDQMPlotter()
unsigned int getNTriggeredTaus() const
math::XYZTLorentzVectorD LV
std::vector< LV > LVColl
FilterObject(const edm::ParameterSet &ps)
std::string triggerTagAlias_
virtual const std::string name()=0
unsigned int getNTriggeredLeptons() const
std::string triggerTag()
std::pair< bool, LV > match(const LV &, const LVColl &, double)
std::string triggerTag_
edm::InputTag getFilterName() const
std::string dqmBaseFolder_
std::string getAlias() const