AliRoot Core  edcc906 (edcc906)
AliFMDFancy Class Reference

Utility class to visualize FMD data in 2D. More...

#include <AliFMDFancy.h>

Inheritance diagram for AliFMDFancy:

Classes

class  AliFancyDetector
 

Public Member Functions

 AliFMDFancy (const char *gAliceFile="galice.root")
 
virtual ~AliFMDFancy ()
 
virtual Bool_t Init ()
 
virtual Bool_t Begin (Int_t event)
 
virtual Bool_t End ()
 
- Public Member Functions inherited from AliFMDDisplay
 AliFMDDisplay (Bool_t onlyFMD=kTRUE, const char *gAliceFile="galice.root")
 
virtual ~AliFMDDisplay ()
 
void Continue ()
 
void Start ()
 
void Pause ()
 
void Zoom ()
 
void Pick ()
 
virtual void Redisplay ()
 
virtual void Break ()
 
virtual void Render ()
 
virtual void ChangeCut ()
 
virtual void ChangeFactor ()
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Paint (Option_t *option="")
 
virtual Bool_t ProcessDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessSDigit (AliFMDSDigit *sdigit)
 
virtual Bool_t ProcessRawDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessRawCalibDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessRecPoint (AliFMDRecPoint *recpoint)
 
virtual Bool_t ProcessESD (UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t eta, Float_t mult)
 
virtual Int_t LookupColor (Float_t x, Float_t min, Float_t max) const
 
virtual void SetCut (Float_t l=0., Float_t h=1.)
 
virtual void SetFactor (Float_t f=1)
 
- Public Member Functions inherited from AliFMDInput
 AliFMDInput ()
 
 AliFMDInput (const char *gAliceFile)
 
virtual ~AliFMDInput ()
 
virtual void AddLoad (ETrees tree)
 
virtual void RemoveLoad (ETrees tree)
 
virtual Int_t NEvents () const
 
virtual Bool_t IsLoaded (ETrees tree) const
 
virtual void SetLoads (UInt_t mask)
 
virtual void SetLoads (const char *mask)
 
virtual const char * LoadedString (Bool_t dataOnly=false) const
 
virtual Bool_t Event ()
 
virtual Bool_t Finish ()
 
virtual Bool_t Run (UInt_t maxEvents=0)
 
virtual Bool_t ProcessHits ()
 
virtual Bool_t ProcessTrackRefs ()
 
virtual Bool_t ProcessTracks ()
 
virtual Bool_t ProcessStack ()
 
virtual Bool_t ProcessDigits ()
 
virtual Bool_t ProcessSDigits ()
 
virtual Bool_t ProcessRawDigits ()
 
virtual Bool_t ProcessRawCalibDigits ()
 
virtual Bool_t ProcessRecPoints ()
 
virtual Bool_t ProcessESDs ()
 
virtual Bool_t ProcessUsers ()
 
virtual Bool_t ProcessTrackRef (AliTrackReference *trackRef, TParticle *track)
 
virtual Bool_t ProcessTrack (Int_t i, TParticle *p, AliFMDHit *h)
 
virtual Bool_t ProcessParticle (Int_t i, TParticle *p)
 
virtual Bool_t ProcessUser (UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t v)
 
void SetRawFile (const char *file)
 
void SetInputDir (const char *dir)
 

Protected Member Functions

 AliFMDFancy (const AliFMDFancy &)
 
AliFMDFancyoperator= (const AliFMDFancy &)
 
virtual void AddMarker (Float_t x, Float_t y, Float_t z, TObject *o, Float_t s, Float_t min, Float_t max)
 
virtual void AddMarker (UShort_t det, Char_t rng, UShort_t sec, UShort_t str, TObject *o, Float_t s, Float_t min, Float_t max)
 
virtual Bool_t ProcessHit (AliFMDHit *hit, TParticle *)
 
- Protected Member Functions inherited from AliFMDDisplay
 AliFMDDisplay (const AliFMDDisplay &o)
 
AliFMDDisplayoperator= (const AliFMDDisplay &)
 
void ShowOnlyFMD ()
 
virtual void MakeCanvas (const char **which)
 
virtual void MakeAux ()
 
virtual void DrawAux ()
 
virtual void Idle ()
 
virtual void AtEnd ()
 
virtual Bool_t InsideCut (Float_t v, const Float_t &min, const Float_t &max) const
 
virtual Double_t GetADCThreshold (UShort_t d, Char_t r, UShort_t s, UShort_t t) const
 
- Protected Member Functions inherited from AliFMDInput
 AliFMDInput (const AliFMDInput &o)
 
