AliRoot Core  edcc906 (edcc906)
AliFMDFancy::AliFancyDetector Class Reference

#include <AliFMDFancy.h>

Public Member Functions

 AliFancyDetector (UShort_t id)
 
 ~AliFancyDetector ()
 
void Init ()
 
void Begin (Int_t event=0)
 
void Clear (Int_t event=0)
 
void End ()
 
void AddMarker (Char_t rng, UShort_t sec, UShort_t str, Float_t v, Float_t max)
 
TH1 *& GetFrame ()
 
void SetFrame (TH1 *p)
 
Int_t GetId () const
 
void SetId (Int_t p)
 
TObjArrayGetShapes ()
 
Int_t & GetNInnerHits ()
 
TGraph2D & GetInnerHits ()
 
Int_t & GetNOuterHits ()
 
TGraph2D & GetOuterHits ()
 
Double_t GetMaxR () const
 
void SetMaxR (Double_t p)
 
Double_t GetMinZ () const
 
void SetMinZ (Double_t p)
 
Double_t GetMaxZ () const
 
void SetMaxZ (Double_t p)
 

Protected Attributes

TH1 * fFrame
 
Int_t fId
 
TObjArray fShapes
 
Int_t fNInnerHits
 
TGraph2D fInnerHits
 
Int_t fNOuterHits
 
TGraph2D fOuterHits
 
Double_t fMaxR
 
Double_t fMinZ
 
Double_t fMaxZ
 

Private Member Functions

void AddHistogram (TGraph2D &g, const char *toopt="")
 
 AliFancyDetector (const AliFancyDetector &)
 
AliFancyDetectoroperator= (const AliFancyDetector &)
 

Detailed Description

Sigh! the code checker thinks that all structs are POD - morron

Definition at line 43 of file AliFMDFancy.h.

Constructor & Destructor Documentation

AliFMDFancy::AliFancyDetector::AliFancyDetector ( UShort_t  id)

CTOR

Definition at line 93 of file AliFMDFancy.cxx.

AliFMDFancy::AliFancyDetector::~AliFancyDetector ( )

DTOR

Definition at line 117 of file AliFMDFancy.cxx.

AliFMDFancy::AliFancyDetector::AliFancyDetector ( const AliFancyDetector )
private

Copy ctor

Member Function Documentation

void AliFMDFancy::AliFancyDetector::AddHistogram ( TGraph2D &  g,
const char *  toopt = "" 
)
private

Add a histogram to a 2D graph. For some reason the code checker thinks that this function can be made const - well, it cannot, since the graph passed down is a member of this object, and would be const in the this context if the member function is const. Since we modify the graph, we cannot make it a const reference, no matter how much we'd like to.

Definition at line 132 of file AliFMDFancy.cxx.

Referenced by End(), and Init().

void AliFMDFancy::AliFancyDetector::AddMarker ( Char_t  rng,
UShort_t  sec,
UShort_t  str,
Float_t  v,
Float_t  max 
)

Add a marker

Definition at line 393 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::AddMarker(), and AliFMDFancy::ProcessHit().

void AliFMDFancy::AliFancyDetector::Begin ( Int_t  event = 0)

Called at the beginning of an event

Definition at line 230 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::Begin(), and operator=().

void AliFMDFancy::AliFancyDetector::Clear ( Int_t  event = 0)

Clear display

Definition at line 242 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::Begin().

void AliFMDFancy::AliFancyDetector::End ( )

Called that the end of an event

Definition at line 308 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::End(), and operator=().

TH1*& AliFMDFancy::AliFancyDetector::GetFrame ( )
inline

Get Mother frame

Returns
Mother frame

Definition at line 67 of file AliFMDFancy.h.

Int_t AliFMDFancy::AliFancyDetector::GetId ( void  ) const
inline

Get Identifier

Returns
Identifier

Definition at line 79 of file AliFMDFancy.h.

TGraph2D& AliFMDFancy::AliFancyDetector::GetInnerHits ( )
inline

Get Graph of inner hits

Returns
Graph of inner hits

Definition at line 103 of file AliFMDFancy.h.

Double_t AliFMDFancy::AliFancyDetector::GetMaxR ( ) const
inline

Get Maximum radius

Returns
Maximum radius

Definition at line 121 of file AliFMDFancy.h.

Double_t AliFMDFancy::AliFancyDetector::GetMaxZ ( ) const
inline

Get Maximum Z

Returns
Maximum Z

Definition at line 145 of file AliFMDFancy.h.

