test
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 
21 
33 
34 class RecoSelector {
35 
36  public:
37 
38  //Constructor
39  RecoSelector(const edm::ParameterSet& userCut_params, edm::ConsumesCollector&& iC);
40  //Destructor
41  virtual ~RecoSelector(){};
42 
43  //Methods
44  void handleObjects(const edm::Event&);
45  bool isSelected(const edm::Event&);
47 
48  private:
49 
50  // Define the parameters
59  double reco_metMin;
65 
71 
72 };
73 
74 #endif
edm::EDGetTokenT< reco::CaloJetCollection > m_jetsSrc
Definition: RecoSelector.h:54
virtual ~RecoSelector()
Definition: RecoSelector.h:41
edm::EDGetTokenT< reco::CaloMETCollection > m_calometSrc
Definition: RecoSelector.h:58
const reco::CaloMETCollection * theCaloMETCollection
Definition: RecoSelector.h:70
std::string GetName()
Definition: RecoSelector.cc:50
edm::EDGetTokenT< reco::GsfElectronCollection > m_electronSrc
Definition: RecoSelector.h:52
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:56
edm::EDGetTokenT< reco::PhotonCollection > m_photon_token_
Definition: RecoSelector.h:57
edm::EDGetTokenT< reco::MuonCollection > m_muonSrc
Definition: RecoSelector.h:53
double reco_ptJet2Min
Definition: RecoSelector.h:61
const reco::PhotonCollection * thePhotonCollection
Definition: RecoSelector.h:68
const reco::GsfElectronCollection * theElectronCollection
Definition: RecoSelector.h:66
bool isSelected(const edm::Event &)
Definition: RecoSelector.cc:52
std::string m_photonSrc
Definition: RecoSelector.h:55
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
RecoSelector(const edm::ParameterSet &userCut_params, edm::ConsumesCollector &&iC)
Definition: RecoSelector.cc:20
const reco::CaloJetCollection * theCaloJetCollection
Definition: RecoSelector.h:69
std::string name
Definition: RecoSelector.h:51
double reco_ptMuonMin
Definition: RecoSelector.h:63
double reco_ptElecMin
Definition: RecoSelector.h:62
const reco::MuonCollection * theMuonCollection
Definition: RecoSelector.h:67
double reco_ptJet1Min
Definition: RecoSelector.h:60
double reco_metMin
Definition: RecoSelector.h:59
double reco_ptPhotMin
Definition: RecoSelector.h:64
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects