REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Types | Public Member Functions | Private Attributes | Friends
TRestHits::TRestHits_Iterator Class Reference

Detailed Description

Definition at line 195 of file TRestHits.h.

Public Types

using difference_type = int
 
using iterator_category = std::random_access_iterator_tag
 
using pointer = void
 
using reference = void
 
using value_type = TRestHits_Iterator
 

Public Member Functions

float & e ()
 
float e () const
 
TRestHits_Iterator operator* () const
 
TRestHits_Iterator operator+ (const int &n)
 
TRestHits_Iteratoroperator++ ()
 
TRestHits_Iteratoroperator+= (const int &n)
 
TRestHits_Iterator operator- (const int &n)
 
TRestHits_Iteratoroperator-- ()
 
TRestHits_Iteratoroperator-= (const int &n)
 
TRestHits_Iteratoroperator= (const TRestHits_Iterator &iter)
 
float & t ()
 
float t () const
 
void toaccessor ()
 
 TRestHits_Iterator (TRestHits *h, int _index)
 
REST_HitType & type ()
 
REST_HitType type () const
 
float & x ()
 
float x () const
 
float & y ()
 
float y () const
 
float & z ()
 
float z () const
 

Private Attributes

float _e
 
float _t
 
REST_HitType _type
 
float _x
 
float _y
 
float _z
 
TRestHitsfHits = nullptr
 
int index = 0
 
bool isAccessor = false
 
int maxIndex = 0
 

Friends

bool operator!= (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
int operator- (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
bool operator< (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
bool operator<= (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
bool operator== (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
bool operator> (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
bool operator>= (const TRestHits_Iterator &i1, const TRestHits_Iterator &i2)
 
void swap (TRestHits::TRestHits_Iterator i1, TRestHits::TRestHits_Iterator i2)
 

The documentation for this class was generated from the following files: