CMS 3D CMS Logo

IsolatedPixelTrackCandidateProducer.h
Go to the documentation of this file.
1 #ifndef Calibration_IsolatedPixelTrackCandidateProducer_h
2 #define Calibration_IsolatedPixelTrackCandidateProducer_h
3 
4 /* \class IsolatedPixelTrackCandidateProducer
5  *
6  *
7  */
8 
15 
18 
19 //#include "DataFormats/Common/interface/Provenance.h"
20 
25 // L1Extra
29 //vertices
33 
37 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
38 
41 
43 public:
46 
47  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
48 
49  void beginRun(const edm::Run&, const edm::EventSetup&) override;
50  void produce(edm::Event& evt, const edm::EventSetup& es) override;
51 
52  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
53  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
54 
55 private:
56  struct seedAtEC {
57  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) {}
58  unsigned int index;
59  bool ok;
60  double eta, phi;
61  };
62 
66  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
67 
69  const double prelimCone_;
71  const double vtxCutSeed_;
72  const double vtxCutIsol_;
73  const double tauAssocCone_;
74  const double tauUnbiasCone_;
75  const double minPTrackValue_;
76  const double maxPForIsolationValue_;
77  const double ebEtaBoundary_;
78 
79  // these are read from the EventSetup, cannot be const
80  double rEB_;
81  double zEE_;
82  double bfVal_;
83 };
84 
85 #endif
ConfigurationDescriptions.h
IsolatedPixelTrackCandidateProducer::minPTrackValue_
const double minPTrackValue_
Definition: IsolatedPixelTrackCandidateProducer.h:75
mps_fire.i
i
Definition: mps_fire.py:355
IsolatedPixelTrackCandidateProducer::zEE_
double zEE_
Definition: IsolatedPixelTrackCandidateProducer.h:81
IsolatedPixelTrackCandidateProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: IsolatedPixelTrackCandidateProducer.cc:83
TriggerResults.h
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
IsolatedPixelTrackCandidateProducer::getDistInCM
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
Definition: IsolatedPixelTrackCandidateProducer.cc:250
IsolatedPixelTrackCandidateProducer::seedAtEC::index
unsigned int index
Definition: IsolatedPixelTrackCandidateProducer.h:58
IsolatedPixelTrackCandidateProducer::vtxCutSeed_
const double vtxCutSeed_
Definition: IsolatedPixelTrackCandidateProducer.h:71
L1GlobalTriggerReadoutSetupFwd.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
IsolatedPixelTrackCandidateProducer::rEB_
double rEB_
Definition: IsolatedPixelTrackCandidateProducer.h:80
HLT_2018_cff.eta1
eta1
Definition: HLT_2018_cff.py:8220
EDProducer.h
IsolatedPixelTrackCandidateProducer::seedAtEC::seedAtEC
seedAtEC(unsigned int i, bool f, double et, double fi)
Definition: IsolatedPixelTrackCandidateProducer.h:57
TriggerFilterObjectWithRefs.h
IsolatedPixelTrackCandidate.h
IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
Definition: IsolatedPixelTrackCandidateProducer.cc:270
Track.h
IsolatedPixelTrackCandidateProducer::vtxCutIsol_
const double vtxCutIsol_
Definition: IsolatedPixelTrackCandidateProducer.h:72
PVValHelper::pT
Definition: PVValidationHelpers.h:70
IsolatedPixelTrackCandidateProducer::tok_hlt_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
Definition: IsolatedPixelTrackCandidateProducer.h:63
IsolatedPixelTrackCandidateProducer::seedAtEC
Definition: IsolatedPixelTrackCandidateProducer.h:56
IsolatedPixelTrackCandidateProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsolatedPixelTrackCandidateProducer.cc:63
IsolatedPixelTrackCandidateProducer::IsolatedPixelTrackCandidateProducer
IsolatedPixelTrackCandidateProducer(const edm::ParameterSet &ps)
Definition: IsolatedPixelTrackCandidateProducer.cc:37
IsolatedPixelTrackCandidateProducer::ebEtaBoundary_
const double ebEtaBoundary_
Definition: IsolatedPixelTrackCandidateProducer.h:77
HLT_2018_cff.eta2
eta2
Definition: HLT_2018_cff.py:8221
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
IsolatedPixelTrackCandidateProducer::prelimCone_
const double prelimCone_
Definition: IsolatedPixelTrackCandidateProducer.h:69
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
IsolatedPixelTrackCandidateProducer::seedAtEC::phi
double phi
Definition: IsolatedPixelTrackCandidateProducer.h:60
Event.h
IsolatedPixelTrackCandidateProducer::bfield_
const std::string bfield_
Definition: IsolatedPixelTrackCandidateProducer.h:68
IsolatedPixelTrackCandidateProducer::tauAssocCone_
const double tauAssocCone_
Definition: IsolatedPixelTrackCandidateProducer.h:73
IsolatedPixelTrackCandidateProducer
Definition: IsolatedPixelTrackCandidateProducer.h:42
IsolatedPixelTrackCandidateProducer::tok_vert_
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
Definition: IsolatedPixelTrackCandidateProducer.h:65
IsolatedPixelTrackCandidateProducer::bfVal_
double bfVal_
Definition: IsolatedPixelTrackCandidateProducer.h:82
edm::stream::EDProducer
Definition: EDProducer.h:38
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
edm::EventSetup
Definition: EventSetup.h:57
L1EmParticle.h
IsolatedPixelTrackCandidateProducer::~IsolatedPixelTrackCandidateProducer
~IsolatedPixelTrackCandidateProducer() override
Definition: IsolatedPixelTrackCandidateProducer.cc:61
IsolatedPixelTrackCandidateProducer::pixelIsolationConeSizeAtEC_
const double pixelIsolationConeSizeAtEC_
Definition: IsolatedPixelTrackCandidateProducer.h:70
VertexFwd.h
Ref.h
L1GlobalTriggerObjectMapFwd.h
IsolatedPixelTrackCandidateProducer::seedAtEC::eta
double eta
Definition: IsolatedPixelTrackCandidateProducer.h:60
DetId.h
Frameworkfwd.h
EventSetup.h
IsolatedPixelTrackCandidateProducer::maxPForIsolationValue_
const double maxPForIsolationValue_
Definition: IsolatedPixelTrackCandidateProducer.h:76
IsolatedPixelTrackCandidateProducer::tauUnbiasCone_
const double tauUnbiasCone_
Definition: IsolatedPixelTrackCandidateProducer.h:74
L1GlobalTriggerObjectMapRecord.h
ParameterSet.h
IsolatedPixelTrackCandidateProducer::tok_l1_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_l1_
Definition: IsolatedPixelTrackCandidateProducer.h:64
edm::Event
Definition: Event.h:73
IsolatedPixelTrackCandidateProducer::seedAtEC::ok
bool ok
Definition: IsolatedPixelTrackCandidateProducer.h:59
L1GlobalTriggerObjectMap.h
L1JetParticle.h
IsolatedPixelTrackCandidateProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: IsolatedPixelTrackCandidateProducer.cc:102
L1GlobalTriggerReadoutRecord.h
IsolatedPixelTrackCandidateProducer::toks_pix_
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
Definition: IsolatedPixelTrackCandidateProducer.h:66