_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.
HMdcTaskSet() | |
HMdcTaskSet(const Text_t* name, const Text_t* title) | |
virtual | ~HMdcTaskSet() |
void | TObject::AbstractMethod(const char* method) const |
Bool_t | HTaskSet::add(HTask*) |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | HTaskSet::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | HTaskSet::Clear(Option_t* opt = "") |
virtual TObject* | TNamed::Clone(const char* newname = "") const |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
Bool_t | HTaskSet::connect(HTask*) |
Bool_t | HTaskSet::connect(HTask*, HTask*, Int_t n = kGOFORWARD) |
Bool_t | HTaskSet::connect(HTask*, const Text_t* where, Int_t n = kGOFORWARD) |
Bool_t | HTaskSet::connect(const Text_t* task, const Text_t* where, Int_t n = 0) |
virtual Bool_t | HTaskSet::connectTask(HTask*, Int_t n) |
virtual void | TNamed::Copy(TObject& named) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual Bool_t | HTaskSet::finalize() |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
HMdcCalibrater1* | getCalibrater1() |
virtual HTask* | HTaskSet::getComposite() |
virtual void | HTask::getConnections() |
HMdcDeDx2Maker* | getDeDx2Maker() |
HMdcDeDxMaker* | getDeDxMaker() |
HMdcDigitizer* | getDigitizer() |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::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_t | TObject::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_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TNamed::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual Bool_t | HTaskSet::init() |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | HTaskSet::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
virtual void | HTaskSet::isTimed(Bool_t flag = kTRUE) |
Bool_t | TObject::IsZombie() const |
virtual void | TNamed::ls(Option_t* option = "") const |
HTask* | make(const Char_t* select = "", Option_t* option = "") |
void | TObject::MayNotUse(const char* method) const |
virtual HTask* | HTaskSet::next(Int_t& errCode) |
HTask* | HTaskSet::next(Int_t& errCode, Int_t id) |
virtual Bool_t | TObject::Notify() |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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 void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
void | HTaskSet::print() |
virtual void | TNamed::Print(Option_t* option = "") const |
void | printOptions() |
void | printStatus() |
virtual void | HTaskSet::printTimer() |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
virtual Bool_t | HTaskSet::reinit() |
void | TObject::ResetBit(UInt_t f) |
virtual void | HTaskSet::resetTimer() |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual Bool_t | HTask::setConnections() |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | HTaskSet::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) |
void | HTask::setManual() |
virtual void | TNamed::SetName(const char* name)MENU |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | HTask::setOwner(HTask* atask) |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | setVersionDeDx(Int_t vers) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual Int_t | TNamed::Sizeof() const |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
void | copySetup() |
void | getSets() |
void | getSetupContainer() |
void | parseArguments(TString) |
void | setDefaults() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
HTask* | HTaskSet::fFirstTask | |
Bool_t | HTask::fIsTimed | timer flag |
TString | TNamed::fName | object identifier |
HTask* | HTaskSet::fNextTask | |
TOrdCollection | HTaskSet::fTasks | Tasks in this set |
TString | TNamed::fTitle | object title |
Int_t | HTaskSet::ids[8] | |
Bool_t | HTask::isConnected | |
Bool_t | HTask::isInitialised | |
Bool_t | HTask::manual | |
HTask* | HTask::owner |
static Int_t | analysisLevel | 0=raw,1=cal1,2=cal2,3=hit,4=fit |
static Int_t | cal1ModeFlag | 1=nostartandcal,2=startandcal,3=nostartandnocal |
static Int_t | cal1TimeCutFlag | 0=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_t | fitAuthor | DUBNA:0=Hedar, 1=Alexandr |
static Int_t | fitIndep | DUBNA: 0=MDC fit, 1=segment fit |
static Bool_t | fitNTuple | DUBNA:kTRUE=fill NTuple,kFALSE=fill nothing |
static Bool_t | fitPrint | DUBNA:kTRUE=print debug,kFALSE=print nothing |
static Int_t | fitVersion | DUBNA:1=old,2=new |
static HMdc12FitSetup* | fittersetlocal | |
static Int_t | icalibrater | counter for arguments of calibrater mode |
static Int_t | ilevel | counter for arguments of analysis levels |
static Int_t | imagnet | counter for arguments of magnet status |
static Int_t | irealorsimulation | counter for arguments of real/simulation |
static Bool_t | isCoilOff | kTRUE=magnetoff,kFALSE=magneton |
static Bool_t | isCreated | |
static Int_t | isSimulation | 1=sim.0=real,2=merge |
static Int_t | itimecuts | counter for arguments of calibrater time cuts |
static Int_t | itracker | counter for arguments of tracker type |
static Int_t | itrackermode | counter for arguments of tracker mode (DUBNA) |
static Int_t | mdcForSeg1 | -1=don't fill HMdcSeg for segment 1, |
static Int_t | mdcForSeg2 | -1=don't fill HMdcSeg for segment 1, |
static HMdcDigitizer* | mdcdigi | |
static HMdcSetup* | mdcsetup | |
static HMdcSetup* | mdcsetuplocal | |
static Int_t | nLayers[6][4] | number of layers per module for trackfinder |
static Int_t | nLevel[4] | levels for hit finding in seg1 and seg2 |
static Int_t | rtdbinput | |
static Int_t | tracker | 1=dubna,2=santiago |
static HMdcTrackFinderSetup* | trackfindersetlocal | |
static Int_t | typeClustFinder | 0=combinedchamberclusters,1=singlechamberclusters |
Int_t | versionDeDx | ! 0: no dedx, 1=old, 2=new |
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.
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.
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.
Returns a pointer to the HMdcDigitizer. If the pointer is 0 an error message will be displayed and the program will be exited.
Returns a pointer to the HMdcCalibrater1. If the pointer is 0 an error message will be displayed and the program will be exited.
Returns a pointer to the HMdcDeDxMaker. If the pointer is 0 an error message will be displayed and the program will be exited.
Returns a pointer to the HMdcDeDx2Maker. If the pointer is 0 an error message will be displayed and the program will be exited.