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/TrackingRecHit/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
MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.
Definition:
MTDTransientTrackingRecHit.cc:20
GeomDet
Definition:
GeomDet.h:27
MTDTransientTrackingRecHit::invalidateHit
void invalidateHit()
Definition:
MTDTransientTrackingRecHit.cc:36
MTDTransientTrackingRecHit::isBTL
bool isBTL() const
if this rec hit is a BTL rec hit
Definition:
MTDTransientTrackingRecHit.cc:26
GenericTransientTrackingRecHit
Definition:
GenericTransientTrackingRecHit.h:7
groupFilesInBlocks.temp
list temp
Definition:
groupFilesInBlocks.py:142
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition:
TrackingRecHit.h:120
MTDRecHitContainer
MTDTransientTrackingRecHit::RecHitContainer MTDRecHitContainer
Definition:
MTDTransientTrackingRecHit.cc:18
MTDTransientTrackingRecHit::isETL
bool isETL() const
if this rec hit is a ETL rec hit
Definition:
MTDTransientTrackingRecHit.cc:31
TrackingRecHit::RecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
Definition:
TrackingRecHit.h:31
MTDTransientTrackingRecHit.h
MTDTransientTrackingRecHit::MTDRecHitPointer
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
Definition:
MTDTransientTrackingRecHit.h:20
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
trackingPlots.other
other
Definition:
trackingPlots.py:1465
TrackingRecHit::bad
Definition:
TrackingRecHit.h:49
MTDDetId.h
MTDRecHitPointer
MTDTransientTrackingRecHit::MTDRecHitPointer MTDRecHitPointer
Definition:
MTDTransientTrackingRecHit.cc:17
MTDTransientTrackingRecHit
Definition:
MTDTransientTrackingRecHit.h:18
TrackingRecHit
Definition:
TrackingRecHit.h:21
GeomDet.h
MTDDetId::BTL
Definition:
MTDDetId.h:27
TrackingRecHit::setType
void setType(Type ttype)
Definition:
TrackingRecHit.h:185
ErrorFrameTransformer.h
MTDDetId::ETL
Definition:
MTDDetId.h:27
MTDDetId
Detector identifier base class for the MIP Timing Layer.
Definition:
MTDDetId.h:21
AlignmentPositionError.h
Exception.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16