class HMdcDeDxHists: public HReconstructor

_HADES_CLASS_DESCRIPTION


 HMdcDeDxHists

 Fills  momentum vs mdcdedx (spline or kicktrack) for
 full tracks (seg1+seg2), seg1, seg2 , system 0/1 and sector wise.
 OPTIONS:
 Momentum version:-----------------------------------------------------------
 The histograms can be filled by HKicktrack or HSplineTrack:
 The selection can be done with
 setUseSpline(Bool_t)      :  kTRUE (default) - Fills from HSplineTrack
                           :  kFALSE          - Fills from HKickTrack
 dEdx calculation:-----------------------------------------------------------
 The mode of HMdcDeDx::calcDeDx(......., mode,module) can be switched
 via setDeDxMode(Int_t m)  :  0 (default) - Fills from HMdcSeg (only cells kept by the fitter)
                              1           - Fills from HMdcClusFit (cells with weight 0 AND 1 are used)
 via setDeDxModule(Int_t m):  0           - Fills for 1st module in HMdcSeg
                              1           - Fills for 2st module in HMdcSeg
                              2 (default) - Fills for both modules in HMdcSeg

 via setDeDxWindow(Float_t w) the window of the truncated mena can be set
 in units of sigma (default 5.0);
 via setDeDxMinimumWires(Int_t n) the minimal number of wires after the truncated
 mean procedure  can be set.
 via setDeDxUseShifts(Bool_t shift) the normalization procedure of the dEdx calculation
 cand be switched on or off (default=ON).
 CPR mode:-------------------------------------------------------------------
 Single wire distribution / ntuple filled for single/doubles of Jaro's CPR condition
 Runs on special pepared input file (Stripped single/doubles with HKickTrack containing
 1 for singles and 2 for doubles )
 setCPR(Bool_t cpr)        :  kTRUE            run in the special mode
 setCPR(Bool_t cpr)        :  kFALSE (default) run in the normal mode
 DEBUG mode:-----------------------------------------------------------------
 If Debug mode is switched on (default OFF),
   HMdcTrkCand.getFirstCandInd() =p*charge;
   HMdcTrkCand.getNCandForSeg1() =single_double (only if cpr, 1=single,2=double);
 The out put dedx of HMdcTrkCand will be refilled with the calculated values.
 setDebug(Bool_t d)


Function Members (Methods)

