ROOT logo
AliRoot » TPC » REC » AliTPCclustererKr

class AliTPCclustererKr: public TObject

           Implementation of the TPC Kr cluster class

 Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl

Function Members (Methods)

public:
AliTPCclustererKr()
AliTPCclustererKr(const AliTPCclustererKr& param)
virtual~AliTPCclustererKr()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidCleanSector(Int_t sector)
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual Int_tFindClusterKrIO()
virtual Int_tFinderIO()
virtual Int_tFinderIO(AliRawReader* rawReader)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tGetDebugLevel() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetFirstBin() const
TH1F*GetHistoPad()
TH1F*GetHistoRow()
TH2F*GetHistoRowPad()
TH1F*GetHistoTime()
virtual const char*TObject::GetIconName() const
Short_tGetIsolCut() const
Int_tGetLastBin() const
Float_tGetMaxNoiseAbs() const
Float_tGetMaxNoiseSigma() const
Double_tGetMaxPadRangeCm() const
Double_tGetMaxRowRangeCm() const
Int_tGetMaxTimeRange() const
Int_tGetMinAdc() const
Int_tGetMinTimeBins() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UInt_tGetRun() const
UInt_tGetTimeStamp() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tGetValueToSize() const
voidGetXY(Int_t sec, Int_t row, Int_t pad, Double_t& xGlob, Double_t& yGlob)
Int_tGetZeroSup() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliTPCclustererKr&operator=(const AliTPCclustererKr& param)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetDebugLevel(Int_t debug)
virtual voidSetDigArr(AliTPCDigitsArray* digarr)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetFirstBin(Int_t v)
virtual voidSetHistoPad(TH1F* histo)
virtual voidSetHistoRow(TH1F* histo)
virtual voidSetHistoRowPad(TH2F* histo)
virtual voidSetHistoTime(TH1F* histo)
virtual voidSetInput(TTree* tree)
virtual voidSetIsolCut(Short_t v)
virtual voidSetLastBin(Int_t v)
virtual voidSetMaxNoiseAbs(Float_t v)
virtual voidSetMaxNoiseSigma(Float_t v)
virtual voidSetMaxPadRangeCm(Double_t v)
virtual voidSetMaxRowRangeCm(Double_t v)
virtual voidSetMaxTimeRange(Int_t v)
virtual voidSetMinAdc(Int_t v)
virtual voidSetMinTimeBins(Int_t v)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOutput(TTree* tree)
virtual voidSetParam(AliTPCParam* param)
virtual voidSetRecoParam(AliTPCRecoParam* recoParam = 0)
virtual voidSetRun(UInt_t run)
virtual voidSetTimeStamp(UInt_t timestamp)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetValueToSize(Float_t v)
virtual voidSetZeroSup(Int_t v)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidMakeClusters(TObjArray* maximaInSector, Int_t iSec, Int_t& clusterCounter)

Data Members

private:
Int_tfDebugLevel! debug level variable
AliTPCDigitsArray*fDigarr! pointer to current array if digits
Int_tfFirstBinfirst considered time bin used by cluster finder = 60 def.
TH1F*fHistoPad!debug histo for pads
TH1F*fHistoRow!debug histo for rows
TH2F*fHistoRowPad!debug histo for rows and pads
TH1F*fHistoTime!debug histo for timebins
TTree*fInput!input tree with digits - object not owner
Short_tfIsolCutisolation cut in 3D = 5 def.
Int_tfLastBinlast considered time bin used by cluster finder = 950 def.
Float_tfMaxNoiseAbsmaximal noise value on pad used in cluster finder = 2 def.
Float_tfMaxNoiseSigmamaximal noise sigma on pad used in cluster finder = 3 def.
Double_tfMaxPadRangeCmmaximal pad range in cm from maximum = 2.5cm def.
Double_tfMaxRowRangeCmmaximal row range in cm from maximum = 3.5cm def.
Int_tfMaxTimeRangemaximal time bin range from maximum = 7 def.
Int_tfMinAdcminimal value of acd count in each timebin = 3 def.
Int_tfMinTimeBinsminimal value of time bins one after each other = 2 def.
TTreeSRedirector*fOutput!output tree with clusters - object not owner
AliTPCParam*fParam!TPC parameters
Bool_tfRawDataflag =0 for MC =1 for real data
const AliTPCRecoParam*fRecoParam! reconstruction parameters
UInt_tfRun!run from event header
UInt_tfTimeStamp!time stamp from event header
Float_tfValueToSizeratio cluster value to cluster size = 3.5 def.
Int_tfZeroSupzero suppresion parameter = 2 def.

