AliRoot Core  3dc7879 (3dc7879)
AliESDFMD::ForOne Class Referenceabstract

#include <AliESDFMD.h>

Inheritance diagram for AliESDFMD::ForOne:

Public Member Functions

virtual ~ForOne ()
 
virtual bool operator() (UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t m, Float_t e)=0
 

Detailed Description

Base class of looping over the FMD ESD object

A simple example could be

struct ESDFMDPrinter : AliESDFMD::ForOne
{
Bool_t operator()(UShort_t d, Char_t r, UShort_t s, UShort_t t,
Float_t m, Float_t e)
{
Printf("FMD%d%c[%2d,%3d]=%7.4f @ %7.4f", d, r, s, t, m, e);
return kTRUE;
}
};

Definition at line 50 of file AliESDFMD.h.

Constructor & Destructor Documentation

virtual AliESDFMD::ForOne::~ForOne ( )
inlinevirtual

Destructor

Definition at line 56 of file AliESDFMD.h.

Member Function Documentation

virtual bool AliESDFMD::ForOne::operator() ( UShort_t  d,
Char_t  r,
UShort_t  s,
UShort_t  t,
Float_t  m,
Float_t  e 
)
pure virtual

Functional operator called for each entry

Parameters
dDetector number
rRing identifier
sSector number
tStrip number
m'Bare' multiplicity of this strip
ePseudo-rapidity of this strip
Returns
kTRUE in case of success, kFALSE in case of failure. If the method returns kFALSE, the loop stops.

Referenced by ~ForOne().


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