FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMBSUnpacker Class Reference

#include <FairMBSUnpacker.h>

Inheritance diagram for FairMBSUnpacker:
FairUnpack

Public Member Functions

 FairMBSUnpacker (Short_t type=94, Short_t subType=9400, Short_t procId=10, Short_t subCrate=1, Short_t control=3)
 
virtual ~FairMBSUnpacker ()
 
virtual Bool_t Init ()
 
virtual Bool_t DoUnpack (Int_t *data, Int_t size)
 
virtual void Reset ()
 
Int_t GetNHitsTotal ()
 
TClonesArray * GetOutputData ()
 
 ClassDef (FairMBSUnpacker, 1)
 
- Public Member Functions inherited from FairUnpack
 FairUnpack (Short_t type, Short_t subType, Short_t procId, Short_t subCrate, Short_t control)
 
virtual ~FairUnpack ()
 
virtual Bool_t ReInit ()
 
virtual void SetParContainers ()
 
Short_t GetType () const
 
Short_t GetSubType () const
 
Short_t GetProcId () const
 
Short_t GetSubCrate () const
 
Short_t GetControl () const
 
 ClassDef (FairUnpack, 0)
 

Protected Member Functions

virtual void Register ()
 

Detailed Description

An example unpacker of MBS data.

Definition at line 21 of file FairMBSUnpacker.h.

Constructor & Destructor Documentation

FairMBSUnpacker::FairMBSUnpacker ( Short_t  type = 94,
Short_t  subType = 9400,
Short_t  procId = 10,
Short_t  subCrate = 1,
Short_t  control = 3 
)

Standard Constructor. Input - MBS parameters of the detector.

Definition at line 20 of file FairMBSUnpacker.cxx.

FairMBSUnpacker::~FairMBSUnpacker ( )
virtual

Destructor.

Definition at line 28 of file FairMBSUnpacker.cxx.

Member Function Documentation

FairMBSUnpacker::ClassDef ( FairMBSUnpacker  ,
 
)
Bool_t FairMBSUnpacker::DoUnpack ( Int_t *  data,
Int_t  size 
)
virtual

Process an MBS sub-event.

Implements FairUnpack.

Definition at line 38 of file FairMBSUnpacker.cxx.

Int_t FairMBSUnpacker::GetNHitsTotal ( )
inline

Method for controling the functionality.

Definition at line 44 of file FairMBSUnpacker.h.

TClonesArray* FairMBSUnpacker::GetOutputData ( )
inline

Definition at line 46 of file FairMBSUnpacker.h.

Bool_t FairMBSUnpacker::Init ( )
virtual

Initialization. Called once, before the event loop.

Implements FairUnpack.

Definition at line 35 of file FairMBSUnpacker.cxx.

virtual void FairMBSUnpacker::Register ( )
inlineprotectedvirtual

Register the output structures.

Implements FairUnpack.

Definition at line 50 of file FairMBSUnpacker.h.

void FairMBSUnpacker::Reset ( )
virtual

Clear the output structures.

Implements FairUnpack.

Definition at line 98 of file FairMBSUnpacker.cxx.


The documentation for this class was generated from the following files: