RecoRomanPot
RecoFP420
interface
TrackProducerFP420.h
Go to the documentation of this file.
1
#ifndef TrackProducerFP420_h
2
#define TrackProducerFP420_h
3
4
#include <string>
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
FWCore/Framework/interface/ESHandle.h
"
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDProducer.h
"
10
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
11
#include "
FWCore/Framework/interface/Event.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
FWCore/Framework/interface/MakerMacros.h
"
14
15
#include "
DataFormats/FP420Cluster/interface/TrackFP420.h
"
16
#include "
DataFormats/FP420Cluster/interface/ClusterFP420.h
"
17
#include "
DataFormats/FP420Cluster/interface/ClusterCollectionFP420.h
"
18
#include "
SimG4CMS/FP420/interface/FP420NumberingScheme.h
"
19
20
#include <vector>
21
#include <algorithm>
22
#include <cmath>
23
24
class
TrackProducerFP420
{
25
public
:
26
typedef
std::vector<ClusterFP420>::const_iterator
ClusterFP420Iter
;
27
28
TrackProducerFP420
(
int
,
29
int
,
30
int
,
31
int
,
32
double
,
33
double
,
34
double
,
35
double
,
36
double
,
37
double
,
38
double
,
39
double
,
40
double
,
41
double
,
42
double
,
43
double
,
44
double
,
45
bool
,
46
bool
,
47
bool
,
48
bool
,
49
double
,
50
double
,
51
float
,
52
float
,
53
double
,
54
int
,
55
double
,
56
double
);
57
58
// std::vector<TrackFP420> trackFinderMaxAmplitude(ClusterCollectionFP420 input);
59
// std::vector<TrackFP420> trackFinderMaxAmplitude2(ClusterCollectionFP420 input);
60
61
// // std::vector<TrackFP420> trackFinderVar1(ClusterCollectionFP420 input);
62
// //std::vector<TrackFP420> trackFinderVar2(ClusterCollectionFP420 input);
63
64
// std::vector<TrackFP420> trackFinderSophisticated(ClusterCollectionFP420 input);
65
std::vector<TrackFP420>
trackFinderSophisticated
(
edm::Handle<ClusterCollectionFP420>
input
,
int
det);
66
67
// std::vector<TrackFP420> trackFinder3D(ClusterCollectionFP420 input);
68
69
private
:
70
ClusterCollectionFP420
soutput
;
71
72
std::vector<TrackFP420>
rhits
;
73
74
// Number of Stations:
75
int
sn0
;
76
// Number of superplanes:
77
int
pn0
;
78
// Number of sensors
79
int
rn0
;
80
// Number of planes:
81
int
xytype
;
82
83
// shift of planes:
84
bool
UseHalfPitchShiftInX
;
85
bool
UseHalfPitchShiftInY
;
86
bool
UseHalfPitchShiftInXW
;
87
bool
UseHalfPitchShiftInYW
;
88
89
//double zUnit;
90
double
z420
;
91
double
zD2
;
92
double
zD3
;
93
double
pitchX
;
94
double
pitchY
;
95
double
pitchXW
;
96
double
pitchYW
;
97
double
ZGapLDet
;
98
//double ZBoundDet;
99
double
ZSiStep
;
100
double
ZSiPlane
;
101
double
ZSiDet
;
102
double
zBlade
;
103
double
gapBlade
;
104
105
double
dXX
;
106
double
dYY
;
107
float
chiCutX
;
108
float
chiCutY
;
109
110
double
zinibeg
;
111
112
int
verbos
;
113
114
double
XsensorSize
;
115
double
YsensorSize
;
116
};
117
118
#endif
TrackProducerFP420::pn0
int pn0
Definition:
TrackProducerFP420.h:77
TrackProducerFP420::ZSiDet
double ZSiDet
Definition:
TrackProducerFP420.h:101
input
static const std::string input
Definition:
EdmProvDump.cc:48
EDProducer.h
ESHandle.h
TrackProducerFP420::chiCutX
float chiCutX
Definition:
TrackProducerFP420.h:107
TrackProducerFP420::pitchY
double pitchY
Definition:
TrackProducerFP420.h:94
ClusterCollectionFP420
Definition:
ClusterCollectionFP420.h:9
TrackProducerFP420::ZSiPlane
double ZSiPlane
Definition:
TrackProducerFP420.h:100
TrackProducerFP420::ZSiStep
double ZSiStep
Definition:
TrackProducerFP420.h:99
TrackProducerFP420::TrackProducerFP420
TrackProducerFP420(int, int, int, int, double, double, double, double, double, double, double, double, double, double, double, double, double, bool, bool, bool, bool, double, double, float, float, double, int, double, double)
Definition:
TrackProducerFP420.cc:23
TrackProducerFP420::UseHalfPitchShiftInY
bool UseHalfPitchShiftInY
Definition:
TrackProducerFP420.h:85
FP420NumberingScheme.h
EDAnalyzer.h
edm::Handle
Definition:
AssociativeIterator.h:50
TrackProducerFP420::pitchXW
double pitchXW
Definition:
TrackProducerFP420.h:95
TrackProducerFP420::rn0
int rn0
Definition:
TrackProducerFP420.h:79
MakerMacros.h
TrackProducerFP420::pitchYW
double pitchYW
Definition:
TrackProducerFP420.h:96
TrackFP420.h
TrackProducerFP420::verbos
int verbos
Definition:
TrackProducerFP420.h:112
TrackProducerFP420::dYY
double dYY
Definition:
TrackProducerFP420.h:106
TrackProducerFP420::chiCutY
float chiCutY
Definition:
TrackProducerFP420.h:108
TrackProducerFP420::xytype
int xytype
Definition:
TrackProducerFP420.h:81
TrackProducerFP420::zinibeg
double zinibeg
Definition:
TrackProducerFP420.h:110
TrackProducerFP420::UseHalfPitchShiftInXW
bool UseHalfPitchShiftInXW
Definition:
TrackProducerFP420.h:86
Event.h
ClusterCollectionFP420.h
TrackProducerFP420::YsensorSize
double YsensorSize
Definition:
TrackProducerFP420.h:115
TrackProducerFP420::gapBlade
double gapBlade
Definition:
TrackProducerFP420.h:103
TrackProducerFP420::UseHalfPitchShiftInX
bool UseHalfPitchShiftInX
Definition:
TrackProducerFP420.h:84
TrackProducerFP420::sn0
int sn0
Definition:
TrackProducerFP420.h:75
TrackProducerFP420::soutput
ClusterCollectionFP420 soutput
Definition:
TrackProducerFP420.h:70
TrackProducerFP420::zBlade
double zBlade
Definition:
TrackProducerFP420.h:102
ClusterFP420.h
TrackProducerFP420::UseHalfPitchShiftInYW
bool UseHalfPitchShiftInYW
Definition:
TrackProducerFP420.h:87
TrackProducerFP420::pitchX
double pitchX
Definition:
TrackProducerFP420.h:93
Frameworkfwd.h
TrackProducerFP420::z420
double z420
Definition:
TrackProducerFP420.h:90
TrackProducerFP420::ClusterFP420Iter
std::vector< ClusterFP420 >::const_iterator ClusterFP420Iter
Definition:
TrackProducerFP420.h:26
TrackProducerFP420
Definition:
TrackProducerFP420.h:24
EventSetup.h
TrackProducerFP420::ZGapLDet
double ZGapLDet
Definition:
TrackProducerFP420.h:97
TrackProducerFP420::XsensorSize
double XsensorSize
Definition:
TrackProducerFP420.h:114
TrackProducerFP420::trackFinderSophisticated
std::vector< TrackFP420 > trackFinderSophisticated(edm::Handle< ClusterCollectionFP420 > input, int det)
Definition:
TrackProducerFP420.cc:106
TrackProducerFP420::zD3
double zD3
Definition:
TrackProducerFP420.h:92
ParameterSet.h
TrackProducerFP420::zD2
double zD2
Definition:
TrackProducerFP420.h:91
TrackProducerFP420::rhits
std::vector< TrackFP420 > rhits
Definition:
TrackProducerFP420.h:72
TrackProducerFP420::dXX
double dXX
Definition:
TrackProducerFP420.h:105
Generated for CMSSW Reference Manual by
1.8.16