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 
46 public:
49 
50  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
51 
52  void beginRun(const edm::Run&, const edm::EventSetup&) override;
53  void produce(edm::Event& evt, const edm::EventSetup& es) override;
54 
55  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
56  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
57 
58 private:
59  struct seedAtEC {
60  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) {}
61  unsigned int index;
62  bool ok;
63  double eta, phi;
64  };
65 
69  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
70 
72  const double prelimCone_;
74  const double vtxCutSeed_;
75  const double vtxCutIsol_;
76  const double tauAssocCone_;
77  const double tauUnbiasCone_;
78  const double minPTrackValue_;
79  const double maxPForIsolationValue_;
80  const double ebEtaBoundary_;
81 
82  // these are read from the EventSetup, cannot be const
83  double rEB_;
84  double zEE_;
85  double bfVal_;
86 };
87 
88 #endif
ConfigurationDescriptions.h
IsolatedPixelTrackCandidateL1TProducer::maxPForIsolationValue_
const double maxPForIsolationValue_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:79
mps_fire.i
i
Definition: mps_fire.py:355
IsolatedPixelTrackCandidateL1TProducer::bfVal_
double bfVal_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:85
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::seedAtEC
seedAtEC(unsigned int i, bool f, double et, double fi)
Definition: IsolatedPixelTrackCandidateL1TProducer.h:60
IsolatedPixelTrackCandidateL1TProducer
Definition: IsolatedPixelTrackCandidateL1TProducer.h:45
TriggerResults.h
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
IsolatedPixelTrackCandidateL1TProducer::seedAtEC
Definition: IsolatedPixelTrackCandidateL1TProducer.h:59
L1GlobalTriggerReadoutSetupFwd.h
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::phi
double phi
Definition: IsolatedPixelTrackCandidateL1TProducer.h:63
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
IsolatedPixelTrackCandidateL1TProducer::tok_l1_
const edm::EDGetTokenT< l1t::TauBxCollection > tok_l1_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:67
HLT_2018_cff.eta1
eta1
Definition: HLT_2018_cff.py:8220
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::ok
bool ok
Definition: IsolatedPixelTrackCandidateL1TProducer.h:62
EDProducer.h
Jet.h
TriggerFilterObjectWithRefs.h
IsolatedPixelTrackCandidateL1TProducer::IsolatedPixelTrackCandidateL1TProducer
IsolatedPixelTrackCandidateL1TProducer(const edm::ParameterSet &ps)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:35
IsolatedPixelTrackCandidate.h
IsolatedPixelTrackCandidateL1TProducer::tauUnbiasCone_
const double tauUnbiasCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:77
IsolatedPixelTrackCandidateL1TProducer::tok_vert_
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:68
Track.h
IsolatedPixelTrackCandidateL1TProducer::vtxCutIsol_
const double vtxCutIsol_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:75
PVValHelper::pT
Definition: PVValidationHelpers.h:70
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
IsolatedPixelTrackCandidateL1TProducer::rEB_
double rEB_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:83
IsolatedPixelTrackCandidateL1TProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:101
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
IsolatedPixelTrackCandidateL1TProducer::tauAssocCone_
const double tauAssocCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:76
IsolatedPixelTrackCandidateL1TProducer::prelimCone_
const double prelimCone_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:72
edm::stream::EDProducer
Definition: EDProducer.h:38
IsolatedPixelTrackCandidateL1TProducer::tok_hlt_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:66
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
IsolatedPixelTrackCandidateL1TProducer::~IsolatedPixelTrackCandidateL1TProducer
~IsolatedPixelTrackCandidateL1TProducer() override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:59
edm::EventSetup
Definition: EventSetup.h:57
L1EmParticle.h
IsolatedPixelTrackCandidateL1TProducer::pixelIsolationConeSizeAtEC_
const double pixelIsolationConeSizeAtEC_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:73
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::eta
double eta
Definition: IsolatedPixelTrackCandidateL1TProducer.h:63
VertexFwd.h
IsolatedPixelTrackCandidateL1TProducer::getDistInCM
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:281
Ref.h
IsolatedPixelTrackCandidateL1TProducer::ebEtaBoundary_
const double ebEtaBoundary_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:80
L1GlobalTriggerObjectMapFwd.h
DetId.h
Frameworkfwd.h
IsolatedPixelTrackCandidateL1TProducer::vtxCutSeed_
const double vtxCutSeed_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:74
IsolatedPixelTrackCandidateL1TProducer::GetEtaPhiAtEcal
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:301
IsolatedPixelTrackCandidateL1TProducer::bfield_
const std::string bfield_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:71
EventSetup.h
IsolatedPixelTrackCandidateL1TProducer::toks_pix_
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:69
IsolatedPixelTrackCandidateL1TProducer::zEE_
double zEE_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:84
L1GlobalTriggerObjectMapRecord.h
IsolatedPixelTrackCandidateL1TProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:81
ParameterSet.h
edm::Event
Definition: Event.h:73
L1GlobalTriggerObjectMap.h
L1JetParticle.h
L1GlobalTriggerReadoutRecord.h
IsolatedPixelTrackCandidateL1TProducer::seedAtEC::index
unsigned int index
Definition: IsolatedPixelTrackCandidateL1TProducer.h:61
Tau.h
IsolatedPixelTrackCandidateL1TProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsolatedPixelTrackCandidateL1TProducer.cc:61
IsolatedPixelTrackCandidateL1TProducer::minPTrackValue_
const double minPTrackValue_
Definition: IsolatedPixelTrackCandidateL1TProducer.h:78