Class Charts

Inheritance Chart:
TObject
AliTPCclustererKr

Function documentation

AliTPCclustererKr()
  fMaxPadRange(4),
  fMaxRowRange(3),

 default constructor

AliTPCclustererKr(const AliTPCclustererKr& param)
  fMaxPadRange(4),
  fMaxRowRange(3),

 copy constructor

~AliTPCclustererKr()
 destructor

void SetRecoParam(AliTPCRecoParam* recoParam = 0)
 set reconstruction parameters

void SetInput(TTree* tree)
 set input tree with digits

void SetOutput(TTree* tree)
dummy

Int_t FinderIO()
 Krypton cluster finder for simulated events from MC
Int_t FinderIO(AliRawReader* rawReader)
 Krypton cluster finder for the TPC raw data
 this method is unsing AliAltroRawStreamV3
 fParam must be defined before
void CleanSector(Int_t sector)
 clean isolated digits

Int_t FindClusterKrIO()
void MakeClusters(TObjArray* maximaInSector, Int_t iSec, Int_t& clusterCounter)
 Make clusters

void GetXY(Int_t sec, Int_t row, Int_t pad, Double_t& xGlob, Double_t& yGlob)
gives global XY coordinate of the pad

void SetParam(AliTPCParam* param)
{fParam=param;}
void SetDigArr(AliTPCDigitsArray* digarr)
{fDigarr=digarr;}
void SetTimeStamp(UInt_t timestamp)
{ fTimeStamp = timestamp; }
void SetRun(UInt_t run)
{ fRun = run; }
void SetZeroSup(Int_t v)
setters for cluster finder parameters
void SetFirstBin(Int_t v)
void SetLastBin(Int_t v)
void SetMaxNoiseAbs(Float_t v)
void SetMaxNoiseSigma(Float_t v)
void SetMinAdc(Int_t v)
{v<=0?fMinAdc=1:fMinAdc=v;}
void SetMinTimeBins(Int_t v)
  virtual void SetMaxPadRange(Int_t v){fMaxPadRange=v;}//set fMaxPadRange
  virtual void SetMaxRowRange(Int_t v){fMaxRowRange=v;}//set fMaxRowRange
void SetMaxTimeRange(Int_t v)
void SetValueToSize(Float_t v)
void SetMaxPadRangeCm(Double_t v)
void SetMaxRowRangeCm(Double_t v)
void SetIsolCut(Short_t v)
void SetDebugLevel(Int_t debug)
debug = 0 to 71 -sector number to  print
 = 72 - all sectors
 = 73 - inners
 = 74 - outers
{fDebugLevel=debug;}
void SetHistoRow(TH1F* histo)
{fHistoRow =histo;}
void SetHistoPad(TH1F* histo)
{fHistoPad =histo;}
void SetHistoTime(TH1F* histo)
{fHistoTime =histo;}
void SetHistoRowPad(TH2F* histo)
{fHistoRowPad=histo;}
Int_t GetZeroSup() const
getters for cluster finder parameters
{return fZeroSup;}
Int_t GetFirstBin() const
{return fFirstBin;}
Int_t GetLastBin() const
{return fLastBin;}
Float_t GetMaxNoiseAbs() const
{return fMaxNoiseAbs;}
Float_t GetMaxNoiseSigma() const
{return fMaxNoiseSigma;}
Int_t GetMinAdc() const
{return fMinAdc;}
Int_t GetMinTimeBins() const
  Int_t GetMaxPadRange() const {return fMaxPadRange;}//get fMaxPadRange
  Int_t GetMaxRowRange() const {return fMaxRowRange;}//get fMaxRowRange
{return fMinTimeBins;}
Int_t GetMaxTimeRange() const
{return fMaxTimeRange;}
Float_t GetValueToSize() const
{return fValueToSize;}
Double_t GetMaxPadRangeCm() const
{return fMaxPadRangeCm;}
Double_t GetMaxRowRangeCm() const
{return fMaxRowRangeCm;}
Short_t GetIsolCut() const
{return fIsolCut;}
Int_t GetDebugLevel() const
{return fDebugLevel;}
TH1F * GetHistoRow()
{return fHistoRow;}
TH1F * GetHistoPad()
{return fHistoPad;}
TH1F * GetHistoTime()
{return fHistoTime;}
TH2F * GetHistoRowPad()
{return fHistoRowPad;}
UInt_t GetTimeStamp() const
{return fTimeStamp;}
UInt_t GetRun() const
{return fRun;}