CMS 3D CMS Logo

IsolatedPixelTrackCandidateL1TProducer.h
Go to the documentation of this file.
1 #ifndef Calibration_IsolatedPixelTrackCandidateL1TProducer_h
2 #define Calibration_IsolatedPixelTrackCandidateL1TProducer_h
3 
4 /* \class IsolatedPixelTrackCandidateL1TProducer
5  *
6  *
7  */
8 
15 
18 
19 //#include "DataFormats/Common/interface/Provenance.h"
20 
25 // L1Extra
28 // l1t
32 //vertices
36 
40 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
41 
44 
49 
51 public:
54 
55  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
56 
57  void beginRun(const edm::Run&, const edm::EventSetup&) override;
58  void produce(edm::Event& evt, const edm::EventSetup& es) override;
59 
60  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
61  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
62 
63 private:
64  struct seedAtEC {
65  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) {}
66  unsigned int index;
67  bool ok;
68  double eta, phi;
69  };
70 
74  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
77 
79  const double prelimCone_;
81  const double vtxCutSeed_;
82  const double vtxCutIsol_;
83  const double tauAssocCone_;
84  const double tauUnbiasCone_;
85  const double minPTrackValue_;
86  const double maxPForIsolationValue_;
87  const double ebEtaBoundary_;
88 
89  // these are read from the EventSetup, cannot be const
90  double rEB_;
91  double zEE_;
92  double bfVal_;
93 };
94 
95 #endif
ConfigurationDescriptions.h
IsolatedPixelTrackCandidateL1TProducer::maxPForIsolationValue_
const double maxPForIsolationValue_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:86
mps_fire.i
i
Definition: mps_fire.py:428
IsolatedPixelTrackCandidateL1TProducer::bfVal_
double bfVal_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:92
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::seedAtEC
seedAtEC(unsigned int i, bool f, double et, double fi)
Definition: IsolatedPixelTrackCandidateL1TProducer.h:65
IsolatedPixelTrackCandidateL1TProducer
Definition: IsolatedPixelTrackCandidateL1TProducer.h:50
TriggerResults.h
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
IsolatedPixelTrackCandidateL1TProducer::seedAtEC
Definition: IsolatedPixelTrackCandidateL1TProducer.h:64
L1GlobalTriggerReadoutSetupFwd.h
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::phi
double phi
Definition: IsolatedPixelTrackCandidateL1TProducer.h:68
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
IsolatedPixelTrackCandidateL1TProducer::tok_bFieldH_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tok_bFieldH_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:75
IsolatedPixelTrackCandidateL1TProducer::tok_l1_
const edm::EDGetTokenT< l1t::TauBxCollection > tok_l1_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:72
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::ok
bool ok
Definition: IsolatedPixelTrackCandidateL1TProducer.h:67
EDProducer.h
Jet.h
TriggerFilterObjectWithRefs.h
IsolatedPixelTrackCandidateL1TProducer::IsolatedPixelTrackCandidateL1TProducer
IsolatedPixelTrackCandidateL1TProducer(const edm::ParameterSet &ps)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:31
IsolatedPixelTrackCandidate.h
IsolatedPixelTrackCandidateL1TProducer::tauUnbiasCone_
const double tauUnbiasCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:84
IsolatedPixelTrackCandidateL1TProducer::tok_vert_
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:73
Track.h
IsolatedPixelTrackCandidateL1TProducer::vtxCutIsol_
const double vtxCutIsol_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:82
PVValHelper::pT
Definition: PVValidationHelpers.h:71
HLT_FULL_cff.eta2
eta2
Definition: HLT_FULL_cff.py:9542
IdealMagneticFieldRecord.h
CaloGeometryRecord.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
HLT_FULL_cff.eta1
eta1
Definition: HLT_FULL_cff.py:9541
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
IsolatedPixelTrackCandidateL1TProducer::rEB_
double rEB_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:90
IsolatedPixelTrackCandidateL1TProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:99
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
IsolatedPixelTrackCandidateL1TProducer::tauAssocCone_
const double tauAssocCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:83
IsolatedPixelTrackCandidateL1TProducer::prelimCone_
const double prelimCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:79
edm::stream::EDProducer
Definition: EDProducer.h:38
IsolatedPixelTrackCandidateL1TProducer::tok_hlt_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:71
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
IsolatedPixelTrackCandidateL1TProducer::~IsolatedPixelTrackCandidateL1TProducer
~IsolatedPixelTrackCandidateL1TProducer() override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:57
MagneticField.h
IsolatedPixelTrackCandidateL1TProducer::tok_geom_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:76
edm::EventSetup
Definition: EventSetup.h:58
L1EmParticle.h
IsolatedPixelTrackCandidateL1TProducer::pixelIsolationConeSizeAtEC_
const double pixelIsolationConeSizeAtEC_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:80
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::eta
double eta
Definition: IsolatedPixelTrackCandidateL1TProducer.h:68
VertexFwd.h
IsolatedPixelTrackCandidateL1TProducer::getDistInCM
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:288
Ref.h
IsolatedPixelTrackCandidateL1TProducer::ebEtaBoundary_
const double ebEtaBoundary_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:87
L1GlobalTriggerObjectMapFwd.h
DetId.h
Frameworkfwd.h
IsolatedPixelTrackCandidateL1TProducer::vtxCutSeed_
const double vtxCutSeed_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:81
IsolatedPixelTrackCandidateL1TProducer::GetEtaPhiAtEcal
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:308
CaloGeometry.h
IsolatedPixelTrackCandidateL1TProducer::bfield_
const std::string bfield_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:78
EventSetup.h
IsolatedPixelTrackCandidateL1TProducer::toks_pix_
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:74
IsolatedPixelTrackCandidateL1TProducer::zEE_
double zEE_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:91
L1GlobalTriggerObjectMapRecord.h
IsolatedPixelTrackCandidateL1TProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:79
ParameterSet.h
edm::Event
Definition: Event.h:73
L1GlobalTriggerObjectMap.h
L1JetParticle.h
L1GlobalTriggerReadoutRecord.h
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::index
unsigned int index
Definition: IsolatedPixelTrackCandidateL1TProducer.h:66
Tau.h
IsolatedPixelTrackCandidateL1TProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:59
IsolatedPixelTrackCandidateL1TProducer::minPTrackValue_
const double minPTrackValue_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:85