CalibTracker
SiStripLorentzAngle
interface
SiStripLAProfileBooker.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiStripLorentzAngle_SiStripLAProfileBooker_h
2
#define CalibTracker_SiStripLorentzAngle_SiStripLAProfileBooker_h
3
4
#include <map>
5
6
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
9
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
10
11
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
12
#include "
MagneticField/Engine/interface/MagneticField.h
"
13
14
#include "
DQMServices/Core/interface/DQMStore.h
"
15
16
#include "
DataFormats/DetId/interface/DetId.h
"
17
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
18
19
#include <TTree.h>
20
#include <TFile.h>
21
#include <TH1D.h>
22
#include <TDirectory.h>
23
24
class
TrackerTopology
;
25
26
class
SiStripLAProfileBooker
:
public
edm::EDAnalyzer
{
27
public
:
28
typedef
dqm::legacy::MonitorElement
MonitorElement
;
29
typedef
dqm::legacy::DQMStore
DQMStore
;
30
explicit
SiStripLAProfileBooker
(
const
edm::ParameterSet
& conf);
31
32
~SiStripLAProfileBooker
()
override
;
33
34
void
beginRun
(
edm::Run
const
&,
const
edm::EventSetup
&
c
)
override
;
35
36
void
endJob
()
override
;
37
38
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
39
40
void
getlayer
(
const
DetId
& detid,
const
TrackerTopology
* tTopo,
std::string
&
name
,
unsigned
int
& layerid);
41
42
private
:
43
typedef
struct
{
44
float
thickness
;
45
float
pitch
;
46
LocalVector
magfield
;
47
}
detparameters
;
48
typedef
std::map<unsigned int, detparameters*>
detparmap
;
49
typedef
std::map<unsigned int, MonitorElement*>
histomap
;
50
51
int
trackcollsize
,
trajsize
,
RunNumber
,
EventNumber
,
ClSize
,
HitCharge
,
Type
,
Layer
,
Wheel
,
bw_fw
,
Ext_Int
,
52
MonoStereo
,
ParticleCharge
;
53
float
sumx
,
hit_std_dev
,
barycenter
,
TanTrackAngle
,
TanTrackAngleParallel
,
SignCorrection
,
MagField
,
XGlobal
,
YGlobal
,
54
ZGlobal
,
Momentum
,
pt
,
chi2norm
,
EtaTrack
,
PhiTrack
;
55
int
nstrip
,
eventcounter
,
size
,
HitNr
,
hitcounter
,
hitcounter_2ndloop
,
worse_double_hit
,
better_double_hit
,
56
HitPerTrack
;
57
int
id_detector
,
TrackCounter
,
EventCounter
;
58
float
thick_detector
,
pitch_detector
;
59
uint8_t
Amplitudes
[100];
60
61
TTree *
HitsTree
, *
TrackTree
, *
EventTree
;
62
TFile*
hFile
;
63
64
TDirectory *
Hit_Tree
, *
Track_Tree
, *
Event_Tree
;
65
66
histomap
histos
;
67
histomap
summaryhisto
;
68
69
DQMStore
*
dbe_
;
70
71
detparmap
detmap
;
72
detparmap
summarydetmap
;
73
edm::ParameterSet
conf_
;
74
std::string
treename_
;
75
76
const
TrackerGeometry
*
tracker
;
77
};
78
79
#endif
Vector3DBase< float, LocalTag >
SiStripLAProfileBooker::Track_Tree
TDirectory * Track_Tree
Definition:
SiStripLAProfileBooker.h:64
SiStripLAProfileBooker::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
SiStripLAProfileBooker.cc:262
SiStripLAProfileBooker::MagField
float MagField
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::ZGlobal
float ZGlobal
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::trajsize
int trajsize
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::YGlobal
float YGlobal
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::HitNr
int HitNr
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::SiStripLAProfileBooker
SiStripLAProfileBooker(const edm::ParameterSet &conf)
Definition:
SiStripLAProfileBooker.cc:61
SiStripLAProfileBooker::hitcounter
int hitcounter
Definition:
SiStripLAProfileBooker.h:55
TrackerGeometry.h
SiStripLAProfileBooker::histomap
std::map< unsigned int, MonitorElement * > histomap
Definition:
SiStripLAProfileBooker.h:49
SiStripLAProfileBooker::EtaTrack
float EtaTrack
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::HitCharge
int HitCharge
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::SignCorrection
float SignCorrection
Definition:
SiStripLAProfileBooker.h:53
edm::Run
Definition:
Run.h:45
TrackerTopology
Definition:
TrackerTopology.h:16
SiStripLAProfileBooker::chi2norm
float chi2norm
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::pt
float pt
Definition:
SiStripLAProfileBooker.h:53
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
SiStripLAProfileBooker::detmap
detparmap detmap
Definition:
SiStripLAProfileBooker.h:71
EDAnalyzer.h
SiStripLAProfileBooker::TrackCounter
int TrackCounter
Definition:
SiStripLAProfileBooker.h:57
SiStripLAProfileBooker::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
SiStripLAProfileBooker.h:28
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
SiStripLAProfileBooker::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &c) override
Definition:
SiStripLAProfileBooker.cc:65
DetId
Definition:
DetId.h:17
SiStripLAProfileBooker::size
int size
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::TanTrackAngleParallel
float TanTrackAngleParallel
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::dbe_
DQMStore * dbe_
Definition:
SiStripLAProfileBooker.h:69
SiStripLAProfileBooker::PhiTrack
float PhiTrack
Definition:
SiStripLAProfileBooker.h:53
dqm::legacy::DQMStore
Definition:
DQMStore.h:727
SiStripLAProfileBooker::MonoStereo
int MonoStereo
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::EventTree
TTree * EventTree
Definition:
SiStripLAProfileBooker.h:61
SiStripLAProfileBooker::TanTrackAngle
float TanTrackAngle
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::Momentum
float Momentum
Definition:
SiStripLAProfileBooker.h:53
IdealMagneticFieldRecord.h
SiStripLAProfileBooker::HitPerTrack
int HitPerTrack
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::sumx
float sumx
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::Hit_Tree
TDirectory * Hit_Tree
Definition:
SiStripLAProfileBooker.h:64
SiStripLAProfileBooker::EventCounter
int EventCounter
Definition:
SiStripLAProfileBooker.h:57
SiStripLAProfileBooker::thick_detector
float thick_detector
Definition:
SiStripLAProfileBooker.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripLAProfileBooker::HitsTree
TTree * HitsTree
Definition:
SiStripLAProfileBooker.h:61
SiStripLAProfileBooker::RunNumber
int RunNumber
Definition:
SiStripLAProfileBooker.h:51
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripLAProfileBooker::detparameters
Definition:
SiStripLAProfileBooker.h:43
SiStripLAProfileBooker::trackcollsize
int trackcollsize
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::bw_fw
int bw_fw
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::~SiStripLAProfileBooker
~SiStripLAProfileBooker() override
Definition:
SiStripLAProfileBooker.cc:251
SiStripLAProfileBooker::Wheel
int Wheel
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::id_detector
int id_detector
Definition:
SiStripLAProfileBooker.h:57
SiStripLAProfileBooker::ParticleCharge
int ParticleCharge
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::TrackTree
TTree * TrackTree
Definition:
SiStripLAProfileBooker.h:61
SiStripLAProfileBooker::tracker
const TrackerGeometry * tracker
Definition:
SiStripLAProfileBooker.h:76
SiStripLAProfileBooker::worse_double_hit
int worse_double_hit
Definition:
SiStripLAProfileBooker.h:55
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
SiStripLAProfileBooker::barycenter
float barycenter
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::Type
int Type
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::Ext_Int
int Ext_Int
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::hit_std_dev
float hit_std_dev
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::summarydetmap
detparmap summarydetmap
Definition:
SiStripLAProfileBooker.h:72
SiStripLAProfileBooker::hFile
TFile * hFile
Definition:
SiStripLAProfileBooker.h:62
SiStripLAProfileBooker::hitcounter_2ndloop
int hitcounter_2ndloop
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::Event_Tree
TDirectory * Event_Tree
Definition:
SiStripLAProfileBooker.h:64
DetId.h
SiStripLAProfileBooker::Layer
int Layer
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::ClSize
int ClSize
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::Amplitudes
uint8_t Amplitudes[100]
Definition:
SiStripLAProfileBooker.h:59
SiStripLAProfileBooker::summaryhisto
histomap summaryhisto
Definition:
SiStripLAProfileBooker.h:67
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
SiStripLAProfileBooker::pitch_detector
float pitch_detector
Definition:
SiStripLAProfileBooker.h:58
SiStripLAProfileBooker::XGlobal
float XGlobal
Definition:
SiStripLAProfileBooker.h:53
SiStripLAProfileBooker::conf_
edm::ParameterSet conf_
Definition:
SiStripLAProfileBooker.h:73
SiStripLAProfileBooker::nstrip
int nstrip
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::histos
histomap histos
Definition:
SiStripLAProfileBooker.h:66
ParameterSet.h
SiStripLAProfileBooker
Definition:
SiStripLAProfileBooker.h:26
SiStripLAProfileBooker::getlayer
void getlayer(const DetId &detid, const TrackerTopology *tTopo, std::string &name, unsigned int &layerid)
Definition:
SiStripLAProfileBooker.cc:717
SiStripLAProfileBooker::endJob
void endJob() override
Definition:
SiStripLAProfileBooker.cc:749
SiStripLAProfileBooker::detparameters::magfield
LocalVector magfield
Definition:
SiStripLAProfileBooker.h:46
edm::Event
Definition:
Event.h:73
LocalVector.h
SiStripLAProfileBooker::detparameters::thickness
float thickness
Definition:
SiStripLAProfileBooker.h:44
SiStripLAProfileBooker::eventcounter
int eventcounter
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::better_double_hit
int better_double_hit
Definition:
SiStripLAProfileBooker.h:55
SiStripLAProfileBooker::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
SiStripLAProfileBooker.h:29
SiStripLAProfileBooker::treename_
std::string treename_
Definition:
SiStripLAProfileBooker.h:74
SiStripLAProfileBooker::EventNumber
int EventNumber
Definition:
SiStripLAProfileBooker.h:51
SiStripLAProfileBooker::detparameters::pitch
float pitch
Definition:
SiStripLAProfileBooker.h:45
SiStripLAProfileBooker::detparmap
std::map< unsigned int, detparameters * > detparmap
Definition:
SiStripLAProfileBooker.h:48
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16