RecoLocalMuon
CSCRecHitD
src
CSCRecHitDBuilder.h
Go to the documentation of this file.
1
#ifndef CSCRecHitD_CSCRecHitDBuilder_h
2
#define CSCRecHitD_CSCRecHitDBuilder_h
3
24
#include <
DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h
>
25
#include <
DataFormats/CSCDigi/interface/CSCStripDigiCollection.h
>
26
#include <
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
>
27
28
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
29
30
class
CSCLayer
;
31
class
CSCGeometry
;
32
class
CSCDetId
;
33
class
CSCHitFromStripOnly
;
34
class
CSCHitFromWireOnly
;
35
class
CSCMake2DRecHit
;
36
class
CSCRecoConditions
;
37
38
class
CSCRecHitDBuilder
{
39
public
:
44
explicit
CSCRecHitDBuilder
(
const
edm::ParameterSet
& ps);
45
46
~CSCRecHitDBuilder
();
47
56
void
build
(
const
CSCStripDigiCollection
* stripds,
const
CSCWireDigiCollection
* wireds,
CSCRecHit2DCollection
& oc);
57
61
void
setGeometry
(
const
CSCGeometry
*
geom
) {
geom_
=
geom
; }
62
66
void
setConditions
(
CSCRecoConditions
*
reco
);
67
68
const
CSCLayer
*
getLayer
(
const
CSCDetId
& detId);
69
70
private
:
71
bool
useCalib
;
72
int
stripWireDeltaT
;
73
bool
makePseudo2DHits
;
74
80
CSCHitFromStripOnly
*
hitsFromStripOnly_
;
81
CSCHitFromWireOnly
*
hitsFromWireOnly_
;
82
83
CSCMake2DRecHit
*
make2DHits_
;
84
85
/*
86
* Cache geometry for current event
87
*/
88
const
CSCGeometry
*
geom_
;
89
/*
90
* Cache conditions data for current event - cannot be const because we need to update bad channels words
91
*/
92
CSCRecoConditions
*
recoConditions_
;
93
};
94
95
#endif
CSCRecHit2DCollection.h
CSCRecHitDBuilder::makePseudo2DHits
bool makePseudo2DHits
Definition:
CSCRecHitDBuilder.h:73
CSCRecHit2DCollection
CSCRecHitDBuilder::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition:
CSCRecHitDBuilder.h:61
CSCRecHitDBuilder::setConditions
void setConditions(CSCRecoConditions *reco)
Definition:
CSCRecHitDBuilder.cc:151
CSCStripDigiCollection
CSCRecHitDBuilder::stripWireDeltaT
int stripWireDeltaT
Definition:
CSCRecHitDBuilder.h:72
CSCRecHitDBuilder::getLayer
const CSCLayer * getLayer(const CSCDetId &detId)
Definition:
CSCRecHitDBuilder.cc:149
CSCLayer
Definition:
CSCLayer.h:24
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
CSCRecHitDBuilder::geom_
const CSCGeometry * geom_
Definition:
CSCRecHitDBuilder.h:88
CSCMake2DRecHit
Definition:
CSCMake2DRecHit.h:30
CSCGeometry
Definition:
CSCGeometry.h:24
CSCRecHitDBuilder::build
void build(const CSCStripDigiCollection *stripds, const CSCWireDigiCollection *wireds, CSCRecHit2DCollection &oc)
Definition:
CSCRecHitDBuilder.cc:47
CSCRecHitDBuilder::hitsFromWireOnly_
CSCHitFromWireOnly * hitsFromWireOnly_
Definition:
CSCRecHitDBuilder.h:81
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
CSCHitFromWireOnly
Definition:
CSCHitFromWireOnly.h:36
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCRecHitDBuilder::CSCRecHitDBuilder
CSCRecHitDBuilder(const edm::ParameterSet &ps)
Definition:
CSCRecHitDBuilder.cc:30
CSCDetId
Definition:
CSCDetId.h:26
CSCStripDigiCollection.h
CSCRecHitDBuilder::recoConditions_
CSCRecoConditions * recoConditions_
Definition:
CSCRecHitDBuilder.h:92
CSCRecHitDBuilder
Definition:
CSCRecHitDBuilder.h:38
CSCRecHitDBuilder::useCalib
bool useCalib
Definition:
CSCRecHitDBuilder.h:71
CSCWireDigiCollection
CSCRecoConditions
Definition:
CSCRecoConditions.h:24
CSCRecHitDBuilder::hitsFromStripOnly_
CSCHitFromStripOnly * hitsFromStripOnly_
Definition:
CSCRecHitDBuilder.h:80
CSCRecHitDBuilder::~CSCRecHitDBuilder
~CSCRecHitDBuilder()
Definition:
CSCRecHitDBuilder.cc:41
CSCWireDigiCollection.h
ParameterSet.h
CSCHitFromStripOnly
Definition:
CSCHitFromStripOnly.h:34
CSCRecHitDBuilder::make2DHits_
CSCMake2DRecHit * make2DHits_
Definition:
CSCRecHitDBuilder.h:83
Generated for CMSSW Reference Manual by
1.8.16