(UNKNOWN PRODUCT) » EXPCONF » TMrbSubevent_Sis_3

class TMrbSubevent_Sis_3: public TMrbSubevent

__________________________________________________[C++ CLASS IMPLEMENTATION]

 Name:           expconf/src/TMrbSubevent_Sis_3.cxx
 Purpose:        MARaBOU configuration: subevents of type [10,53] - SIS data
 Description:    Implements class methods to handle [10,53] subevents
                 reflecting data structure of XIA DGF-4C modules
 Keywords:
 Author:         R. Lutter
 Mailto:         <a href=mailto:rudi.lutter@physik.uni-muenchen.de>R. Lutter</a>
 Revision:       $Id: TMrbSubevent_Sis_3.cxx,v 1.9 2008/12/10 11:07:18 Rudolf.Lutter Exp $
 Date:

Function Members (Methods)

public:
TMrbSubevent_Sis_3()
TMrbSubevent_Sis_3(const Char_t* SevtName, const Char_t* SevtTitle = "", Int_t Crate = -1)
virtual~TMrbSubevent_Sis_3()
voidTObject::AbstractMethod(const char* method) const
voidTMrbSubevent::AddEvent(TMrbEvent* Evt)
Bool_tTMrbSubevent::AddModule(TMrbModule* Module)
Bool_tTMrbSubevent::AddParam(TMrbModuleChannel* Param)
voidTMrbSubevent::AllocateHistograms(Bool_t Flag = kTRUE)
virtual Bool_tAllowsMultipleModules() const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTMrbSubevent::Browse(TBrowser* Browser)
virtual Bool_tCheckModuleID(TMrbModule* Module) const
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 voidTNamed::Copy(TObject& named) const
voidTMrbSubevent::CreateHistoArray(const Char_t* ArrayName = NULL)
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)
Bool_tTMrbSubevent::ExplicitParamNamesToBeUsed()
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
voidTMrbSubevent::FillHistogramsIfTrueHitOnly(Bool_t Flag = kTRUE)
TMrbEvent*TMrbSubevent::FindEvent(const Char_t* EvtName) const
TMrbModule*TMrbSubevent::FindModule(const Char_t* ModuleName) const
TMrbModule*TMrbSubevent::FindModuleByID(TMrbConfig::EMrbModuleID ModuleID, TMrbModule* After = NULL) const
TMrbModule*TMrbSubevent::FindModuleByID(TMrbNamedX* ModuleID, TMrbModule* After = NULL) const
TMrbModule*TMrbSubevent::FindModuleBySerial(Int_t ModuleSerial) const
TMrbModule*TMrbSubevent::FindModuleByType(UInt_t ModuleType, TMrbModule* After = NULL) const
TMrbModule*TMrbSubevent::FindModuleByType(TMrbNamedX* ModuleType, TMrbModule* After = NULL) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TMrbModuleChannel*TMrbSubevent::FindParam(const Char_t* ParamName) const
Int_tTMrbSubevent::Get(const Char_t* ParamName, const Char_t* RegName) const
Int_tTMrbSubevent::Get(const Char_t* ParamName, Int_t RegIndex) const
UInt_tTMrbSubevent::GetAnalyzeOptions(TMrbEvent* Parent = NULL) const
virtual const Char_t*GetCommonCodeFile() const
UInt_tTMrbSubevent::GetConfigOptions(TMrbEvent* Parent = NULL) const
Int_tTMrbSubevent::GetCrate() const
const Char_t*TMrbSubevent::GetDescr()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const Char_t*TMrbSubevent::GetHistoArrayName()
Int_tTMrbSubevent::GetHitDataLength()
virtual const char*TObject::GetIconName() const
UInt_tTMrbSubevent::GetLegalDataTypes() const
TObjArray*TMrbSubevent::GetLofEvents()
TObjArray*TMrbSubevent::GetLofModules()
const Char_t*TMrbSubevent::GetLofModulesAsString(TString& LofModules) const
TObjArray*TMrbSubevent::GetLofParams()
const Char_t*TMrbSubevent::GetLofParamsAsString(TString& LofParams) const
TMrbNamedX*TMrbSubevent::GetMbsBranch()
Int_tTMrbSubevent::GetMbsBranchNo()
virtual const char*TNamed::GetName() const
const Char_t*TMrbSubevent::GetNameOfXhit()
Int_tTMrbSubevent::GetNofEvents() const
Int_tTMrbSubevent::GetNofModules() const
Int_tTMrbSubevent::GetNofParams() const
Int_tTMrbSubevent::GetNofShorts() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const Char_t*TMrbSubevent::GetPrefix() const
virtual const Char_t*TMrbSubevent::GetPrivateCodeFile() const
UInt_tTMrbSubevent::GetReadoutOptions(TMrbEvent* Parent = NULL) const
Int_tTMrbSubevent::GetSerial() const
UInt_tTMrbSubevent::GetSubtype() const
virtual const char*TNamed::GetTitle() const
UInt_tTMrbSubevent::GetType() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tHasFixedLengthFormat() const
virtual ULong_tTNamed::Hash() const
Bool_tTMrbSubevent::HasIndexedParams() const
virtual Bool_tHasPrivateCode() const
Bool_tTMrbSubevent::HasXhit()
voidHelp()
Bool_tTMrbSubevent::HistoArrayToBeCreated()
Bool_tTMrbSubevent::HistosToBeAllocated() const
Bool_tTMrbSubevent::HistosToBeFilledIfTrueHit() 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_tTMrbSubevent::IsInArrayMode() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTMrbSubevent::IsRaw() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tTMrbSubevent::MakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, const Char_t* Extension)
Bool_tTMrbSubevent::MakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, TMrbEvent* Event, TMrbTemplate& Template, const Char_t* Prefix = NULL)
Bool_tTMrbSubevent::MakeConfigCode(ofstream& CfgStrm, TMrbConfig::EMrbConfigTag TagIndex, TMrbTemplate& Template, const Char_t* Prefix = NULL)
virtual Bool_tTMrbSubevent::MakeRcFile(ofstream& RcStrm, TMrbConfig::EMrbRcFileTag TagIndex, const Char_t* ResourceName)
virtual Bool_tMakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbReadoutTag TagIndex, TMrbTemplate& Template, const Char_t* Prefix = NULL)
virtual Bool_tTMrbSubevent::MakeSpecialAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, TMrbTemplate& Template)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tNeedsBranchMode() const
virtual Bool_tNeedsHitBuffer() const
virtual Bool_tTMrbSubevent::NeedsModulesToBeAssigned() const
TMrbModule*TMrbSubevent::NextModule(TMrbModule* After = NULL) 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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
Bool_tTMrbSubevent::PrefixToBePrepended() const
voidTMrbSubevent::PrependPrefix(const Char_t* Prefix)
voidTMrbSubevent::PrependPrefix(Bool_t Flag = kTRUE)
virtual voidTMrbSubevent::Print() const
virtual voidTMrbSubevent::Print(Option_t* Option) const
voidTMrbSubevent::Print(ostream& OutStrm, const Char_t* Prefix = "") 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(ostream& out, Option_t* option = "")
virtual Bool_tTMrbSubevent::SerialToBeCreated() const
Bool_tTMrbSubevent::Set(const Char_t* ParamName, const Char_t* RegName, Int_t Value)
Bool_tTMrbSubevent::Set(const Char_t* ParamName, Int_t RegIndex, Int_t Value)
Bool_tTMrbSubevent::SetAnalyzeOptions(Option_t* Options = "byName:Histograms")
voidTMrbSubevent::SetArrayMode(Bool_t ArrayMode = kTRUE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tTMrbSubevent::SetConfigOptions(Option_t* Options = "")
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tTMrbSubevent::SetMbsBranch(TMrbNamedX* MbsBranch)
Bool_tTMrbSubevent::SetMbsBranch(Int_t MbsBranchNo, const Char_t* MbsBranchName = NULL)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tTMrbSubevent::SetParamName(Int_t ParamNo, Char_t* ParamName)
Bool_tTMrbSubevent::SetReadoutOptions(Option_t* Options = "")
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Bool_tTMrbSubevent::SingleModuleOnly() const
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
Bool_tTMrbSubevent::Use(const Char_t* Assignment, Bool_t BookHistos = kTRUE)
Bool_tTMrbSubevent::Use(const Char_t* ModuleName, const Char_t* Assignment, Bool_t BookHistos = kTRUE)
virtual voidTObject::UseCurrentStyle()
voidTMrbSubevent::UseExplicitParamNames(Bool_t Flag = kTRUE)
Bool_tTMrbSubevent::UseXhit(Int_t DataLength)
Bool_tTMrbSubevent::UseXhit(const Char_t* HitName, Int_t DataLength = -1)
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()

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:
UInt_tTMrbSubevent::fAnalyzeOptions... in MakeAnalyzeCode()
Bool_tTMrbSubevent::fArrayModekTRUE if subevent data are stored in an array
UInt_tTMrbSubevent::fConfigOptions... in MakeConfigCode()
Int_tTMrbSubevent::fCratecrate number
Bool_tTMrbSubevent::fCreateHistoArraykTRUE if histo array / .histlist file is to be created
Bool_tTMrbSubevent::fExplicitParamNameskTRUE if explicit param names to be used
Bool_tTMrbSubevent::fHasIndexedParamsif there are TArrayX params
TStringTMrbSubevent::fHistoArrayNamename of histo array / .histlist file
Bool_tTMrbSubevent::fHistosToBeAllocatedkTRUE if histograms to be allocated for all params
Bool_tTMrbSubevent::fHistosToBeFilledIfTrueHitfill histograms if is it true hit
Int_tTMrbSubevent::fHitDataLengthlength of hit data
UInt_tTMrbSubevent::fLegalDataTypesdatatypes legal for this type of subevent
TObjArrayTMrbSubevent::fLofEvents
TObjArrayTMrbSubevent::fLofModules
TObjArrayTMrbSubevent::fLofParamslist of params
TMrbNamedXTMrbSubevent::fMbsBranchbranch within MBS
TStringTNamed::fNameobject identifier
Int_tTMrbSubevent::fNofEventslist of parent events
Int_tTMrbSubevent::fNofModuleslist of modules housing these params
Int_tTMrbSubevent::fNofParamsnumber of params
Int_tTMrbSubevent::fNofShortsnumber of 16 bit words;
TStringTMrbSubevent::fPrefixprefix to be prepended to params & histos
Bool_tTMrbSubevent::fPrependPrefixkTRUE if subevents has its own prefix
UInt_tTMrbSubevent::fReadoutOptionsoptions used in MakeReadoutCode()
Int_tTMrbSubevent::fSerialheader words: unique subevent id
TStringTMrbSubevent::fSevtDescrdescription
UInt_tTMrbSubevent::fSevtSubtypesubevent subtype
UInt_tTMrbSubevent::fSevtTypesubevent type
TMrbModule*TMrbSubevent::fSoftModuleinternal module name, simulated by software
TStringTNamed::fTitleobject title
TStringTMrbSubevent::fXhita special (extended) hit

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbSubevent_Sis_3(const Char_t* SevtName, const Char_t* SevtTitle = "", Int_t Crate = -1)
__________________________________________________________________[C++ CTOR]

 Name:           TMrbSubevent_Sis_3
 Purpose:        Create a subevent type [10,53]
 Arguments:      Char_t * SevtName       -- subevent name
                 Char_t * SevtTitle      -- ... and title
                 Int_t Crate             -- crate number
 Results:        --
 Exceptions:
 Description:    Create a new subevent of type [10,53]
                 used to store SIS data in DGF-4C list-mode format


                 Data format as given by the producer (MBS) - same as [10,53]:
                 -  several modules per subevent possible
                 -  channel data 32 bit, arbitrary format
                    has to be decoded by use of module id & serial
                 -  2 words module header in front

                 15               8|7                  0
                 |=================|===================|
                 |1|   module ID   |   module serial   |
                 |-------------------------------------|
                 |      word count including header    |
                 |-------------------------------------|
                 |   1st module, 1st active chn, MSW   |
                 |-------------------------------------|
                 |         1st active chn, LSW         |
                 |-------------------------------------|
                 |                ...                  |
                 |                ...                  |
                 |-------------------------------------|
                 |  1st module, last active chn, MSW   |
                 |-------------------------------------|
                 |        last active chn, LSW         |
                 |=====================================|
                 |1|   module ID   |   module serial   |
                 |-------------------------------------|
                 |      word count including header    |
                 |-------------------------------------|
                 |                ...                  |
                 |                ...                  |
                 |-------------------------------------|
                 |  last module, last active chn, MSW  |
                 |-------------------------------------|
                 |        last active chn, LSW         |
                 15====================================0

                 Data storage by the consumer (ROOT):
                 -  data stored in a TClonesArray, channel by channel
                 -  each channel entry marked with event time

 Keywords:

Bool_t MakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbReadoutTag TagIndex, TMrbTemplate& Template, const Char_t* Prefix = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbSubevent_Sis_3::MakeReadoutCode
 Purpose:        Write a piece of code for subevent [10,53]
 Arguments:      ofstream & RdoStrm           -- file output stream
                 EMrbReadoutTag TagIndex      -- index of tag word from template file
                 TMrbTemplate & Template      -- template
                 Char_t * Prefix              -- prefix to select template code
 Results:
 Exceptions:
 Description:    Writes code needed for subevent handling.
 Keywords:

TMrbSubevent_Sis_3()
{}
~TMrbSubevent_Sis_3()
{}
Bool_t HasFixedLengthFormat() const
{ return(kFALSE); }
Bool_t AllowsMultipleModules() const
{ return(kTRUE); }
Bool_t CheckModuleID(TMrbModule* Module) const
Bool_t NeedsHitBuffer() const
{ return(kTRUE); }
Bool_t HasPrivateCode() const
{ return(kTRUE); }
Bool_t NeedsBranchMode() const
{ return(kTRUE); }
const Char_t * GetCommonCodeFile() const
{ return("Subevent_Sis_Common"); }
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }



Revision: $Id: TMrbSubevent_Sis_3.h,v 1.7 2009/06/24 13:59:12 Rudolf.Lutter Exp $

ROOT page - Home page - Class index - Top of the page

This page has been automatically generated by use of ROOT's THtml class. If you have any comments or suggestions about the page layout send a mail to Marabou Support.