class HMdcTaskSet: public HTaskSet

_HADES_CLASS_DESCRIPTION

 HMdcTaskSet

 This HTaskSet contains the tasks for the Mdc detector

 HMdcTaskSet::make("selectionstring","optionstring");

 SELECTION : if selectionstring="rtdb" HMdcTaskSet is initialized
             via RuntimeDb. If this flag is set, all input from the
             optionstring will be ignored.



 OPTIONS :

     All settings are initialized to default values. The options set in the
     optionstring will override the defaults for the specified parameters.
     If selectionstring is set to "rtdb", all values in optionstring will be
     ignored.

     real  (default),simulation
     or merge                       -- real data, simulation data or embedding
     dubna (default) or santiago    -- selects hit finder

     Maximum data level
         raw                        -- only unpacker
         cal1                       -- up to calibrater1
         cal2                       -- up to calibrater2
         hit              (default) -- up to hit finder
         fit                        -- up to track fitter

     HMdcCalibrater1:
         NoStartAndNoCal            -- do not use start,
                                       do not use calibration
         NoStartAndCal              -- do not use start,
                                       use calibration
         StartAndCal      (default) -- use start,
                                       use calibration
         NoTimeCuts                 -- do not use time cuts
         TimeCuts         (default) -- use time cuts

     DUBNA TRACKER:
         MagnetOn         (default) -- Magnetic field
         MagnetOff                  -- Magnetic field off
         CombinedClusters (default) -- Cluster search in
                                       combined chambers
         ChamberClusters            -- Cluster search in
                                       individual chambers
         MixedClusters              -- Cluster search in
                                       combined chambers and after it
                                       in individual chambers

 Note: Thanks to TString, options can be separated and written any way
       you want, such as

             HMdcTaskSet::make("","MagnetOFF,NOstartandNOcal")
             HMdcTaskSet::make("","ChamberClusters & STARTandCAL")

 For testing a pointer for the MdcDigitizer can be retrieved to set the options from the macro:
 mdcdigi=(HMdcDigitizer*)mdcTasks->HMdcTaskSet::getDigitizer();

 In the same way a pointer to MdcCalibrater1() can be retrieved:
 calibrater1=(HMdcCalibrater1*)mdcTasks->HMdcTaskSet::getCalibrater1();

 A pointer to MdcDeDxMaker() can be retrieved:
 mdcdedxmaker=(HMdcDeDxMaker*)mdcTasks->HMdcTaskSet::getDeDxMaker();

 Full control over all parameters can be gained by retrieving
 the pointer to the internal setup object(example):

 create taskset        HMdcTaskSet *mymdctasks   = new HMdcTaskSet();
                       Int_t testLayers[6][4]={{5,6,6,6},{6,6,6,6},{6,6,6,6},{6,6,6,6},{6,6,6,6},{6,6,6,6}};
                       Int_t testLevel[4]={10,50,10,30};

 get pointer to setup  HMdcSetup* mysetup=mymdctasks->getMdcSetup();
 set values            mysetup->getMdcTrackFinderSet()->setNLayers(&testLayers[0][0]);
  ...                   mysetup->getMdcTrackFinderSet()->setNLevel (&testLevel[0]);
  ...                   mysetup->getMdc12FitSet()      ->setMdc12FitSet(1,1,1,kTRUE,kFALSE);

 return pointer to
 Taskset                       HTaskSet *mdcTasks    = mymdctasks->make("","");
 For the setup objects of the other tasks it works in the same way, the description can be
 found in HMdcSetup.

 
For more information, see this analysis logbook entry.


Function Members (Methods)

