CMS 3D CMS Logo

DeDxEstimatorProducer.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxEstimatorProducer_H
2 #define TrackRecoDeDx_DeDxEstimatorProducer_H
3 // user include files
4 
5 #include <memory>
6 
13 
18 
24 
35 
37 
40 
41 //
42 // class declaration
43 //
44 
46 public:
48  ~DeDxEstimatorProducer() override;
49  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
50 
51 private:
52  void beginRun(edm::Run const& run, const edm::EventSetup&) override;
53  void produce(edm::Event&, const edm::EventSetup&) override;
54 
56  void processHit(const TrackingRecHit* recHit,
57  float trackMomentum,
58  float& cosine,
59  reco::DeDxHitCollection& dedxHits,
60  int& NClusterSaturating);
61 
62  // ----------member data ---------------------------
63  std::unique_ptr<BaseDeDxEstimator> m_estimator;
64 
66 
67  bool usePixel;
68  bool useStrip;
71 
72  unsigned int MaxNrStrips;
73 
76  bool shapetest;
77 
78  std::vector<std::vector<float> > calibGains;
79  unsigned int m_off;
80 
82  const TrackerGeometry* tkGeom = nullptr;
83 };
84 
85 #endif
GenericTruncatedAverageDeDxEstimator.h
StripGeomDetUnit.h
DeDxEstimatorProducer::beginRun
void beginRun(edm::Run const &run, const edm::EventSetup &) override
Definition: DeDxEstimatorProducer.cc:95
TrackerGeometry.h
DeDxData.h
ESHandle.h
DeDxEstimatorProducer::calibGains
std::vector< std::vector< float > > calibGains
Definition: DeDxEstimatorProducer.h:78
DeDxEstimatorProducer::meVperADCPixel
float meVperADCPixel
Definition: DeDxEstimatorProducer.h:69
DeDxEstimatorProducer::m_calibrationPath
std::string m_calibrationPath
Definition: DeDxEstimatorProducer.h:74
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::TrackCollection >
DeDxEstimatorProducer::usePixel
bool usePixel
Definition: DeDxEstimatorProducer.h:67
DeDxEstimatorProducer::useStrip
bool useStrip
Definition: DeDxEstimatorProducer.h:68
reco::DeDxHitCollection
std::vector< DeDxHit > DeDxHitCollection
Definition: DeDxHit.h:41
EDProducer.h
GluedGeomDet.h
SmirnovDeDxDiscriminator.h
ProductDeDxDiscriminator.h
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
DeDxEstimatorProducer::shapetest
bool shapetest
Definition: DeDxEstimatorProducer.h:76
DeDxEstimatorProducer::m_tracksTag
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
Definition: DeDxEstimatorProducer.h:65
MakerMacros.h
TrackDeDxHits.h
Track.h
MedianDeDxEstimator.h
ASmirnovDeDxDiscriminator.h
GenericAverageDeDxEstimator.h
BTagLikeDeDxDiscriminator.h
DeDxEstimatorProducer::m_estimator
std::unique_ptr< BaseDeDxEstimator > m_estimator
Definition: DeDxEstimatorProducer.h:63
DeDxHit.h
DeDxTools.h
DeDxEstimatorProducer::useCalibration
bool useCalibration
Definition: DeDxEstimatorProducer.h:75
reco::btau::trackMomentum
Definition: TaggingVariable.h:41
DeDxEstimatorProducer::m_off
unsigned int m_off
Definition: DeDxEstimatorProducer.h:79
DeDxEstimatorProducer::MaxNrStrips
unsigned int MaxNrStrips
Definition: DeDxEstimatorProducer.h:72
DeDxEstimatorProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: DeDxEstimatorProducer.cc:29
DeDxEstimatorProducer::tkGeom
const TrackerGeometry * tkGeom
Definition: DeDxEstimatorProducer.h:82
TrajTrackAssociation.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BaseDeDxEstimator.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TruncatedAverageDeDxEstimator.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
DeDxEstimatorProducer::~DeDxEstimatorProducer
~DeDxEstimatorProducer() override
Definition: DeDxEstimatorProducer.cc:92
DeDxEstimatorProducer::makeCalibrationMap
void makeCalibrationMap(const TrackerGeometry &tkGeom)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
TrackingRecHit
Definition: TrackingRecHit.h:21
ValueMap.h
UnbinnedFitDeDxEstimator.h
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
PixelGeomDetUnit.h
DeDxEstimatorProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: DeDxEstimatorProducer.cc:106
DeDxEstimatorProducer::DeDxEstimatorProducer
DeDxEstimatorProducer(const edm::ParameterSet &)
Definition: DeDxEstimatorProducer.cc:48
DeDxEstimatorProducer
Definition: DeDxEstimatorProducer.h:45
DeDxEstimatorProducer::meVperADCStrip
float meVperADCStrip
Definition: DeDxEstimatorProducer.h:70
ParameterSet.h
DeDxEstimatorProducer::tkGeomToken
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken
Definition: DeDxEstimatorProducer.h:81
DeDxEstimatorProducer::processHit
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, reco::DeDxHitCollection &dedxHits, int &NClusterSaturating)
Definition: DeDxEstimatorProducer.cc:152
edm::Event
Definition: Event.h:73
TrackerGeometry
Definition: TrackerGeometry.h:14