SUSYBSMAnalysis
HSCP
plugins
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
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/CommonDetUnit/interface/PixelGeomDetUnit.h
"
17
18
#include "
DataFormats/Common/interface/ValueMap.h
"
19
#include "
DataFormats/TrackReco/interface/DeDxData.h
"
20
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
21
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
22
#include "
DataFormats/TrackReco/interface/Track.h
"
23
24
#include "
RecoTracker/DeDx/interface/DeDxTools.h
"
25
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
26
27
#include "
AnalysisDataFormats/SUSYBSMObjects/interface/HSCPDeDxInfo.h
"
28
29
//
30
// class declaration
31
//
32
33
class
HSCPDeDxInfoProducer
:
public
edm::stream::EDProducer
<> {
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
51
edm::EDGetTokenT<TrajTrackAssociationCollection>
m_trajTrackAssociationTag
;
52
edm::EDGetTokenT<reco::TrackCollection>
m_tracksTag
;
53
54
bool
useTrajectory
;
55
bool
usePixel
;
56
bool
useStrip
;
57
float
meVperADCPixel
;
58
float
meVperADCStrip
;
59
60
unsigned
int
MaxNrStrips
;
61
unsigned
int
MinTrackHits
;
62
float
MinTrackMomentum
;
63
float
MaxTrackMomentum
;
64
float
MinTrackEta
;
65
float
MaxTrackEta
;
66
float
MaxTrackChiOverNdf
;
67
68
std::string
m_calibrationPath
;
69
bool
useCalibration
;
70
bool
shapetest
;
71
72
std::vector<std::vector<float> >
calibGains
;
73
unsigned
int
m_off
;
74
75
std::string
Reccord
;
76
std::string
ProbabilityMode
;
77
TH3F*
Prob_ChargePath
;
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
Generated for CMSSW Reference Manual by
1.8.16