CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoSelector.h
Go to the documentation of this file.
1 #ifndef RecoSelector_h
2 #define RecoSelector_h
3 
4 /* \class RecoSelector
5 *
6 * Class to apply analysis cuts in the TriggerValidation Code
7 *
8 * Author: Massimiliano Chiorboli Date: August 2007
9 // Maurizio Pierini
10 // Maria Spiropulu
11 *
12 */
13 #include <memory>
14 #include <string>
15 #include <iostream>
16 
20 
32 
33 class RecoSelector {
34 
35  public:
36 
37  //Constructor
38  RecoSelector(edm::ParameterSet userCut_params);
39  //Destructor
40  virtual ~RecoSelector(){};
41 
42  //Methods
43  void handleObjects(const edm::Event&);
44  bool isSelected(const edm::Event&);
45  std::string GetName();
46 
47  private:
48 
49  // Define the parameters
50  std::string name;
51  std::string m_electronSrc;
52  std::string m_muonSrc;
53  std::string m_jetsSrc;
54  std::string m_photonSrc;
55  std::string m_photonProducerSrc;
56  std::string m_calometSrc;
57  double reco_metMin;
63 
69 
70 };
71 
72 #endif
virtual ~RecoSelector()
Definition: RecoSelector.h:40
RecoSelector(edm::ParameterSet userCut_params)
Definition: RecoSelector.cc:20
const reco::CaloMETCollection * theCaloMETCollection
Definition: RecoSelector.h:68
std::string GetName()
Definition: RecoSelector.cc:49
std::string m_jetsSrc
Definition: RecoSelector.h:53
std::string m_calometSrc
Definition: RecoSelector.h:56
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
void handleObjects(const edm::Event &)
std::string m_photonProducerSrc
Definition: RecoSelector.h:55
double reco_ptJet2Min
Definition: RecoSelector.h:59
const reco::PhotonCollection * thePhotonCollection
Definition: RecoSelector.h:66
std::string m_electronSrc
Definition: RecoSelector.h:51
const reco::GsfElectronCollection * theElectronCollection
Definition: RecoSelector.h:64
bool isSelected(const edm::Event &)
Definition: RecoSelector.cc:51
std::string m_photonSrc
Definition: RecoSelector.h:54
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
const reco::CaloJetCollection * theCaloJetCollection
Definition: RecoSelector.h:67
std::string name
Definition: RecoSelector.h:50
double reco_ptMuonMin
Definition: RecoSelector.h:61
double reco_ptElecMin
Definition: RecoSelector.h:60
std::string m_muonSrc
Definition: RecoSelector.h:52
const reco::MuonCollection * theMuonCollection
Definition: RecoSelector.h:65
double reco_ptJet1Min
Definition: RecoSelector.h:58
double reco_metMin
Definition: RecoSelector.h:57
double reco_ptPhotMin
Definition: RecoSelector.h:62
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects