Main Page
Namespaces
Classes
Package Documentation
RecoTracker
DeDx
plugins
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
7
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
8
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
14
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
15
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
16
#include "
Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
"
17
#include "
Geometry/CommonDetUnit/interface/GluedGeomDet.h
"
18
19
#include "
DataFormats/Common/interface/ValueMap.h
"
20
#include "
DataFormats/TrackReco/interface/DeDxData.h
"
21
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
22
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
23
#include "
DataFormats/TrackReco/interface/Track.h
"
24
25
26
#include "
RecoTracker/DeDx/interface/BaseDeDxEstimator.h
"
27
#include "
RecoTracker/DeDx/interface/GenericAverageDeDxEstimator.h
"
28
#include "
RecoTracker/DeDx/interface/TruncatedAverageDeDxEstimator.h
"
29
#include "
RecoTracker/DeDx/interface/MedianDeDxEstimator.h
"
30
#include "
RecoTracker/DeDx/interface/UnbinnedFitDeDxEstimator.h
"
31
#include "
RecoTracker/DeDx/interface/ProductDeDxDiscriminator.h
"
32
#include "
RecoTracker/DeDx/interface/SmirnovDeDxDiscriminator.h
"
33
#include "
RecoTracker/DeDx/interface/ASmirnovDeDxDiscriminator.h
"
34
#include "
RecoTracker/DeDx/interface/BTagLikeDeDxDiscriminator.h
"
35
36
37
#include "
RecoTracker/DeDx/interface/DeDxTools.h
"
38
39
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
40
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
41
42
43
//
44
// class declaration
45
//
46
47
class
DeDxEstimatorProducer
:
public
edm::stream::EDProducer
<> {
48
public
:
49
explicit
DeDxEstimatorProducer
(
const
edm::ParameterSet
&);
50
~DeDxEstimatorProducer
();
51
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
52
53
private
:
54
virtual
void
beginRun
(
edm::Run
const
&
run
,
const
edm::EventSetup
&)
override
;
55
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
56
57
void
makeCalibrationMap
(
const
TrackerGeometry
& tkGeom);
58
void
processHit
(
const
TrackingRecHit
*
recHit
,
float
trackMomentum
,
float
& cosine,
reco::DeDxHitCollection
& dedxHits,
int
& NClusterSaturating);
59
60
// ----------member data ---------------------------
61
BaseDeDxEstimator
*
m_estimator
;
62
63
edm::EDGetTokenT<reco::TrackCollection>
m_tracksTag
;
64
65
bool
usePixel
;
66
bool
useStrip
;
67
float
meVperADCPixel
;
68
float
meVperADCStrip
;
69
70
unsigned
int
MaxNrStrips
;
71
72
std::string
m_calibrationPath
;
73
bool
useCalibration
;
74
bool
shapetest
;
75
76
std::vector< std::vector<float> >
calibGains
;
77
unsigned
int
m_off
;
78
};
79
80
#endif
81
rpcPointValidation_cfi.recHit
recHit
Definition:
rpcPointValidation_cfi.py:6
DeDxEstimatorProducer::DeDxEstimatorProducer
DeDxEstimatorProducer(const edm::ParameterSet &)
Definition:
DeDxEstimatorProducer.cc:51
ASmirnovDeDxDiscriminator.h
DeDxEstimatorProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
DeDxEstimatorProducer.cc:31
DeDxEstimatorProducer::m_tracksTag
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
Definition:
DeDxEstimatorProducer.h:63
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
reco::btau::trackMomentum
Definition:
TaggingVariable.h:44
MakerMacros.h
DeDxEstimatorProducer::usePixel
bool usePixel
Definition:
DeDxEstimatorProducer.h:65
reco::DeDxHitCollection
std::vector< DeDxHit > DeDxHitCollection
Definition:
DeDxHit.h:58
UnbinnedFitDeDxEstimator.h
GluedGeomDet.h
TrackingRecHit
Definition:
TrackingRecHit.h:23
ValueMap.h
edm::EDGetTokenT< reco::TrackCollection >
Frameworkfwd.h
DeDxData.h
ParameterSet.h
BaseDeDxEstimator.h
EDProducer.h
DeDxEstimatorProducer::beginRun
virtual void beginRun(edm::Run const &run, const edm::EventSetup &) override
Definition:
DeDxEstimatorProducer.cc:92
DeDxEstimatorProducer::MaxNrStrips
unsigned int MaxNrStrips
Definition:
DeDxEstimatorProducer.h:70
GenericAverageDeDxEstimator.h
TruncatedAverageDeDxEstimator.h
TrackDeDxHits.h
ESHandle.h
DeDxEstimatorProducer::processHit
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, reco::DeDxHitCollection &dedxHits, int &NClusterSaturating)
Definition:
DeDxEstimatorProducer.cc:155
DeDxEstimatorProducer::shapetest
bool shapetest
Definition:
DeDxEstimatorProducer.h:74
edm::EventSetup
Definition:
EventSetup.h:45
DeDxEstimatorProducer::calibGains
std::vector< std::vector< float > > calibGains
Definition:
DeDxEstimatorProducer.h:76
DeDxEstimatorProducer::useStrip
bool useStrip
Definition:
DeDxEstimatorProducer.h:66
DeDxEstimatorProducer::m_estimator
BaseDeDxEstimator * m_estimator
Definition:
DeDxEstimatorProducer.h:61
findQualityFiles.run
run
Definition:
findQualityFiles.py:408
BTagLikeDeDxDiscriminator.h
DeDxEstimatorProducer::meVperADCPixel
float meVperADCPixel
Definition:
DeDxEstimatorProducer.h:67
MedianDeDxEstimator.h
SmirnovDeDxDiscriminator.h
ProductDeDxDiscriminator.h
DeDxHit.h
DeDxTools.h
StripGeomDetUnit.h
edm::stream::EDProducer
Definition:
EDProducer.h:33
TrajTrackAssociation.h
DeDxEstimatorProducer::m_off
unsigned int m_off
Definition:
DeDxEstimatorProducer.h:77
DeDxEstimatorProducer
Definition:
DeDxEstimatorProducer.h:47
DeDxEstimatorProducer::useCalibration
bool useCalibration
Definition:
DeDxEstimatorProducer.h:73
DeDxEstimatorProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition:
DeDxEstimatorProducer.cc:107
TrackerGeometry.h
PixelGeomDetUnit.h
edm::ParameterSet
Definition:
ParameterSet.h:36
DeDxEstimatorProducer::meVperADCStrip
float meVperADCStrip
Definition:
DeDxEstimatorProducer.h:68
DeDxEstimatorProducer::makeCalibrationMap
void makeCalibrationMap(const TrackerGeometry &tkGeom)
DeDxEstimatorProducer::~DeDxEstimatorProducer
~DeDxEstimatorProducer()
Definition:
DeDxEstimatorProducer.cc:86
DeDxEstimatorProducer::m_calibrationPath
std::string m_calibrationPath
Definition:
DeDxEstimatorProducer.h:72
edm::Event
Definition:
Event.h:66
Track.h
TrackerGeometry
Definition:
TrackerGeometry.h:14
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
edm::Run
Definition:
Run.h:42
BaseDeDxEstimator
Definition:
BaseDeDxEstimator.h:7
Generated for CMSSW Reference Manual by
1.8.11