public:
HMdcDeDxHists()
HMdcDeDxHists(const Text_t* name, const Text_t* title)
virtual~HMdcDeDxHists()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidHReconstructor::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Bool_tHReconstructor::connectTask(HTask* task, Int_t n = 0)
virtual voidTNamed::Copy(TObject& named) 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 Int_texecute()
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 voidTNamed::FillBuffer(char*& buffer)
virtual Bool_tfinalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual HTask*HReconstructor::getComposite()
virtual voidHReconstructor::getConnections()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual HTask*HTask::getOwner()
TObjArrayHReconstructor::getTable()
virtual HTask*HReconstructor::getTask(const Char_t* name)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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 Bool_tinit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tHReconstructor::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual voidHReconstructor::isTimed(Bool_t flag = kTRUE)
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual HTask*HReconstructor::next(Int_t& errCode)
virtual Bool_tTObject::Notify()
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)
HTask&HTask::operator=(const HTask&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidprintStatus()
virtual voidHReconstructor::printTimer()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_tHTask::reinit()
voidTObject::ResetBit(UInt_t f)
virtual voidHReconstructor::resetTimer()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidHReconstructor::setActive(Bool_t state)MENU
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual Bool_tHTask::setConnections()
voidsetCPR(Bool_t ok)
voidsetDebug(Bool_t ok)
voidsetDeDxMethod(Int_t m)
voidsetDeDxMinimumWires(Int_t n)
voidsetDeDxModule(Int_t m)
voidsetDeDxUseShifts(Bool_t shift)
voidsetDeDxWindow(Float_t w)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidHTask::setManual()
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidsetNTuple(Bool_t ok)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetOnline(Bool_t ok)
virtual voidHTask::setOwner(HTask* atask)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetUseSpline(Bool_t ok)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
voidinitParameters()
voidmakeHists()
voidTObject::MakeZombie()
voidsetParContainers()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TNtuple*celltuple! ntuple for investigations
Bool_tcpr! switch option for singles/doubles (HKickTrack->getRingId() will keep single/double flag (1,2) corresponding to Jaro's CPR)
Bool_tdebug! switch debug option (variables of HMdcTrkCand are overwritten with p*charge/single_double flag)
Bool_tHReconstructor::fActiveActive flag
TList*HReconstructor::fHistogramsList of histograms generated by this reconstructor.
Bool_tHTask::fIsTimedtimer flag
TStringTNamed::fNameobject identifier
TObjArrayHReconstructor::fOutputs
TStopwatchHReconstructor::fTimerTask timer
TStringTNamed::fTitleobject title
Bool_thasPrintedflag is set if printStatus is called
TH2F*hdedx_p_all_seg[2]! dedx vs mom for seg
TH2F*hdedx_p_all_seg_sys[2][2]! dedx vs mom for seg/sys
TH2F*hdedx_p_all_trk! dedx vs mom for trk
TH2F*hdedx_p_all_trk_sys[2]! dedx vs mom for trk/sys
TH2F*hdedx_p_sec_seg[6][2]! dedx vs mom for sec/seg
TH2F*hdedx_p_sec_seg_sys[6][2][2]! dedx vs mom for sec/seg/sys
TH2F*hdedx_p_sec_trk[6]! dedx vs mom for sec/trk
TH2F*hdedx_p_sec_trk_sys[6][2]! dedx vs mom for sec/trk/sys
TH1F*hdriftcells[2]! histograms for single/double single measurements
Bool_tHTask::isConnected
Bool_tHTask::isInitialised
HCategory*kickCat! pointer to the kicktrack data (fillhists only)
HIterator*kickiter! iterator on kicktrack data. (fillhists only)
HLocationlockick! location in kicktrack category(fillhists only)
HLocationlocseg! location in segment category
Bool_tHTask::manual
HCategory*metamatchCat! pointer to the meta match data (fillhists only)
HIterator*metamatchiter! iterator on metamatch data. (fillhists only)
Int_tminwires! minimum number of wires
Int_tmode! switch mode of HMdcDeDX::calcDedX(......,mode,module)
Int_tmodule! switch module of HMdcDeDX::calcDedX(......,mode,module)
Bool_tntuple! switch ntuple option
Bool_tonline! switch for online/offline
TFile*output
HTask*HTask::owner
TCanvas*result! canvas for online option
HCategory*segCat! pointer to the HMdcSeg data
HCategory*splineCat! pointer to the spline track data (fillhists only)
HCategory*trkcandCat! pointer to the HMdcTrkCand data
HIterator*trkcanditer! iterator on HMdcTrkCand data.
Bool_tuseSpline! use spline fit (kTRUE) or kick plane (kFALSE)
Bool_tuseshifts! switch normalization on/off
Float_twindow! window for truncated mean

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMdcDeDxHists(void)
 Default constructor .
HMdcDeDxHists(const Text_t* name, const Text_t* title)
 Constructor calls the constructor of class HReconstructor with the name
 and the title as arguments.
~HMdcDeDxHists(void)
 destructor deletes the iterator
void initParameters()
void setParContainers()
 creates the parameter containers
Bool_t init(void)
 gets the pointers to HMdcTrkC and HMdcSeg categories
 calls the function setParContainers()
void makeHists()
void printStatus()
 prints the parameters to the screen
Int_t execute(void)
Bool_t finalize()
void setUseSpline(Bool_t ok)
{useSpline=ok;}
void setOnline(Bool_t ok)
{online=ok;}
void setNTuple(Bool_t ok)
{ntuple=ok;}
void setDebug(Bool_t ok)
{debug=ok;}
void setCPR(Bool_t ok)
{cpr=ok;}
void setDeDxMethod(Int_t m)
{mode=m;}
void setDeDxModule(Int_t m)
{module=m;}
void setDeDxWindow(Float_t w)
{window=w;}
void setDeDxMinimumWires(Int_t n)
{minwires=n;}
void setDeDxUseShifts(Bool_t shift)
{useshifts=shift;}

Last change: Sat May 22 13:01:26 2010
Last generated: 2010-05-22 13:01

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.