CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
reco::PFRecHit::Neighbours Struct Reference

#include <PFRecHit.h>

Public Types

using Pointer = unsigned int const *
 

Public Member Functions

Pointer begin () const
 
Pointer end () const
 
 Neighbours ()
 
 Neighbours (Pointer ib, unsigned int n)
 
unsigned int size () const
 

Public Attributes

Pointer b
 
Pointer e
 

Detailed Description

Definition at line 39 of file PFRecHit.h.

Member Typedef Documentation

◆ Pointer

using reco::PFRecHit::Neighbours::Pointer = unsigned int const*

Definition at line 40 of file PFRecHit.h.

Constructor & Destructor Documentation

◆ Neighbours() [1/2]

reco::PFRecHit::Neighbours::Neighbours ( )
inline

Definition at line 41 of file PFRecHit.h.

41 {}

◆ Neighbours() [2/2]

reco::PFRecHit::Neighbours::Neighbours ( Pointer  ib,
unsigned int  n 
)
inline

Definition at line 42 of file PFRecHit.h.

42 : b(ib), e(ib + n) {}

Member Function Documentation

◆ begin()

Pointer reco::PFRecHit::Neighbours::begin ( void  ) const
inline

Definition at line 44 of file PFRecHit.h.

44 { return b; }

References b.

◆ end()

Pointer reco::PFRecHit::Neighbours::end ( void  ) const
inline

Definition at line 45 of file PFRecHit.h.

45 { return e; }

References e.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ size()

unsigned int reco::PFRecHit::Neighbours::size ( void  ) const
inline

Definition at line 46 of file PFRecHit.h.

46 { return e - b; }

References b, and e.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

Member Data Documentation

◆ b

Pointer reco::PFRecHit::Neighbours::b

Definition at line 43 of file PFRecHit.h.

Referenced by begin(), and size().

◆ e

Pointer reco::PFRecHit::Neighbours::e

Definition at line 43 of file PFRecHit.h.

Referenced by end(), and size().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
reco::PFRecHit::Neighbours::e
Pointer e
Definition: PFRecHit.h:43
reco::PFRecHit::Neighbours::b
Pointer b
Definition: PFRecHit.h:43
cuy.ib
ib
Definition: cuy.py:662