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 
46 
48 public:
51 
52  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
53 
54  void beginRun(const edm::Run&, const edm::EventSetup&) override;
55  void produce(edm::Event& evt, const edm::EventSetup& es) override;
56 
57  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
58  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
59 
60 private:
61  struct seedAtEC {
62  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) {}
63  unsigned int index;
64  bool ok;
65  double eta, phi;
66  };
67 
71  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
74 
76  const double prelimCone_;
78  const double vtxCutSeed_;
79  const double vtxCutIsol_;
80  const double tauAssocCone_;
81  const double tauUnbiasCone_;
82  const double minPTrackValue_;
83  const double maxPForIsolationValue_;
84  const double ebEtaBoundary_;
85 
86  // these are read from the EventSetup, cannot be const
87  double rEB_;
88  double zEE_;
89  double bfVal_;
90 };
91 
92 #endif
ConfigurationDescriptions.h
IsolatedPixelTrackCandidateProducer::minPTrackValue_
const double minPTrackValue_
Definition: IsolatedPixelTrackCandidateProducer.h:82
mps_fire.i
i
Definition: mps_fire.py:428
IsolatedPixelTrackCandidateProducer::zEE_
double zEE_
Definition: IsolatedPixelTrackCandidateProducer.h:88
IsolatedPixelTrackCandidateProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: IsolatedPixelTrackCandidateProducer.cc:79
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:245
IsolatedPixelTrackCandidateProducer::seedAtEC::index
unsigned int index
Definition: IsolatedPixelTrackCandidateProducer.h:63
IsolatedPixelTrackCandidateProducer::vtxCutSeed_
const double vtxCutSeed_
Definition: IsolatedPixelTrackCandidateProducer.h:78
L1GlobalTriggerReadoutSetupFwd.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
IsolatedPixelTrackCandidateProducer::rEB_
double rEB_
Definition: IsolatedPixelTrackCandidateProducer.h:87
EDProducer.h
IsolatedPixelTrackCandidateProducer::seedAtEC::seedAtEC
seedAtEC(unsigned int i, bool f, double et, double fi)
Definition: IsolatedPixelTrackCandidateProducer.h:62
TriggerFilterObjectWithRefs.h
IsolatedPixelTrackCandidate.h
IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
Definition: IsolatedPixelTrackCandidateProducer.cc:265
IsolatedPixelTrackCandidateProducer::tok_geom_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
Definition: IsolatedPixelTrackCandidateProducer.h:73
Track.h
IsolatedPixelTrackCandidateProducer::vtxCutIsol_
const double vtxCutIsol_
Definition: IsolatedPixelTrackCandidateProducer.h:79
PVValHelper::pT
Definition: PVValidationHelpers.h:71
IsolatedPixelTrackCandidateProducer::tok_hlt_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
Definition: IsolatedPixelTrackCandidateProducer.h:68
IsolatedPixelTrackCandidateProducer::seedAtEC
Definition: IsolatedPixelTrackCandidateProducer.h:61
HLT_FULL_cff.eta2
eta2
Definition: HLT_FULL_cff.py:9551
IdealMagneticFieldRecord.h
IsolatedPixelTrackCandidateProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsolatedPixelTrackCandidateProducer.cc:59
IsolatedPixelTrackCandidateProducer::IsolatedPixelTrackCandidateProducer
IsolatedPixelTrackCandidateProducer(const edm::ParameterSet &ps)
Definition: IsolatedPixelTrackCandidateProducer.cc:31
IsolatedPixelTrackCandidateProducer::ebEtaBoundary_
const double ebEtaBoundary_
Definition: IsolatedPixelTrackCandidateProducer.h:84
IsolatedPixelTrackCandidateProducer::tok_bFieldH_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tok_bFieldH_
Definition: IsolatedPixelTrackCandidateProducer.h:72
CaloGeometryRecord.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HLT_FULL_cff.eta1
eta1
Definition: HLT_FULL_cff.py:9550
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
IsolatedPixelTrackCandidateProducer::prelimCone_
const double prelimCone_
Definition: IsolatedPixelTrackCandidateProducer.h:76
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
IsolatedPixelTrackCandidateProducer::seedAtEC::phi
double phi
Definition: IsolatedPixelTrackCandidateProducer.h:65
Event.h
IsolatedPixelTrackCandidateProducer::bfield_
const std::string bfield_
Definition: IsolatedPixelTrackCandidateProducer.h:75
IsolatedPixelTrackCandidateProducer::tauAssocCone_
const double tauAssocCone_
Definition: IsolatedPixelTrackCandidateProducer.h:80
IsolatedPixelTrackCandidateProducer
Definition: IsolatedPixelTrackCandidateProducer.h:47
IsolatedPixelTrackCandidateProducer::tok_vert_
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
Definition: IsolatedPixelTrackCandidateProducer.h:70
IsolatedPixelTrackCandidateProducer::bfVal_
double bfVal_
Definition: IsolatedPixelTrackCandidateProducer.h:89
edm::stream::EDProducer
Definition: EDProducer.h:36
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
L1EmParticle.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
IsolatedPixelTrackCandidateProducer::~IsolatedPixelTrackCandidateProducer
~IsolatedPixelTrackCandidateProducer() override
Definition: IsolatedPixelTrackCandidateProducer.cc:57
IsolatedPixelTrackCandidateProducer::pixelIsolationConeSizeAtEC_
const double pixelIsolationConeSizeAtEC_
Definition: IsolatedPixelTrackCandidateProducer.h:77
VertexFwd.h
Ref.h
L1GlobalTriggerObjectMapFwd.h
IsolatedPixelTrackCandidateProducer::seedAtEC::eta
double eta
Definition: IsolatedPixelTrackCandidateProducer.h:65
Vertex.h
DetId.h
Frameworkfwd.h
CaloGeometry.h
EventSetup.h
IsolatedPixelTrackCandidateProducer::maxPForIsolationValue_
const double maxPForIsolationValue_
Definition: IsolatedPixelTrackCandidateProducer.h:83
IsolatedPixelTrackCandidateProducer::tauUnbiasCone_
const double tauUnbiasCone_
Definition: IsolatedPixelTrackCandidateProducer.h:81
L1GlobalTriggerObjectMapRecord.h
ParameterSet.h
IsolatedPixelTrackCandidateProducer::tok_l1_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_l1_
Definition: IsolatedPixelTrackCandidateProducer.h:69
edm::Event
Definition: Event.h:73
IsolatedPixelTrackCandidateProducer::seedAtEC::ok
bool ok
Definition: IsolatedPixelTrackCandidateProducer.h:64
L1GlobalTriggerObjectMap.h
L1JetParticle.h
IsolatedPixelTrackCandidateProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: IsolatedPixelTrackCandidateProducer.cc:96
L1GlobalTriggerReadoutRecord.h
IsolatedPixelTrackCandidateProducer::toks_pix_
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
Definition: IsolatedPixelTrackCandidateProducer.h:71