AliFMDInputoperator= (const AliFMDInput &)
 
virtual Float_t GetSignal (UShort_t d, Char_t r, UShort_t s, UShort_t t)
 

Protected Attributes

TPad * fFMD1Pad
 
AliFancyDetector fFMD1
 
TPad * fFMD2Pad
 
AliFancyDetector fFMD2
 
TPad * fFMD3Pad
 
AliFancyDetector fFMD3
 
TPad * fSummary
 
TLatex fEvent
 
TLatex fFMD1IHits
 
TLatex fFMD2IHits
 
TLatex fFMD2OHits
 
TLatex fFMD3IHits
 
TLatex fFMD3OHits
 
TLine fLine
 
TLatex fTotal
 
- Protected Attributes inherited from AliFMDDisplay
Bool_t fWait
 
TObjArrayfMarkers
 
TObjArrayfHits
 
TCanvas * fCanvas
 
TPad * fPad
 
TObjArray fButtons
 
TSlider * fSlider
 
TSlider * fFactor
 
Bool_t fZoomMode
 
Float_t fX0
 
Float_t fY0
 
Float_t fX1
 
Float_t fY1
 
Int_t fXPixel
 
Int_t fYPixel
 
Int_t fOldXPixel
 
Int_t fOldYPixel
 
Bool_t fLineDrawn
 
Bool_t fOnlyFMD
 
TH1 * fSpec
 
TH1 * fSpecCut
 
TCanvas * fAux
 
Bool_t fReturn
 
Bool_t fContinous
 
TTimer fTimeout
 
Float_t fInitialMin
 
Float_t fInitialMax
 
Float_t fInitialFactor
 
- Protected Attributes inherited from AliFMDInput
TString fGAliceFile
 
AliRunLoaderfLoader
 
AliRunfRun
 
AliStackfStack
 
AliLoaderfFMDLoader
 
AliRawReader * fReader
 
AliFMDRawReaderfFMDReader
 
AliFMDfFMD
 
AliESDFMDfESD
 
AliESDEventfESDEvent
 
TTree * fTreeE
 
TTree * fTreeH
 
TTree * fTreeTR
 
TTree * fTreeD
 
TTree * fTreeS
 
TTree * fTreeR
 
TTree * fTreeA
 
TChain * fChainE
 
TClonesArray * fArrayE
 
TClonesArray * fArrayH
 
TClonesArray * fArrayTR
 
TClonesArray * fArrayD
 
TClonesArray * fArrayS
 
TClonesArray * fArrayR
 
TClonesArray * fArrayA
 
AliHeaderfHeader
 
TGeoManager * fGeoManager
 
Int_t fTreeMask
 
TString fRawFile
 
TString fInputDir
 
Bool_t fIsInit
 
Int_t fEventCount
 
Int_t fNEvents
 

Additional Inherited Members

- Public Types inherited from AliFMDInput
enum  ETrees {
  kHits = 1, kKinematics, kDigits, kSDigits,
  kHeader, kRecPoints, kESD, kRaw,
  kGeometry, kTrackRefs, kRawCalib, kUser
}
 
- Static Public Member Functions inherited from AliFMDDisplay
static AliFMDDisplayInstance ()
 
- Static Public Member Functions inherited from AliFMDInput
static TArrayF MakeLogScale (Int_t n, Double_t min, Double_t max)
 
static ETrees ParseLoad (const char *what)
 
- Static Protected Member Functions inherited from AliFMDInput
static const char * TreeName (ETrees tree, bool shortest=false)
 
static TChain * MakeChain (const char *what, const char *datadir, bool recursive=false)
 
static void ScanDirectory (TSystemDirectory *dir, const TString &olddir, TChain *chain, const char *pattern, bool recursive)
 
- Static Protected Attributes inherited from AliFMDDisplay
static AliFMDDisplayfgInstance = 0
 
static const Range_t fgkEdepRange = { 100, 0., 2. }
 
static const Range_t fgkAdcRange = { 1024, 0., 1023. }
 
static const Range_t fgkMultRange = { 500, 0., 20. }
 
- Static Protected Attributes inherited from AliFMDInput
static const ETrees fgkAllLoads [kUser+1]
 

Detailed Description

Utility class to visualize FMD data in 2D.

Definition at line 38 of file AliFMDFancy.h.

Constructor & Destructor Documentation

AliFMDFancy::AliFMDFancy ( const char *  gAliceFile = "galice.root")

Constructor

Parameters
gAliceFilegalice file

Definition at line 63 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::AliFancyDetector::operator=().

AliFMDFancy::~AliFMDFancy ( )
virtual

DTOR

