Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
TrackReco
interface
TrackExtraBase.h
Go to the documentation of this file.
1
#ifndef TrackReco_TrackExtraBase_h
2
#define TrackReco_TrackExtraBase_h
3
16
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHitFwd.h
"
17
18
namespace
reco
{
19
class
TrackExtraBase
{
20
public
:
22
TrackExtraBase
() { }
24
void
add
(
const
TrackingRecHitRef
&
r
) {
recHits_
.
push_back
( r ); }
26
trackingRecHit_iterator
recHitsBegin
()
const
{
return
recHits_
.
begin
(); }
28
trackingRecHit_iterator
recHitsEnd
()
const
{
return
recHits_
.
end
(); }
30
size_t
recHitsSize
()
const
{
return
recHits_
.
size
(); }
32
TrackingRecHitRef
recHit
(
size_t
i
)
const
{
return
recHits_
[
i
]; }
33
TrackingRecHitRefVector
recHits
()
const
{
return
recHits_
;}
34
35
private
:
37
TrackingRecHitRefVector
recHits_
;
38
};
39
40
}
41
42
#endif
i
int i
Definition:
DBlmapReader.cc:9
TrackingRecHitFwd.h
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
edm::RefVector::end
const_iterator end() const
Termination of iteration.
Definition:
RefVector.h:249
reco::TrackExtraBase::recHitsEnd
trackingRecHit_iterator recHitsEnd() const
last iterator over RecHits
Definition:
TrackExtraBase.h:28
edm::RefVector::begin
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition:
RefVector.h:244
reco::TrackExtraBase
Definition:
TrackExtraBase.h:19
reco::TrackExtraBase::recHitsSize
size_t recHitsSize() const
number of RecHits
Definition:
TrackExtraBase.h:30
reco::TrackExtraBase::recHits
TrackingRecHitRefVector recHits() const
Definition:
TrackExtraBase.h:33
reco::TrackExtraBase::recHits_
TrackingRecHitRefVector recHits_
references to the hit assigned to the track.
Definition:
TrackExtraBase.h:37
reco::TrackExtraBase::TrackExtraBase
TrackExtraBase()
default constructor
Definition:
TrackExtraBase.h:22
reco::TrackExtraBase::recHitsBegin
trackingRecHit_iterator recHitsBegin() const
first iterator over RecHits
Definition:
TrackExtraBase.h:26
edm::RefVector< TrackingRecHitCollection >
reco::TrackExtraBase::add
void add(const TrackingRecHitRef &r)
add a reference to a RecHit
Definition:
TrackExtraBase.h:24
edm::RefVectorIterator
Definition:
EDProductfwd.h:28
edm::RefVector::push_back
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition:
RefVector.h:64
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::RefVector::size
size_type size() const
Size of the RefVector.
Definition:
RefVector.h:89
reco::TrackExtraBase::recHit
TrackingRecHitRef recHit(size_t i) const
get i-th recHit
Definition:
TrackExtraBase.h:32
edm::Ref
Definition:
AssociativeIterator.h:52
Generated for CMSSW Reference Manual by
1.8.5