AliPhysics  6cf2591 (6cf2591)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ring Struct Reference
Inheritance diagram for Ring:

Public Types

enum  {
  kBetaGamma = 0, kBetaGammaPi, kBetaGammaElectron, kTypes,
  kNSpectra
}
 

Public Member Functions

 Ring ()
 
 Ring (UShort_t d, Char_t r)
 
 Ring (const Ring &r)
 
Ringoperator= (const Ring &r)
 
const char * GetName () const
 
SpectraGet (UInt_t which)
 
const SpectraGet (UInt_t which) const
 
void Fill (AliFMDMCTrackELoss::Hit *hit)
 
TH1Hist (Bool_t primary, UShort_t which) const
 
Long64_t Merge (TCollection *list)
 
void Draw (Option_t *opt="")
 
void ls (Option_t *option="") const
 
void Store (TDirectory *dir)
 
 ClassDef (Ring, 2)
 

Public Attributes

UShort_t fD
 
Char_t fR
 
TString fName
 
TObjArrayfSpectra
 

Detailed Description

Definition at line 377 of file TupleSelector.C.

Member Enumeration Documentation

anonymous enum

Enumeration of our spectra

Enumerator
kBetaGamma 
kBetaGammaPi 
kBetaGammaElectron 
kTypes 
kNSpectra 

Definition at line 390 of file TupleSelector.C.

Constructor & Destructor Documentation

Ring::Ring ( )
inline

I/O constructor

Definition at line 401 of file TupleSelector.C.

Ring::Ring ( UShort_t  d,
Char_t  r 
)
inline

Constructor

Parameters
dDetector
rRing

Definition at line 414 of file TupleSelector.C.

Ring::Ring ( const Ring r)
inline

Copy constructor

Parameters
rOther to copy from

Definition at line 440 of file TupleSelector.C.

Member Function Documentation

Ring::ClassDef ( Ring  ,
 
)
void Ring::Draw ( Option_t opt = "")
inline

Definition at line 577 of file TupleSelector.C.

void Ring::Fill ( AliFMDMCTrackELoss::Hit hit)
inline

Fill histograms

Parameters
hitHit structure

Definition at line 502 of file TupleSelector.C.

Referenced by TupleSelector::Fill().

Spectra* Ring::Get ( UInt_t  which)
inline

Get a spectra

Parameters
whichIdentifier
Returns
Pointer to Spectra object or null

Definition at line 476 of file TupleSelector.C.

Referenced by Fill(), Hist(), and TupleSelector::PlotOne().

const Spectra* Ring::Get ( UInt_t  which) const
inline

Get a spectra

Parameters
whichIdentifier
Returns
Pointer to Spectra object or null

Definition at line 490 of file TupleSelector.C.

const char* Ring::GetName ( ) const
inline

Definition at line 468 of file TupleSelector.C.

TH1* Ring::Hist ( Bool_t  primary,
UShort_t  which 
) const
inline

Get histograms

Parameters
primaryIf true, for primaries
whichWhich histogram to get
Returns
Histogram or null

Definition at line 529 of file TupleSelector.C.

void Ring::ls ( Option_t option = "") const
inline

List this object

Parameters
optionNot used

Definition at line 587 of file TupleSelector.C.

Referenced by Draw().

Long64_t Ring::Merge ( TCollection list)
inline

Merge this object with similar objects in the list.

Parameters
listlist of objects
Returns
Number of merged objects

Definition at line 542 of file TupleSelector.C.

Ring& Ring::operator= ( const Ring r)
inline

Assignment operator

Parameters
rOther to assign from
Returns
Reference to this obect

Definition at line 456 of file TupleSelector.C.

void Ring::Store ( TDirectory *  dir)
inline

Store this on file

Parameters
dirParent directory

Definition at line 599 of file TupleSelector.C.

Referenced by TupleSelector::Store().

Member Data Documentation

UShort_t Ring::fD

Detector number

Definition at line 381 of file TupleSelector.C.

Referenced by Merge(), operator=(), and Ring().

TString Ring::fName

Cached name

Definition at line 385 of file TupleSelector.C.

Referenced by GetName(), operator=(), Ring(), and Store().

Char_t Ring::fR

Ring identifier

Definition at line 383 of file TupleSelector.C.

Referenced by Merge(), operator=(), and Ring().

TObjArray* Ring::fSpectra

Collection of spectra

Definition at line 387 of file TupleSelector.C.

Referenced by Get(), ls(), Merge(), operator=(), Ring(), and Store().


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