Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
TrackReco
interface
TrackExtraBase.h
Go to the documentation of this file.
1
#ifndef TrackReco_TrackExtraBase_h
2
#define TrackReco_TrackExtraBase_h
3
15
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHitFwd.h
"
16
17
namespace
reco
{
18
class
TrackExtraBase
{
19
public
:
21
TrackExtraBase
() { }
23
void
add
(
const
TrackingRecHitRef
&
r
) {
recHits_
.
push_back
( r ); }
25
trackingRecHit_iterator
recHitsBegin
()
const
{
return
recHits_
.
begin
(); }
27
trackingRecHit_iterator
recHitsEnd
()
const
{
return
recHits_
.
end
(); }
29
size_t
recHitsSize
()
const
{
return
recHits_
.
size
(); }
31
TrackingRecHitRef
recHit
(
size_t
i
)
const
{
return
recHits_
[
i
]; }
32
TrackingRecHitRefVector
recHits
()
const
{
return
recHits_
;}
33
34
private
:
36
TrackingRecHitRefVector
recHits_
;
37
};
38
39
}
40
41
#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:27
edm::RefVector::begin
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition:
RefVector.h:244
reco::TrackExtraBase
Definition:
TrackExtraBase.h:18
reco::TrackExtraBase::recHitsSize
size_t recHitsSize() const
number of RecHits
Definition:
TrackExtraBase.h:29
reco::TrackExtraBase::recHits
TrackingRecHitRefVector recHits() const
Definition:
TrackExtraBase.h:32
reco::TrackExtraBase::recHits_
TrackingRecHitRefVector recHits_
references to the hit assigned to the track.
Definition:
TrackExtraBase.h:36
reco::TrackExtraBase::TrackExtraBase
TrackExtraBase()
default constructor
Definition:
TrackExtraBase.h:21
reco::TrackExtraBase::recHitsBegin
trackingRecHit_iterator recHitsBegin() const
first iterator over RecHits
Definition:
TrackExtraBase.h:25
edm::RefVector< TrackingRecHitCollection >
reco::TrackExtraBase::add
void add(const TrackingRecHitRef &r)
add a reference to a RecHit
Definition:
TrackExtraBase.h:23
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:31
edm::Ref< TrackingRecHitCollection >
Generated for CMSSW Reference Manual by
1.8.5