Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibTracker
SiStripCommon
interface
ShallowGainCalibration.h
Go to the documentation of this file.
1
#ifndef SHALLOW_GAINCALIBRATION_PRODUCER
2
#define SHALLOW_GAINCALIBRATION_PRODUCER
3
4
#include "
FWCore/Framework/interface/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
7
#include "
CalibTracker/SiStripCommon/interface/ShallowTools.h
"
8
9
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
10
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
11
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h
"
12
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
13
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
14
15
#include "
MagneticField/Engine/interface/MagneticField.h
"
16
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
17
#include "
CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h
"
18
#include "
CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h
"
19
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
20
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
21
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
22
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
23
#include "
FWCore/Framework/interface/ESHandle.h
"
24
#include "
FWCore/Framework/interface/Event.h
"
25
26
27
#include "
DataFormats/GeometrySurface/interface/TrapezoidalPlaneBounds.h
"
28
#include "
DataFormats/GeometrySurface/interface/RectangularPlaneBounds.h
"
29
30
#include "
Geometry/CommonDetUnit/interface/GeomDetUnit.h
"
31
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
32
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
33
34
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
35
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
36
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
37
#include "
Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
"
38
#include "
Geometry/TrackerNumberingBuilder/interface/GeometricDet.h
"
39
#include "
Geometry/CommonDetUnit/interface/TrackingGeometry.h
"
40
41
42
43
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
44
#include "
DataFormats/TrackReco/interface/Track.h
"
45
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
46
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
47
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h
"
48
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
49
#include "
DataFormats/SiStripDetId/interface/SiStripSubStructure.h
"
50
#include "
DataFormats/DetId/interface/DetId.h
"
51
#include "
DataFormats/SiStripDetId/interface/StripSubdetector.h
"
52
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
53
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
54
55
56
#include <ext/hash_map>
57
58
59
class
ShallowGainCalibration
:
public
edm::EDProducer
{
60
public
:
61
explicit
ShallowGainCalibration
(
const
edm::ParameterSet
&);
62
private
:
63
const
edm::EDGetTokenT< edm::View<reco::Track>
>
tracks_token_
;
64
const
edm::EDGetTokenT< TrajTrackAssociationCollection >
association_token_
;
65
66
std::string
Suffix
;
67
std::string
Prefix
;
68
69
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
70
// virtual void beginJob(EventSetup const&);
71
// virtual void beginRun(Run&, EventSetup const&);
72
bool
IsFarFromBorder
(
TrajectoryStateOnSurface
* trajState,
const
uint32_t detid,
const
edm::EventSetup
* iSetup);
73
double
thickness
(
DetId
id
);
74
75
const
TrackerGeometry
*
m_tracker
;
76
std::map<DetId,double>
m_thicknessMap
;
77
78
/*
79
struct stAPVGain{int DetId; int APVId; double PreviousGain;};
80
class isEqual{
81
public:
82
template <class T> bool operator () (const T& PseudoDetId1, const T& PseudoDetId2) { return PseudoDetId1==PseudoDetId2; }
83
};
84
std::vector<stAPVGain*> APVsCollOrdered;
85
hash_map<unsigned int, stAPVGain*, hash<unsigned int>, isEqual > APVsColl;
86
*/
87
};
88
#endif
89
90
91
TrackerDigiGeometryRecord.h
Trajectory.h
SiStripRecHit1D.h
SiPixelRecHit.h
ShallowGainCalibration::thickness
double thickness(DetId id)
Definition:
ShallowGainCalibration.cc:289
Event.h
ShallowGainCalibration::m_thicknessMap
std::map< DetId, double > m_thicknessMap
Definition:
ShallowGainCalibration.h:76
TrackFwd.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
ShallowGainCalibration::ShallowGainCalibration
ShallowGainCalibration(const edm::ParameterSet &)
Definition:
ShallowGainCalibration.cc:9
ShallowGainCalibration::Prefix
std::string Prefix
Definition:
ShallowGainCalibration.h:67
SiStripRecHit2D.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
TrackingGeometry.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EDProducer
Definition:
EDProducer.h:34
ShallowGainCalibration::IsFarFromBorder
bool IsFarFromBorder(TrajectoryStateOnSurface *trajState, const uint32_t detid, const edm::EventSetup *iSetup)
Definition:
ShallowGainCalibration.cc:255
MagneticField.h
SiStripMatchedRecHit2D.h
ShallowGainCalibration::Suffix
std::string Suffix
Definition:
ShallowGainCalibration.h:66
StripTopology.h
SiStripLorentzAngle.h
GeometricDet.h
GeomDetType.h
SiStripSubStructure.h
TrackDeDxHits.h
RectangularPlaneBounds.h
StripSubdetector.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
ShallowGainCalibration
Definition:
ShallowGainCalibration.h:59
ShallowGainCalibration::tracks_token_
const edm::EDGetTokenT< edm::View< reco::Track > > tracks_token_
Definition:
ShallowGainCalibration.h:63
ShallowTools.h
GeomDetUnit.h
EDProducer.h
DetId
Definition:
DetId.h:18
ShallowGainCalibration::m_tracker
const TrackerGeometry * m_tracker
Definition:
ShallowGainCalibration.h:75
DeDxHit.h
StripGeomDetUnit.h
TrajTrackAssociation.h
ShallowGainCalibration::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
ShallowGainCalibration.cc:34
ShallowGainCalibration::association_token_
const edm::EDGetTokenT< TrajTrackAssociationCollection > association_token_
Definition:
ShallowGainCalibration.h:64
TrackerGeometry.h
PixelGeomDetUnit.h
TrapezoidalPlaneBounds.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripLorentzAngleRcd.h
edm::Event
Definition:
Event.h:66
Track.h
DetId.h
TrackerGeometry
Definition:
TrackerGeometry.h:28
IdealMagneticFieldRecord.h
FEDNumbering.h
Generated for CMSSW Reference Manual by
1.8.5