CMS 3D CMS Logo

HSCParticleProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HSCParticleProducer
4 // Class: HSCParticleProducer
5 //
13 //
14 // Original Author: Loic Quertenmont
15 // Created: Wed Oct 10 12:01:28 CEST 2007
16 
17 // system include files
18 #include <memory>
19 
20 // user include files
28 
30 
38 
41 #include "Math/GenVector/VectorUtil.h"
42 
43 #include <TNtuple.h>
44 #include <TF1.h>
45 
46 #include <vector>
47 #include <iostream>
48 
49 //
50 // class decleration
51 //
53 public:
54  explicit HSCParticleProducer(const edm::ParameterSet&);
55  ~HSCParticleProducer() override;
56 
57 private:
58  void beginJob() override;
59  bool filter(edm::Event&, const edm::EventSetup&) override;
60  void endJob() override;
61 
62  std::vector<susybsm::HSCParticle> getHSCPSeedCollection(edm::Handle<reco::TrackCollection>& trackCollectionHandle,
63  edm::Handle<reco::MuonCollection>& muonCollectionHandle,
64  edm::Handle<reco::MuonCollection>& MTmuonCollectionHandle);
65 
66  // ----------member data ---------------------------
67  bool Filter_;
68 
73 
78 
79  float minTkP;
80  float maxTkChi2;
81  unsigned int minTkHits;
82  float minMuP;
83  float minSAMuPt;
84  float minMTMuPt;
85  float minDR;
86  float minMTDR;
87  float maxInvPtDiff;
88 
93 
94  std::vector<CandidateSelector*> Selectors;
95 };
BetaCalculatorECAL.h
HSCParticleProducer::minTkHits
unsigned int minTkHits
Definition: HSCParticleProducer.h:81
BetaCalculatorRPC.h
ESHandle.h
edm::EDGetTokenT< reco::TrackCollection >
HSCParticleProducer::m_MTmuonsToken
edm::EDGetTokenT< reco::MuonCollection > m_MTmuonsToken
Definition: HSCParticleProducer.h:72
EDFilter.h
HSCParticleProducer::minMuP
float minMuP
Definition: HSCParticleProducer.h:82
HSCParticleProducer::minTkP
float minTkP
Definition: HSCParticleProducer.h:79
HSCParticleProducer::~HSCParticleProducer
~HSCParticleProducer() override
Definition: HSCParticleProducer.cc:76
HSCParticleProducer::HSCParticleProducer
HSCParticleProducer(const edm::ParameterSet &)
Definition: HSCParticleProducer.cc:25
edm::Handle< reco::TrackCollection >
HSCParticleProducer::Selectors
std::vector< CandidateSelector * > Selectors
Definition: HSCParticleProducer.h:94
HSCParticleProducer::endJob
void endJob() override
Definition: HSCParticleProducer.cc:219
MakerMacros.h
Track.h
TrackFwd.h
HSCParticleProducer::m_trackToken
edm::EDGetTokenT< reco::TrackCollection > m_trackToken
Definition: HSCParticleProducer.h:69
Service.h
HSCParticleProducer::beta_calculator_RPC
BetaCalculatorRPC * beta_calculator_RPC
Definition: HSCParticleProducer.h:91
HSCParticle.h
CandidateSelector.h
HSCParticleProducer::beta_calculator_TK
BetaCalculatorTK * beta_calculator_TK
Definition: HSCParticleProducer.h:89
HSCParticleProducer::maxInvPtDiff
float maxInvPtDiff
Definition: HSCParticleProducer.h:87
HSCParticleProducer::maxTkChi2
float maxTkChi2
Definition: HSCParticleProducer.h:80
DeltaR.h
TFileService.h
HSCParticleProducer::minMTDR
float minMTDR
Definition: HSCParticleProducer.h:86
edm::ParameterSet
Definition: ParameterSet.h:47
HSCParticleProducer::beginJob
void beginJob() override
Definition: HSCParticleProducer.cc:216
HSCParticleProducer::minSAMuPt
float minSAMuPt
Definition: HSCParticleProducer.h:83
Event.h
HSCParticleProducer::useBetaFromMuon
bool useBetaFromMuon
Definition: HSCParticleProducer.h:75
BetaCalculatorMUON
Definition: BetaCalculatorMUON.h:22
HSCParticleProducer::useBetaFromRpc
bool useBetaFromRpc
Definition: HSCParticleProducer.h:76
HSCParticleProducer::beta_calculator_ECAL
BetaCalculatorECAL * beta_calculator_ECAL
Definition: HSCParticleProducer.h:92
HSCParticleProducer::m_muonsToken
edm::EDGetTokenT< reco::MuonCollection > m_muonsToken
Definition: HSCParticleProducer.h:71
HSCParticleProducer::minDR
float minDR
Definition: HSCParticleProducer.h:85
edm::EDFilter
Definition: EDFilter.h:38
edm::EventSetup
Definition: EventSetup.h:57
BetaCalculatorTK.h
HSCParticleProducer::minMTMuPt
float minMTMuPt
Definition: HSCParticleProducer.h:84
Frameworkfwd.h
HSCParticleProducer::useBetaFromTk
bool useBetaFromTk
Definition: HSCParticleProducer.h:74
HSCParticleProducer::Filter_
bool Filter_
Definition: HSCParticleProducer.h:67
BetaCalculatorMUON.h
BetaCalculatorTK
Definition: BetaCalculatorTK.h:21
HSCParticleProducer::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition: HSCParticleProducer.cc:86
HSCParticleProducer
Definition: HSCParticleProducer.h:52
HSCParticleProducer::useBetaFromEcal
bool useBetaFromEcal
Definition: HSCParticleProducer.h:77
ParameterSet.h
BetaCalculatorRPC
Definition: BetaCalculatorRPC.h:29
HSCParticleProducer::getHSCPSeedCollection
std::vector< susybsm::HSCParticle > getHSCPSeedCollection(edm::Handle< reco::TrackCollection > &trackCollectionHandle, edm::Handle< reco::MuonCollection > &muonCollectionHandle, edm::Handle< reco::MuonCollection > &MTmuonCollectionHandle)
Definition: HSCParticleProducer.cc:221
edm::Event
Definition: Event.h:73
HSCParticleProducer::beta_calculator_MUON
BetaCalculatorMUON * beta_calculator_MUON
Definition: HSCParticleProducer.h:90
HSCParticleProducer::m_trackIsoToken
edm::EDGetTokenT< reco::TrackCollection > m_trackIsoToken
Definition: HSCParticleProducer.h:70
BetaCalculatorECAL
Definition: BetaCalculatorECAL.h:31