CMS 3D CMS Logo

HSCPDeDxInfoProducer.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_HSCPDeDxInfoProducer_H
2 #define TrackRecoDeDx_HSCPDeDxInfoProducer_H
3 // user include files
4 
5 #include <memory>
6 
13 
17 
23 
26 
28 
29 //
30 // class declaration
31 //
32 
34 public:
35  explicit HSCPDeDxInfoProducer(const edm::ParameterSet&);
36  ~HSCPDeDxInfoProducer() override;
37 
38 private:
39  void beginRun(edm::Run const& run, const edm::EventSetup&) override;
40  void produce(edm::Event&, const edm::EventSetup&) override;
41 
42  void makeCalibrationMap(const TrackerGeometry& tkGeom);
43  void processHit(const TrackingRecHit* recHit,
44  float trackMomentum,
45  float& cosine,
46  susybsm::HSCPDeDxInfo& hscpDeDxInfo,
47  LocalPoint HitLocalPos);
48 
49  // ----------member data ---------------------------
50 
53 
55  bool usePixel;
56  bool useStrip;
59 
60  unsigned int MaxNrStrips;
61  unsigned int MinTrackHits;
64  float MinTrackEta;
65  float MaxTrackEta;
67 
70  bool shapetest;
71 
72  std::vector<std::vector<float> > calibGains;
73  unsigned int m_off;
74 
78 };
79 
80 #endif
HSCPDeDxInfoProducer
Definition: HSCPDeDxInfoProducer.h:33
HSCPDeDxInfoProducer::m_tracksTag
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
Definition: HSCPDeDxInfoProducer.h:52
HSCPDeDxInfoProducer::Reccord
std::string Reccord
Definition: HSCPDeDxInfoProducer.h:75
HSCPDeDxInfo.h
StripGeomDetUnit.h
TrackerGeometry.h
DeDxData.h
ESHandle.h
HSCPDeDxInfoProducer::MaxNrStrips
unsigned int MaxNrStrips
Definition: HSCPDeDxInfoProducer.h:60
HSCPDeDxInfoProducer::MinTrackMomentum
float MinTrackMomentum
Definition: HSCPDeDxInfoProducer.h:62
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
HSCPDeDxInfoProducer::calibGains
std::vector< std::vector< float > > calibGains
Definition: HSCPDeDxInfoProducer.h:72
EDProducer.h
HSCPDeDxInfoProducer::MaxTrackChiOverNdf
float MaxTrackChiOverNdf
Definition: HSCPDeDxInfoProducer.h:66
HSCPDeDxInfoProducer::useCalibration
bool useCalibration
Definition: HSCPDeDxInfoProducer.h:69
HSCPDeDxInfoProducer::m_trajTrackAssociationTag
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
Definition: HSCPDeDxInfoProducer.h:51
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
MakerMacros.h
TrackDeDxHits.h
Track.h
HSCPDeDxInfoProducer::~HSCPDeDxInfoProducer
~HSCPDeDxInfoProducer() override
Definition: HSCPDeDxInfoProducer.cc:62
DeDxHit.h
DeDxTools.h
reco::btau::trackMomentum
Definition: TaggingVariable.h:41
Point3DBase< float, LocalTag >
TrajTrackAssociation.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HSCPDeDxInfoProducer::meVperADCPixel
float meVperADCPixel
Definition: HSCPDeDxInfoProducer.h:57
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
HSCPDeDxInfoProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HSCPDeDxInfoProducer.cc:77
HSCPDeDxInfoProducer::m_off
unsigned int m_off
Definition: HSCPDeDxInfoProducer.h:73
HSCPDeDxInfoProducer::Prob_ChargePath
TH3F * Prob_ChargePath
Definition: HSCPDeDxInfoProducer.h:77
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
HSCPDeDxInfoProducer::ProbabilityMode
std::string ProbabilityMode
Definition: HSCPDeDxInfoProducer.h:76
TrackingRecHit
Definition: TrackingRecHit.h:21
ValueMap.h
HSCPDeDxInfoProducer::HSCPDeDxInfoProducer
HSCPDeDxInfoProducer(const edm::ParameterSet &)
Definition: HSCPDeDxInfoProducer.cc:29
HSCPDeDxInfoProducer::processHit
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, susybsm::HSCPDeDxInfo &hscpDeDxInfo, LocalPoint HitLocalPos)
Definition: HSCPDeDxInfoProducer.cc:141
HSCPDeDxInfoProducer::meVperADCStrip
float meVperADCStrip
Definition: HSCPDeDxInfoProducer.h:58
writedatasetfile.run
run
Definition: writedatasetfile.py:27
HSCPDeDxInfoProducer::usePixel
bool usePixel
Definition: HSCPDeDxInfoProducer.h:55
Frameworkfwd.h
HSCPDeDxInfoProducer::MinTrackEta
float MinTrackEta
Definition: HSCPDeDxInfoProducer.h:64
HSCPDeDxInfoProducer::shapetest
bool shapetest
Definition: HSCPDeDxInfoProducer.h:70
PixelGeomDetUnit.h
HSCPDeDxInfoProducer::MaxTrackMomentum
float MaxTrackMomentum
Definition: HSCPDeDxInfoProducer.h:63
HSCPDeDxInfoProducer::makeCalibrationMap
void makeCalibrationMap(const TrackerGeometry &tkGeom)
susybsm::HSCPDeDxInfo
Definition: HSCPDeDxInfo.h:13
HSCPDeDxInfoProducer::beginRun
void beginRun(edm::Run const &run, const edm::EventSetup &) override
Definition: HSCPDeDxInfoProducer.cc:65
HSCPDeDxInfoProducer::MinTrackHits
unsigned int MinTrackHits
Definition: HSCPDeDxInfoProducer.h:61
HSCPDeDxInfoProducer::useTrajectory
bool useTrajectory
Definition: HSCPDeDxInfoProducer.h:54
ParameterSet.h
edm::Event
Definition: Event.h:73
HSCPDeDxInfoProducer::MaxTrackEta
float MaxTrackEta
Definition: HSCPDeDxInfoProducer.h:65
HSCPDeDxInfoProducer::useStrip
bool useStrip
Definition: HSCPDeDxInfoProducer.h:56
HSCPDeDxInfoProducer::m_calibrationPath
std::string m_calibrationPath
Definition: HSCPDeDxInfoProducer.h:68
TrackerGeometry
Definition: TrackerGeometry.h:14