RecoLocalTracker
SiPixelRecHits
interface
PixelCPETemplateReco.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_SiPixelRecHits_PixelCPETemplateReco_H
2
#define RecoLocalTracker_SiPixelRecHits_PixelCPETemplateReco_H
3
4
#include "
RecoLocalTracker/SiPixelRecHits/interface/PixelCPEBase.h
"
5
6
// Already in the base class
7
//#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
8
//#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
9
//#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
10
//#include "Geometry/CommonDetAlgo/interface/MeasurementPoint.h"
11
//#include "Geometry/CommonDetAlgo/interface/MeasurementError.h"
12
//#include "Geometry/Surface/interface/GloballyPositioned.h"
13
//#include "FWCore/ParameterSet/interface/ParameterSet.h"
14
15
#ifndef SI_PIXEL_TEMPLATE_STANDALONE
16
#include "
CondFormats/SiPixelTransient/interface/SiPixelTemplate.h
"
17
#else
18
#include "
SiPixelTemplate.h
"
19
#endif
20
21
#include <utility>
22
#include <vector>
23
24
#if 0
25
29
#endif
30
31
class
MagneticField
;
32
class
PixelCPETemplateReco
:
public
PixelCPEBase
{
33
public
:
34
struct
ClusterParamTemplate
:
ClusterParam
{
35
ClusterParamTemplate
(
const
SiPixelCluster
&
cl
) :
ClusterParam
(
cl
) {}
36
// The result of PixelTemplateReco2D
37
float
templXrec_
;
38
float
templYrec_
;
39
float
templSigmaX_
;
40
float
templSigmaY_
;
41
// Add new information produced by SiPixelTemplateReco::PixelTempReco2D &&&
42
// These can only be accessed if we change silicon pixel data formats and add them to the rechit
43
float
templProbX_
;
44
float
templProbY_
;
45
46
float
templProbQ_
;
47
48
int
templQbin_
;
49
50
int
ierr
;
51
};
52
53
// PixelCPETemplateReco( const DetUnit& det );
54
PixelCPETemplateReco
(
edm::ParameterSet
const
&conf,
55
const
MagneticField
*,
56
const
TrackerGeometry
&,
57
const
TrackerTopology
&,
58
const
SiPixelLorentzAngle
*,
59
const
SiPixelTemplateDBObject
*);
60
61
~PixelCPETemplateReco
()
override
;
62
63
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&desc);
64
65
private
:
66
std::unique_ptr<ClusterParam>
createClusterParam
(
const
SiPixelCluster
&
cl
)
const override
;
67
68
// We only need to implement measurementPosition, since localPosition() from
69
// PixelCPEBase will call it and do the transformation
70
// Gavril : put it back
71
LocalPoint
localPosition
(
DetParam
const
&theDetParam,
ClusterParam
&theClusterParam)
const override
;
72
73
// However, we do need to implement localError().
74
LocalError
localError
(
DetParam
const
&theDetParam,
ClusterParam
&theClusterParam)
const override
;
75
76
// Template storage
77
std::vector<SiPixelTemplateStore>
thePixelTemp_
;
78
79
int
speed_
;
80
81
bool
UseClusterSplitter_
;
82
83
// Template file management (when not getting the templates from the DB)
84
int
barrelTemplateID_
;
85
int
forwardTemplateID_
;
86
std::string
templateDir_
;
87
88
//bool DoCosmics_;
89
//bool LoadTemplatesFromDB_;
90
};
91
92
#endif
PixelCPEBase::ClusterParam
Definition:
PixelCPEBase.h:80
PixelCPETemplateReco::ClusterParamTemplate
Definition:
PixelCPETemplateReco.h:34
PixelCPETemplateReco::thePixelTemp_
std::vector< SiPixelTemplateStore > thePixelTemp_
Definition:
PixelCPETemplateReco.h:77
TrackerTopology
Definition:
TrackerTopology.h:16
PixelCPETemplateReco::localPosition
LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const override
Definition:
PixelCPETemplateReco.cc:113
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
PixelCPEBase.h
SiPixelCluster
Pixel cluster – collection of neighboring pixels above threshold.
Definition:
SiPixelCluster.h:27
PixelCPETemplateReco::barrelTemplateID_
int barrelTemplateID_
Definition:
PixelCPETemplateReco.h:84
PixelCPETemplateReco::ClusterParamTemplate::templXrec_
float templXrec_
Definition:
PixelCPETemplateReco.h:37
PixelCPETemplateReco::~PixelCPETemplateReco
~PixelCPETemplateReco() override
Definition:
PixelCPETemplateReco.cc:97
PixelCPETemplateReco::ClusterParamTemplate::templQbin_
int templQbin_
Definition:
PixelCPETemplateReco.h:48
PixelCPETemplateReco::speed_
int speed_
Definition:
PixelCPETemplateReco.h:79
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition:
GetRecoTauVFromDQM_MC_cff.py:38
PixelCPETemplateReco::templateDir_
std::string templateDir_
Definition:
PixelCPETemplateReco.h:86
SiPixelTemplate.h
PixelCPETemplateReco::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
PixelCPETemplateReco.cc:547
SiPixelLorentzAngle
Definition:
SiPixelLorentzAngle.h:11
PixelCPETemplateReco::createClusterParam
std::unique_ptr< ClusterParam > createClusterParam(const SiPixelCluster &cl) const override
Definition:
PixelCPETemplateReco.cc:102
Point3DBase< float, LocalTag >
PixelCPETemplateReco::ClusterParamTemplate::templProbY_
float templProbY_
Definition:
PixelCPETemplateReco.h:44
PixelCPETemplateReco::forwardTemplateID_
int forwardTemplateID_
Definition:
PixelCPETemplateReco.h:85
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PixelCPETemplateReco::PixelCPETemplateReco
PixelCPETemplateReco(edm::ParameterSet const &conf, const MagneticField *, const TrackerGeometry &, const TrackerTopology &, const SiPixelLorentzAngle *, const SiPixelTemplateDBObject *)
Definition:
PixelCPETemplateReco.cc:43
edm::ParameterSet
Definition:
ParameterSet.h:36
LocalError
Definition:
LocalError.h:12
PixelCPETemplateReco::ClusterParamTemplate::templSigmaX_
float templSigmaX_
Definition:
PixelCPETemplateReco.h:39
SiPixelTemplateDBObject
Definition:
SiPixelTemplateDBObject.h:16
PixelCPETemplateReco::ClusterParamTemplate::templProbX_
float templProbX_
Definition:
PixelCPETemplateReco.h:43
PixelCPETemplateReco::localError
LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const override
Definition:
PixelCPETemplateReco.cc:427
PixelCPETemplateReco::ClusterParamTemplate::templProbQ_
float templProbQ_
Definition:
PixelCPETemplateReco.h:46
PixelCPETemplateReco
Definition:
PixelCPETemplateReco.h:32
PixelCPETemplateReco::ClusterParamTemplate::ClusterParamTemplate
ClusterParamTemplate(const SiPixelCluster &cl)
Definition:
PixelCPETemplateReco.h:35
PixelCPEBase::DetParam
Definition:
PixelCPEBase.h:56
PixelCPETemplateReco::ClusterParamTemplate::ierr
int ierr
Definition:
PixelCPETemplateReco.h:50
PixelCPEBase
Definition:
PixelCPEBase.h:54
PixelCPETemplateReco::UseClusterSplitter_
bool UseClusterSplitter_
Definition:
PixelCPETemplateReco.h:81
PixelCPETemplateReco::ClusterParamTemplate::templSigmaY_
float templSigmaY_
Definition:
PixelCPETemplateReco.h:40
MagneticField
Definition:
MagneticField.h:19
PixelCPETemplateReco::ClusterParamTemplate::templYrec_
float templYrec_
Definition:
PixelCPETemplateReco.h:38
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16