Double_t AliFMDFancy::AliFancyDetector::GetMinZ ( ) const
inline

Get Minimum Z

Returns
Minimum Z

Definition at line 133 of file AliFMDFancy.h.

Int_t& AliFMDFancy::AliFancyDetector::GetNInnerHits ( )
inline

Get Number of inner hits

Returns
Number of inner hits

Definition at line 97 of file AliFMDFancy.h.

Referenced by AliFMDFancy::End().

Int_t& AliFMDFancy::AliFancyDetector::GetNOuterHits ( )
inline

Get Number of outer hits

Returns
Number of outer hits

Definition at line 109 of file AliFMDFancy.h.

Referenced by AliFMDFancy::End().

TGraph2D& AliFMDFancy::AliFancyDetector::GetOuterHits ( )
inline

Get Graph of outer hits

Returns
Graph of outer hits

Definition at line 115 of file AliFMDFancy.h.

TObjArray& AliFMDFancy::AliFancyDetector::GetShapes ( )
inline

Get Array of shapes

Returns
Array of shapes

Definition at line 91 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::Init ( void  )

Initialise

Definition at line 147 of file AliFMDFancy.cxx.

Referenced by AliFMDFancy::Init(), and operator=().

AliFancyDetector& AliFMDFancy::AliFancyDetector::operator= ( const AliFancyDetector )
inlineprivate

Assignement operator

Definition at line 184 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::SetFrame ( TH1 *  p)
inline

Set Mother frame

Parameters
p

Definition at line 73 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::SetId ( Int_t  p)
inline

Set Identifier

Parameters
p

Definition at line 85 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::SetMaxR ( Double_t  p)
inline

Set Maximum radius

Parameters
p

Definition at line 127 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::SetMaxZ ( Double_t  p)
inline

Set Maximum Z

Parameters
p

Definition at line 151 of file AliFMDFancy.h.

void AliFMDFancy::AliFancyDetector::SetMinZ ( Double_t  p)
inline

Set Minimum Z

Parameters
p

Definition at line 139 of file AliFMDFancy.h.

Member Data Documentation

TH1* AliFMDFancy::AliFancyDetector::fFrame
protected

Mother frame

Definition at line 154 of file AliFMDFancy.h.

Referenced by Begin(), GetFrame(), Init(), SetFrame(), and ~AliFancyDetector().

Int_t AliFMDFancy::AliFancyDetector::fId
protected

Identifier

Definition at line 156 of file AliFMDFancy.h.

Referenced by AddMarker(), GetId(), Init(), and SetId().

TGraph2D AliFMDFancy::AliFancyDetector::fInnerHits
protected

Graph of inner hits

Definition at line 162 of file AliFMDFancy.h.

Referenced by AddMarker(), AliFancyDetector(), End(), GetInnerHits(), and Init().

Double_t AliFMDFancy::AliFancyDetector::fMaxR
protected

Maximum radius

Definition at line 168 of file AliFMDFancy.h.

Referenced by AddHistogram(), GetMaxR(), Init(), and SetMaxR().

Double_t AliFMDFancy::AliFancyDetector::fMaxZ
protected

Maximum Z

Definition at line 172 of file AliFMDFancy.h.

Referenced by AddHistogram(), Begin(), GetMaxZ(), Init(), and SetMaxZ().

Double_t AliFMDFancy::AliFancyDetector::fMinZ
protected

Minimum Z

Definition at line 170 of file AliFMDFancy.h.

Referenced by AddHistogram(), Begin(), GetMinZ(), Init(), and SetMinZ().

Int_t AliFMDFancy::AliFancyDetector::fNInnerHits
protected

Number of inner hits

Definition at line 160 of file AliFMDFancy.h.

Referenced by AddMarker(), Clear(), End(), and GetNInnerHits().

Int_t AliFMDFancy::AliFancyDetector::fNOuterHits
protected

Number of outer hits

Definition at line 164 of file AliFMDFancy.h.

Referenced by AddMarker(), Clear(), End(), and GetNOuterHits().

TGraph2D AliFMDFancy::AliFancyDetector::fOuterHits
protected

Graph of outer hits

Definition at line 166 of file AliFMDFancy.h.

Referenced by AddMarker(), AliFancyDetector(), End(), GetOuterHits(), and Init().

TObjArray AliFMDFancy::AliFancyDetector::fShapes
protected

Array of shapes

Definition at line 158 of file AliFMDFancy.h.

Referenced by Begin(), GetShapes(), Init(), and ~AliFancyDetector().


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