src
DataFormats
FTLRecHit
src
FTLTrackingRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/FTLRecHit/interface/FTLTrackingRecHit.h
"
2
3
template
<>
4
bool
FTLTrackingRecHit<FTLRecHitRef>::sharesInput
(
const
TrackingRecHit
*
other
,
SharedInputType
what)
const
{
5
if
(
typeid
(*
other
) ==
typeid
(
FTLTrackingRecHit<FTLRecHitRef>
)) {
6
return
objRef() == (
static_cast<
const
FTLTrackingRecHit<FTLRecHitRef>
*
>
(
other
))->objRef();
7
}
else
{
8
return
false
;
9
}
10
}
TrackingRecHit::SharedInputType
SharedInputType
definition of equality via shared input
Definition:
TrackingRecHit.h:59
FTLTrackingRecHit::sharesInput
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
Definition:
FTLTrackingRecHit.h:31
FTLTrackingRecHit
Basic template class for a RecHit wrapping a Ref to an object.
Definition:
FTLTrackingRecHit.h:10
TrackingRecHit
Definition:
TrackingRecHit.h:21
trackingPlots.other
other
Definition:
trackingPlots.py:1464
FTLTrackingRecHit.h
Generated for CMSSW Reference Manual by
1.8.14