CMS 3D CMS Logo

TrackExtractor.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_TrackExtractor_H
2 #define MuonIsolation_TrackExtractor_H
3 
4 #include <string>
5 #include <vector>
6 
8 
15 
16 namespace muonisolation {
17 
19  public:
22 
23  ~TrackExtractor() override {}
24 
25  void fillVetos(const edm::Event& ev, const edm::EventSetup& evSetup, const reco::TrackCollection& track) override {}
26 
28  const edm::EventSetup& evSetup,
29  const reco::Track& track) const;
30 
32  const edm::EventSetup& evSetup,
33  const reco::Track& muon) const override;
34 
35  private:
37 
38  private:
39  // Parameter set
42  double theDiff_r;
43  double theDiff_z;
44  double theDR_Max;
45  double theDR_Veto;
48  unsigned int theNHits_Min;
49  double theChi2Ndof_Max;
50  double theChi2Prob_Min;
51  double thePt_Min;
52  };
53 
54 } // namespace muonisolation
55 
56 #endif
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
muonisolation::TrackExtractor::theNHits_Min
unsigned int theNHits_Min
BeamSpot name.
Definition: TrackExtractor.h:48
muonisolation::TrackExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override
Definition: TrackExtractor.h:25
muon
Definition: MuonCocktails.h:17
edm::EDGetTokenT< reco::TrackCollection >
reco::IsoDeposit::Veto
Definition: IsoDeposit.h:59
muonisolation::TrackExtractor::theDR_Veto
double theDR_Veto
Maximum cone angle for deposits.
Definition: TrackExtractor.h:45
muonisolation::TrackExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
Definition: TrackExtractor.cc:43
Track.h
TrackFwd.h
BeamSpot.h
muonisolation::TrackExtractor::theDiff_r
double theDiff_r
name for deposit
Definition: TrackExtractor.h:42
reco::Track
Definition: Track.h:27
muonisolation::TrackExtractor::veto
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
Definition: TrackExtractor.cc:36
IsoDeposit.h
IsoDepositExtractor.h
edm::ParameterSet
Definition: ParameterSet.h:47
muonisolation::TrackExtractor::theTrackCollectionToken
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken
Definition: TrackExtractor.h:40
muonisolation::TrackExtractor::theDiff_z
double theDiff_z
transverse distance to vertex
Definition: TrackExtractor.h:43
muonisolation::TrackExtractor::vetos
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition: TrackExtractor.cc:29
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation::TrackExtractor::theChi2Ndof_Max
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
Definition: TrackExtractor.h:49
muonisolation
Definition: CandViewExtractor.h:16
muonisolation::TrackExtractor::theDR_Max
double theDR_Max
z distance to vertex
Definition: TrackExtractor.h:44
muonisolation::TrackExtractor::TrackExtractor
TrackExtractor()
Definition: TrackExtractor.h:20
reco::isodeposit::Direction
Definition: IsoDepositDirection.h:19
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
muonisolation::TrackExtractor
Definition: TrackExtractor.h:18
reco::IsoDeposit
Definition: IsoDeposit.h:49
muonisolation::TrackExtractor::theDepositLabel
std::string theDepositLabel
Track Collection Label.
Definition: TrackExtractor.h:41
ConsumesCollector.h
View.h
reco::isodeposit::IsoDepositExtractor
Definition: IsoDepositExtractor.h:24
muonisolation::TrackExtractor::theBeamSpotToken
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
"NONE", "BeamSpotFromEvent"
Definition: TrackExtractor.h:47
edm::Event
Definition: Event.h:73
reco::IsoDeposit::Vetos
std::vector< Veto > Vetos
Definition: IsoDeposit.h:65
muonisolation::TrackExtractor::theChi2Prob_Min
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
Definition: TrackExtractor.h:50
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
muonisolation::TrackExtractor::thePt_Min
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition: TrackExtractor.h:51
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonisolation::TrackExtractor::theBeamlineOption
std::string theBeamlineOption
Veto cone angle.
Definition: TrackExtractor.h:46
muonisolation::TrackExtractor::~TrackExtractor
~TrackExtractor() override
Definition: TrackExtractor.h:23
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23