CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTauRelvalQTester.cc
Go to the documentation of this file.
2 //#include "DataFormats/Math/interface/LorentzVector.h"
3 
4 
5 
6 
9 {
10  refMothers_ = ps.getParameter<edm::InputTag >("refMothers");
11  mothers_ = ps.getParameter<std::vector<int> >("mothers");
12  runQTests = false;
13 }
14 
16 {
17 
18 }
19 
20 
21 
22 void
24 {
25  edm::Handle<std::vector<int> > refMothers;
26  if(e.getByLabel(refMothers_,refMothers))
27  for(unsigned int i=0;i<refMothers->size();++i)
28  {
29  int mother = (*refMothers)[i];
30  for(unsigned int j=0;j<mothers_.size();++j)
31  {
32  if(mothers_[j]==mother)
33  runQTests = true;
34  }
35 
36  if(runQTests)
37  {
39  }
40  }
41 }
42 
43 void
45 {
47 
48 }
49 
50 
51 void
53 {
55 
56 }
57 
58 
59 void
61 {
63 
64 }
65 
T getParameter(std::string const &) const
void endRun(const edm::Run &r, const edm::EventSetup &c)
int i
Definition: DBlmapReader.cc:9
std::vector< int > mothers_
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
void endRun(const edm::Run &r, const edm::EventSetup &c)
int j
Definition: DBlmapReader.cc:9
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
perform the actual quality tests
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:359
HLTTauRelvalQTester(const edm::ParameterSet &ps)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: Run.h:31