Definition at line 125 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::AliFancyDetector::operator=().

AliFMDFancy::AliFMDFancy ( const AliFMDFancy )
protected

Copy ctor

Member Function Documentation

virtual void AliFMDFancy::AddMarker ( Float_t  x,
Float_t  y,
Float_t  z,
TObject *  o,
Float_t  s,
Float_t  min,
Float_t  max 
)
inlineprotectedvirtual

Add a marker to the display

Parameters
xX position
yY position
zZ position
oObject to refer to
sSignal
maxMaximum of signal

Reimplemented from AliFMDDisplay.

Definition at line 208 of file AliFMDFancy.h.

void AliFMDFancy::AddMarker ( UShort_t  det,
Char_t  rng,
UShort_t  sec,
UShort_t  str,
TObject *  o,
Float_t  s,
Float_t  min,
Float_t  max 
)
protectedvirtual

Add a marker to the display

Parameters
detDetector
rngRing
secSector
strStrip
oObject to refer to
sSignal
maxMaximum of signal

Reimplemented from AliFMDDisplay.

Definition at line 426 of file AliFMDFancy.cxx.

Bool_t AliFMDFancy::Begin ( Int_t  event)
virtual

Called at beginning of an event

Parameters
eventEvent number
Returns
false on error

Reimplemented from AliFMDDisplay.

Definition at line 252 of file AliFMDFancy.cxx.

Bool_t AliFMDFancy::End ( )
virtual

Called at end of an event

Returns
false on error

Reimplemented from AliFMDDisplay.

Definition at line 331 of file AliFMDFancy.cxx.

Bool_t AliFMDFancy::Init ( void  )
virtual

Initialize

Returns
false on error

Reimplemented from AliFMDDisplay.

Definition at line 214 of file AliFMDFancy.cxx.

AliFMDFancy& AliFMDFancy::operator= ( const AliFMDFancy )
inlineprotected

Assignement operator

Definition at line 207 of file AliFMDFancy.h.

Bool_t AliFMDFancy::ProcessHit ( AliFMDHit hit,
TParticle *   
)
protectedvirtual

Process a hit

Parameters
hithit to process

Reimplemented from AliFMDDisplay.

Definition at line 384 of file AliFMDFancy.cxx.

Referenced by AddMarker().

Member Data Documentation

TLatex AliFMDFancy::fEvent
protected

Text fields

Definition at line 243 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), and Begin().

AliFancyDetector AliFMDFancy::fFMD1
protected

FMD1 Frame

Definition at line 231 of file AliFMDFancy.h.

Referenced by AddMarker(), Begin(), End(), and Init().

TLatex AliFMDFancy::fFMD1IHits
protected

Number of hits in FMD1i

Definition at line 245 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().

TPad* AliFMDFancy::fFMD1Pad
protected

FMD1 Pad

Definition at line 229 of file AliFMDFancy.h.

Referenced by Begin(), and End().

AliFancyDetector AliFMDFancy::fFMD2
protected

FMD2 Frame

Definition at line 235 of file AliFMDFancy.h.

Referenced by AddMarker(), Begin(), End(), and Init().

TLatex AliFMDFancy::fFMD2IHits
protected

Number of hits in FMD2i

Definition at line 247 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().

TLatex AliFMDFancy::fFMD2OHits
protected

Number of hits in FMD2o

Definition at line 249 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().

TPad* AliFMDFancy::fFMD2Pad
protected

FMD2 Pad

Definition at line 233 of file AliFMDFancy.h.

Referenced by Begin(), and End().

AliFancyDetector AliFMDFancy::fFMD3
protected

FMD3 Frame

Definition at line 239 of file AliFMDFancy.h.

Referenced by AddMarker(), Begin(), End(), and Init().

TLatex AliFMDFancy::fFMD3IHits
protected

Number of hits in FMD3i

Definition at line 251 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().

TLatex AliFMDFancy::fFMD3OHits
protected

Number of hits in FMD3o

Definition at line 253 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().

TPad* AliFMDFancy::fFMD3Pad
protected

FMD3 Pad

Definition at line 237 of file AliFMDFancy.h.

Referenced by Begin(), and End().

TLine AliFMDFancy::fLine
protected

Just a line

Definition at line 255 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), and Begin().

TPad* AliFMDFancy::fSummary
protected

Summary pad

Definition at line 241 of file AliFMDFancy.h.

Referenced by Begin(), and End().

TLatex AliFMDFancy::fTotal
protected

Number of hits in FMD

Definition at line 257 of file AliFMDFancy.h.

Referenced by AliFMDFancy(), Begin(), and End().


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