Main Page
Namespaces
Classes
Package Documentation
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/TrackerGeometryBuilder/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
();
37
38
private
:
39
virtual
void
beginRun
(
edm::Run
const
&
run
,
const
edm::EventSetup
&)
override
;
40
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
41
42
void
makeCalibrationMap
(
const
TrackerGeometry
& tkGeom);
43
void
processHit
(
const
TrackingRecHit
*
recHit
,
float
trackMomentum
,
float
& cosine,
susybsm::HSCPDeDxInfo
& hscpDeDxInfo,
LocalPoint
HitLocalPos);
44
45
// ----------member data ---------------------------
46
47
edm::EDGetTokenT<TrajTrackAssociationCollection>
m_trajTrackAssociationTag
;
48
edm::EDGetTokenT<reco::TrackCollection>
m_tracksTag
;
49
50
bool
useTrajectory
;
51
bool
usePixel
;
52
bool
useStrip
;
53
float
meVperADCPixel
;
54
float
meVperADCStrip
;
55
56
unsigned
int
MaxNrStrips
;
57
unsigned
int
MinTrackHits
;
58
float
MinTrackMomentum
;
59
float
MaxTrackMomentum
;
60
float
MinTrackEta
;
61
float
MaxTrackEta
;
62
float
MaxTrackChiOverNdf
;
63
64
std::string
m_calibrationPath
;
65
bool
useCalibration
;
66
bool
shapetest
;
67
68
std::vector< std::vector<float> >
calibGains
;
69
unsigned
int
m_off
;
70
71
std::string
Reccord
;
72
std::string
ProbabilityMode
;
73
TH3F*
Prob_ChargePath
;
74
};
75
76
#endif
77
HSCPDeDxInfoProducer::Reccord
std::string Reccord
Definition:
HSCPDeDxInfoProducer.h:71
rpcPointValidation_cfi.recHit
recHit
Definition:
rpcPointValidation_cfi.py:6
HSCPDeDxInfoProducer::useCalibration
bool useCalibration
Definition:
HSCPDeDxInfoProducer.h:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
reco::btau::trackMomentum
Definition:
TaggingVariable.h:44
HSCPDeDxInfoProducer::MaxNrStrips
unsigned int MaxNrStrips
Definition:
HSCPDeDxInfoProducer.h:56
MakerMacros.h
HSCPDeDxInfoProducer::MinTrackMomentum
float MinTrackMomentum
Definition:
HSCPDeDxInfoProducer.h:58
HSCPDeDxInfoProducer::meVperADCPixel
float meVperADCPixel
Definition:
HSCPDeDxInfoProducer.h:53
TrackingRecHit
Definition:
TrackingRecHit.h:23
HSCPDeDxInfoProducer::calibGains
std::vector< std::vector< float > > calibGains
Definition:
HSCPDeDxInfoProducer.h:68
ValueMap.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
HSCPDeDxInfoProducer::m_tracksTag
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
Definition:
HSCPDeDxInfoProducer.h:48
DeDxData.h
susybsm::HSCPDeDxInfo
Definition:
HSCPDeDxInfo.h:13
ParameterSet.h
HSCPDeDxInfoProducer::HSCPDeDxInfoProducer
HSCPDeDxInfoProducer(const edm::ParameterSet &)
Definition:
HSCPDeDxInfoProducer.cc:30
EDProducer.h
HSCPDeDxInfoProducer::shapetest
bool shapetest
Definition:
HSCPDeDxInfoProducer.h:66
HSCPDeDxInfoProducer::MaxTrackEta
float MaxTrackEta
Definition:
HSCPDeDxInfoProducer.h:61
TrackDeDxHits.h
HSCPDeDxInfo.h
HSCPDeDxInfoProducer::m_calibrationPath
std::string m_calibrationPath
Definition:
HSCPDeDxInfoProducer.h:64
ESHandle.h
HSCPDeDxInfoProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HSCPDeDxInfoProducer.cc:83
edm::EventSetup
Definition:
EventSetup.h:45
HSCPDeDxInfoProducer
Definition:
HSCPDeDxInfoProducer.h:33
HSCPDeDxInfoProducer::m_trajTrackAssociationTag
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
Definition:
HSCPDeDxInfoProducer.h:47
HSCPDeDxInfoProducer::m_off
unsigned int m_off
Definition:
HSCPDeDxInfoProducer.h:69
HSCPDeDxInfoProducer::Prob_ChargePath
TH3F * Prob_ChargePath
Definition:
HSCPDeDxInfoProducer.h:73
findQualityFiles.run
run
Definition:
findQualityFiles.py:408
HSCPDeDxInfoProducer::meVperADCStrip
float meVperADCStrip
Definition:
HSCPDeDxInfoProducer.h:54
HSCPDeDxInfoProducer::MaxTrackChiOverNdf
float MaxTrackChiOverNdf
Definition:
HSCPDeDxInfoProducer.h:62
DeDxHit.h
DeDxTools.h
StripGeomDetUnit.h
edm::stream::EDProducer
Definition:
EDProducer.h:33
TrajTrackAssociation.h
HSCPDeDxInfoProducer::makeCalibrationMap
void makeCalibrationMap(const TrackerGeometry &tkGeom)
Point3DBase< float, LocalTag >
TrackerGeometry.h
PixelGeomDetUnit.h
HSCPDeDxInfoProducer::MinTrackHits
unsigned int MinTrackHits
Definition:
HSCPDeDxInfoProducer.h:57
edm::ParameterSet
Definition:
ParameterSet.h:36
HSCPDeDxInfoProducer::MaxTrackMomentum
float MaxTrackMomentum
Definition:
HSCPDeDxInfoProducer.h:59
HSCPDeDxInfoProducer::ProbabilityMode
std::string ProbabilityMode
Definition:
HSCPDeDxInfoProducer.h:72
HSCPDeDxInfoProducer::useStrip
bool useStrip
Definition:
HSCPDeDxInfoProducer.h:52
edm::Event
Definition:
Event.h:66
Track.h
TrackerGeometry
Definition:
TrackerGeometry.h:14
HSCPDeDxInfoProducer::MinTrackEta
float MinTrackEta
Definition:
HSCPDeDxInfoProducer.h:60
HSCPDeDxInfoProducer::useTrajectory
bool useTrajectory
Definition:
HSCPDeDxInfoProducer.h:50
edm::Run
Definition:
Run.h:42
HSCPDeDxInfoProducer::usePixel
bool usePixel
Definition:
HSCPDeDxInfoProducer.h:51
HSCPDeDxInfoProducer::beginRun
virtual void beginRun(edm::Run const &run, const edm::EventSetup &) override
Definition:
HSCPDeDxInfoProducer.cc:68
HSCPDeDxInfoProducer::processHit
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, susybsm::HSCPDeDxInfo &hscpDeDxInfo, LocalPoint HitLocalPos)
Definition:
HSCPDeDxInfoProducer.cc:140
HSCPDeDxInfoProducer::~HSCPDeDxInfoProducer
~HSCPDeDxInfoProducer()
Definition:
HSCPDeDxInfoProducer.cc:65
Generated for CMSSW Reference Manual by
1.8.11