public:
HMdcTaskSet()
HMdcTaskSet(const Text_t* name, const Text_t* title)
virtual~HMdcTaskSet()
voidTObject::AbstractMethod(const char* method) const
Bool_tHTaskSet::add(HTask*)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidHTaskSet::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidHTaskSet::Clear(Option_t* opt = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
Bool_tHTaskSet::connect(HTask*)
Bool_tHTaskSet::connect(HTask*, HTask*, Int_t n = kGOFORWARD)
Bool_tHTaskSet::connect(HTask*, const Text_t* where, Int_t n = kGOFORWARD)
Bool_tHTaskSet::connect(const Text_t* task, const Text_t* where, Int_t n = 0)
virtual Bool_tHTaskSet::connectTask(HTask*, Int_t n)
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 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_tHTaskSet::finalize()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HMdcCalibrater1*getCalibrater1()
virtual HTask*HTaskSet::getComposite()
virtual voidHTask::getConnections()
HMdcDeDx2Maker*getDeDx2Maker()
HMdcDeDxMaker*getDeDxMaker()
HMdcDigitizer*getDigitizer()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_t*HTaskSet::getIds(Int_t& size)
HMdcSetup*getMdcSetup()
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()
TOrdCollection*HTaskSet::getSetOfTask()
virtual HTask*HTaskSet::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_tHTaskSet::init()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tHTaskSet::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual voidHTaskSet::isTimed(Bool_t flag = kTRUE)
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
HTask*make(const Char_t* select = "", Option_t* option = "")
voidTObject::MayNotUse(const char* method) const
virtual HTask*HTaskSet::next(Int_t& errCode)
HTask*HTaskSet::next(Int_t& errCode, Int_t id)
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*HTaskSet::operator()(Int_t& errCode)
HTask&HTask::operator=(const HTask&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidHTaskSet::print()
virtual voidTNamed::Print(Option_t* option = "") const
voidprintOptions()
voidprintStatus()
virtual voidHTaskSet::printTimer()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_tHTaskSet::reinit()
voidTObject::ResetBit(UInt_t f)
virtual voidHTaskSet::resetTimer()
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 Bool_tHTask::setConnections()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidHTaskSet::setIds(Int_t i0, Int_t i1 = -1, Int_t i2 = -1, Int_t i3 = -1, Int_t i4 = -1, Int_t i5 = -1, Int_t i6 = -1, Int_t i7 = -1)
voidHTask::setManual()
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidHTask::setOwner(HTask* atask)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetVersionDeDx(Int_t vers)
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
voidTObject::MakeZombie()
private:
voidcopySetup()
voidgetSets()
voidgetSetupContainer()
voidparseArguments(TString)
voidsetDefaults()

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:
HTask*HTaskSet::fFirstTask
Bool_tHTask::fIsTimedtimer flag
TStringTNamed::fNameobject identifier
HTask*HTaskSet::fNextTask
TOrdCollectionHTaskSet::fTasksTasks in this set
TStringTNamed::fTitleobject title
Int_tHTaskSet::ids[8]
Bool_tHTask::isConnected
Bool_tHTask::isInitialised
Bool_tHTask::manual
HTask*HTask::owner
private:
static Int_tanalysisLevel0=raw,1=cal1,2=cal2,3=hit,4=fit
static Int_tcal1ModeFlag1=nostartandcal,2=startandcal,3=nostartandnocal
static Int_tcal1TimeCutFlag0=nocuts, 1=cuts
static HMdcCalibrater1*calibrater1
static HMdcCalibrater1Setup*calibrater1setlocal
static HMdcClusterToHitSetup*clustertohitsetlocal
static HMdcCommonSetup*commonsetlocal
static HMdcDeDx2Maker*dedx2maker!
static HMdcDeDxMaker*dedxmaker
static HMdcDigitizerSetup*digisetlocal
static Int_tfitAuthorDUBNA:0=Hedar, 1=Alexandr
static Int_tfitIndepDUBNA: 0=MDC fit, 1=segment fit
static Bool_tfitNTupleDUBNA:kTRUE=fill NTuple,kFALSE=fill nothing
static Bool_tfitPrintDUBNA:kTRUE=print debug,kFALSE=print nothing
static Int_tfitVersionDUBNA:1=old,2=new
static HMdc12FitSetup*fittersetlocal
static Int_ticalibratercounter for arguments of calibrater mode
static Int_tilevelcounter for arguments of analysis levels
static Int_timagnetcounter for arguments of magnet status
static Int_tirealorsimulationcounter for arguments of real/simulation
static Bool_tisCoilOffkTRUE=magnetoff,kFALSE=magneton
static Bool_tisCreated
static Int_tisSimulation1=sim.0=real,2=merge
static Int_titimecutscounter for arguments of calibrater time cuts
static Int_titrackercounter for arguments of tracker type
static Int_titrackermodecounter for arguments of tracker mode (DUBNA)
static Int_tmdcForSeg1-1=don't fill HMdcSeg for segment 1,
static Int_tmdcForSeg2-1=don't fill HMdcSeg for segment 1,
static HMdcDigitizer*mdcdigi
static HMdcSetup*mdcsetup
static HMdcSetup*mdcsetuplocal
static Int_tnLayers[6][4]number of layers per module for trackfinder
static Int_tnLevel[4]levels for hit finding in seg1 and seg2
static Int_trtdbinput
static Int_ttracker1=dubna,2=santiago
static HMdcTrackFinderSetup*trackfindersetlocal
static Int_ttypeClustFinder0=combinedchamberclusters,1=singlechamberclusters
Int_tversionDeDx! 0: no dedx, 1=old, 2=new

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HMdcTaskSet(const Text_t* name, const Text_t* title)
 Constructor
HMdcTaskSet(void)
 Default constructor
~HMdcTaskSet(void)
 Destructor.
void copySetup()
void getSets()
void setDefaults()
 define default values of all arguments
void getSetupContainer()
 gets the pointer to setup container,
 init the container with the actual runId (or RefId),
 copies the setup object to the local setup object and
 retrieves the pointer to the sub setup objects.
HTask* make(const Char_t* select = "", Option_t* option = "")
 Returns a pointer to the Mdc task.
 The task is created according to the specified options in Option_t *option
 and select. If no option is specified default values will be used. If select
 specifies rtdb the parameters will be used from runtimedb container HMdcSetup
 and the parameters in option will be ignored.
void parseArguments(TString )
 The option string is searched for known arguments and
 the internal variables of the task are defined according
 to the arguments. Not set options will be defined by the
 default values.
 If the string is empty default values will be used.
 If unknown arguments are found error messages will be displayed
 and the program will be exited.
 If two arguments for the same type of option are found an error
 message will show up and the program is exited too.
void printOptions()
 Prints the options of HMdcTaskSet
HMdcDigitizer* getDigitizer()
 Returns a pointer to the HMdcDigitizer.
 If the pointer is 0 an error message will be displayed
 and the program will be exited.
HMdcCalibrater1* getCalibrater1()
 Returns a pointer to the HMdcCalibrater1.
 If the pointer is 0 an error message will be displayed
 and the program will be exited.
HMdcDeDxMaker* getDeDxMaker()
 Returns a pointer to the HMdcDeDxMaker.
 If the pointer is 0 an error message will be displayed
 and the program will be exited.
HMdcDeDx2Maker* getDeDx2Maker()
 Returns a pointer to the HMdcDeDx2Maker.
 If the pointer is 0 an error message will be displayed
 and the program will be exited.
HMdcSetup* getMdcSetup()
void printStatus()
 Prints the status of the configuration of
 HMdcTaskSet.
void setVersionDeDx(Int_t vers)
{versionDeDx=vers;}

Last change: Sat May 22 13:03:43 2010
Last generated: 2010-05-22 13:03

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.