src
RecoMTD
TransientTrackingRecHit
src
MTDTransientTrackingRecHit.cc
Go to the documentation of this file.
1
5
#include "
RecoMTD/TransientTrackingRecHit/interface/MTDTransientTrackingRecHit.h
"
6
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
7
8
#include "
DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h
"
9
#include "
DataFormats/ForwardDetId/interface/MTDDetId.h
"
10
#include "
DataFormats/GeometryCommonDetAlgo/interface/AlignmentPositionError.h
"
11
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
12
13
#include "
FWCore/Utilities/interface/Exception.h
"
14
15
#include <map>
16
17
typedef
MTDTransientTrackingRecHit::MTDRecHitPointer
MTDRecHitPointer
;
18
typedef
MTDTransientTrackingRecHit::RecHitContainer
MTDRecHitContainer
;
19
20
MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
(
const
GeomDet
*
geom
,
const
TrackingRecHit
* rh)
21
:
GenericTransientTrackingRecHit
(*
geom
, *rh) {}
22
23
MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
(
const
MTDTransientTrackingRecHit
&
other
)
24
:
GenericTransientTrackingRecHit
(*
other
.det(), *(
other
.
hit
())) {}
25
26
bool
MTDTransientTrackingRecHit::isBTL
()
const
{
27
MTDDetId
temp
(
geographicalId
());
28
return
(
temp
.mtdSubDetector() ==
MTDDetId::BTL
);
29
}
30
31
bool
MTDTransientTrackingRecHit::isETL
()
const
{
32
MTDDetId
temp
(
geographicalId
());
33
return
(
temp
.mtdSubDetector() ==
MTDDetId::ETL
);
34
}
35
36
void
MTDTransientTrackingRecHit::invalidateHit
() {
37
setType
(
bad
);
//trackingRecHit_->setType(bad); // maybe add in later
38
}
MessageLogger.h
GeomDet.h
MTDTransientTrackingRecHit::MTDRecHitPointer
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
Definition:
MTDTransientTrackingRecHit.h:20
MTDTransientTrackingRecHit
Definition:
MTDTransientTrackingRecHit.h:18
GeomDet
Definition:
GeomDet.h:27
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
ErrorFrameTransformer.h
MTDDetId.h
TrackingRecHit::RecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
Definition:
TrackingRecHit.h:31
GenericTransientTrackingRecHit
Definition:
GenericTransientTrackingRecHit.h:7
TrackingRecHit
Definition:
TrackingRecHit.h:21
MTDDetId
Detector identifier base class for the MIP Timing Layer.
Definition:
MTDDetId.h:21
MTDTransientTrackingRecHit::isETL
bool isETL() const
if this rec hit is a ETL rec hit
Definition:
MTDTransientTrackingRecHit.cc:31
MTDTransientTrackingRecHit::isBTL
bool isBTL() const
if this rec hit is a BTL rec hit
Definition:
MTDTransientTrackingRecHit.cc:26
MTDRecHitPointer
MTDTransientTrackingRecHit::MTDRecHitPointer MTDRecHitPointer
Definition:
MTDTransientTrackingRecHit.cc:17
MTDRecHitContainer
MTDTransientTrackingRecHit::RecHitContainer MTDRecHitContainer
Definition:
MTDTransientTrackingRecHit.cc:18
trackingPlots.other
other
Definition:
trackingPlots.py:1467
TrackingRecHit::setType
void setType(Type ttype)
Definition:
TrackingRecHit.h:185
MTDDetId::ETL
Definition:
MTDDetId.h:27
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
Exception.h
TrackingRecHit::bad
Definition:
TrackingRecHit.h:49
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition:
TrackingRecHit.h:120
MTDDetId::BTL
Definition:
MTDDetId.h:27
MTDTransientTrackingRecHit::invalidateHit
void invalidateHit()
Definition:
MTDTransientTrackingRecHit.cc:36
MTDTransientTrackingRecHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
AlignmentPositionError.h
MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.
Definition:
MTDTransientTrackingRecHit.cc:20
Generated for CMSSW Reference Manual by
1.8.14