RecoLocalMuon
CSCRecHitD
src
CSCMake2DRecHit.h
Go to the documentation of this file.
1
#ifndef CSCRecHitD_CSCMake2DRecHit_h
2
#define CSCRecHitD_CSCMake2DRecHit_h
3
12
//---- Possible changes from Stoyan Stoynev - NU
13
14
#include <
RecoLocalMuon/CSCRecHitD/src/CSCWireHit.h
>
15
#include <
RecoLocalMuon/CSCRecHitD/src/CSCStripHit.h
>
16
#include <
RecoLocalMuon/CSCRecHitD/src/CSCRecoConditions.h
>
17
#include <
RecoLocalMuon/CSCRecHitD/src/CSCFindPeakTime.h
>
18
19
#include <
DataFormats/CSCRecHit/interface/CSCRecHit2D.h
>
20
21
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
22
23
class
CSCDetId
;
24
class
CSCLayer
;
25
class
CSCChamberSpecs
;
26
class
CSCLayerGeometry
;
27
class
CSCRecoConditions
;
28
class
CSCXonStrip_MatchGatti
;
29
30
class
CSCMake2DRecHit
{
31
public
:
32
explicit
CSCMake2DRecHit
(
const
edm::ParameterSet
&);
33
34
~CSCMake2DRecHit
();
35
37
CSCRecHit2D
hitFromStripAndWire
(
const
CSCDetId
&
id
,
38
const
CSCLayer
* layer,
39
const
CSCWireHit
& wHit,
40
const
CSCStripHit
& sHit);
41
43
bool
isHitInFiducial
(
const
CSCLayer
* layer,
const
CSCRecHit2D
& rh);
44
46
void
setConditions
(
const
CSCRecoConditions
*
reco
);
47
48
// Determine wire time using tpeak as initial estimate
49
float
findWireBx
(
const
std::vector<int>& timeBinsOn,
float
tpeak,
const
CSCDetId
&
id
);
50
51
const
CSCLayer
*
layer_
;
52
const
CSCLayerGeometry
*
layergeom_
;
53
const
CSCChamberSpecs
*
specs_
;
54
CSCDetId
id_
;
55
56
private
:
57
bool
useCalib
;
58
bool
useTimingCorrections
;
59
bool
useGasGainCorrections
;
60
int
stripWireDeltaTime
;
61
bool
useGatti
;
62
float
maxGattiChi2
;
63
64
CSCXonStrip_MatchGatti
*
xMatchGatti_
;
65
66
// Cache pointer to conditions for current event
67
const
CSCRecoConditions
*
recoConditions_
;
68
69
const
std::unique_ptr<CSCFindPeakTime>
peakTimeFinder_
;
70
};
71
72
#endif
CSCMake2DRecHit::CSCMake2DRecHit
CSCMake2DRecHit(const edm::ParameterSet &)
Definition:
CSCMake2DRecHit.cc:24
CSCWireHit.h
CSCWireHit
Definition:
CSCWireHit.h:17
CSCMake2DRecHit::maxGattiChi2
float maxGattiChi2
Definition:
CSCMake2DRecHit.h:62
CSCRecoConditions.h
CSCChamberSpecs
Definition:
CSCChamberSpecs.h:39
CSCMake2DRecHit::peakTimeFinder_
const std::unique_ptr< CSCFindPeakTime > peakTimeFinder_
Definition:
CSCMake2DRecHit.h:69
CSCLayer
Definition:
CSCLayer.h:24
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
CSCMake2DRecHit
Definition:
CSCMake2DRecHit.h:30
CSCMake2DRecHit::id_
CSCDetId id_
Definition:
CSCMake2DRecHit.h:54
CSCMake2DRecHit::layer_
const CSCLayer * layer_
Definition:
CSCMake2DRecHit.h:51
CSCMake2DRecHit::layergeom_
const CSCLayerGeometry * layergeom_
Definition:
CSCMake2DRecHit.h:52
CSCMake2DRecHit::specs_
const CSCChamberSpecs * specs_
Definition:
CSCMake2DRecHit.h:53
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCMake2DRecHit::findWireBx
float findWireBx(const std::vector< int > &timeBinsOn, float tpeak, const CSCDetId &id)
Definition:
CSCMake2DRecHit.cc:292
CSCMake2DRecHit::useCalib
bool useCalib
Definition:
CSCMake2DRecHit.h:57
CSCMake2DRecHit::~CSCMake2DRecHit
~CSCMake2DRecHit()
Definition:
CSCMake2DRecHit.cc:33
CSCStripHit
Definition:
CSCStripHit.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCRecHit2D
Definition:
CSCRecHit2D.h:18
CSCDetId
Definition:
CSCDetId.h:26
CSCStripHit.h
CSCMake2DRecHit::useTimingCorrections
bool useTimingCorrections
Definition:
CSCMake2DRecHit.h:58
CSCMake2DRecHit::isHitInFiducial
bool isHitInFiducial(const CSCLayer *layer, const CSCRecHit2D &rh)
Test if rechit is in fiducial volume.
Definition:
CSCMake2DRecHit.cc:271
CSCMake2DRecHit::xMatchGatti_
CSCXonStrip_MatchGatti * xMatchGatti_
Definition:
CSCMake2DRecHit.h:64
CSCMake2DRecHit::stripWireDeltaTime
int stripWireDeltaTime
Definition:
CSCMake2DRecHit.h:60
CSCRecoConditions
Definition:
CSCRecoConditions.h:24
CSCMake2DRecHit::recoConditions_
const CSCRecoConditions * recoConditions_
Definition:
CSCMake2DRecHit.h:67
CSCMake2DRecHit::hitFromStripAndWire
CSCRecHit2D hitFromStripAndWire(const CSCDetId &id, const CSCLayer *layer, const CSCWireHit &wHit, const CSCStripHit &sHit)
Make 2D hits when have both wire and strip hit available in same layer.
Definition:
CSCMake2DRecHit.cc:35
CSCFindPeakTime.h
CSCRecHit2D.h
ParameterSet.h
CSCXonStrip_MatchGatti
Definition:
CSCXonStrip_MatchGatti.h:24
CSCMake2DRecHit::useGatti
bool useGatti
Definition:
CSCMake2DRecHit.h:61
CSCMake2DRecHit::useGasGainCorrections
bool useGasGainCorrections
Definition:
CSCMake2DRecHit.h:59
CSCMake2DRecHit::setConditions
void setConditions(const CSCRecoConditions *reco)
Pass pointer to conditions data onwards.
Definition:
CSCMake2DRecHit.cc:286
Generated for CMSSW Reference Manual by
1.8.16