CMS 3D CMS Logo

EgammaTrackExtractor.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_EgammaTrackExtractor_H
2 #define EgammaIsolationProducers_EgammaTrackExtractor_H
3 
4 #include <string>
5 #include <vector>
6 
7 
16 
17 namespace egammaisolation {
18 
20 
21 public:
22 
25  EgammaTrackExtractor(par, iC) {}
27 
28  ~EgammaTrackExtractor() override{}
29 
30  void fillVetos (const edm::Event & ev,
31  const edm::EventSetup & evSetup, const reco::TrackCollection & track) override {}
32 
34  const edm::EventSetup & evSetup, const reco::Track & track)const;
35 
37  const edm::EventSetup & evSetup, const reco::Track & muon) const override {
38  edm::LogWarning("EgammaIsolationAlgos|EgammaTrackExtractor")
39  << "This Function is not implemented, bad IsoDeposit Returned";
41  }
42 
44  const edm::EventSetup & evSetup, const reco::Candidate & muon) const override;
45 
46 private:
48 private:
49  // Parameter set
52  double minCandEt_;
53  double theDiff_r;
54  double theDiff_z;
55  double theDR_Max;
56  double theDR_Veto;
61  unsigned int theNHits_Min;
62  double theChi2Ndof_Max;
63  double theChi2Prob_Min;
64  double thePt_Min;
65  std::vector<double> paramForIsolBarrel_;
66  std::vector<double> paramForIsolEndcap_;
68  int dzOption;
69 };
70 
71 }
72 
73 #endif
double theDR_Veto
Maximum cone angle for deposits.
edm::EDGetTokenT< edm::View< reco::Track > > theTrackCollectionToken
std::string dzOptionString
Endcap requirements to determine if isolated for selective filling.
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:15
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
bool ev
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
double theDiff_r
minimum candidate et
EgammaTrackExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
edm::InputTag barrelEcalHitsTag_
"NONE", "BeamSpotFromEvent"
std::string theDepositLabel
Track Collection Label.
reco::IsoDeposit IsoDeposit
Definition: Isolation.h:7
double theDiff_z
transverse distance to vertex
std::vector< double > paramForIsolBarrel_
min track pt to include into iso deposit
unsigned int theNHits_Min
BeamSpot name.
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
std::vector< Veto > Vetos
Definition: IsoDeposit.h:63
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
double theDR_Max
z distance to vertex
dbl *** dir
Definition: mlp_gen.cc:35
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
std::string theBeamlineOption
Veto cone angle.
std::vector< double > paramForIsolEndcap_
Barrel requirements to determine if isolated for selective filling.