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

#include <FairMBSUnpack.h>

Inheritance diagram for FairMBSUnpack:
FairUnpack

Public Member Functions

 FairMBSUnpack (Short_t type=94, Short_t subType=9400, Short_t procId=10, Short_t subCrate=1, Short_t control=3)
 
virtual ~FairMBSUnpack ()
 
virtual Bool_t Init ()
 
virtual Bool_t DoUnpack (Int_t *data, Int_t size)
 
virtual void Reset ()
 
Int_t GetNHitsTotal ()
 
 ClassDef (FairMBSUnpack, 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 FairMBSUnpack.h.

Constructor & Destructor Documentation

FairMBSUnpack::FairMBSUnpack ( 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 FairMBSUnpack.cxx.

FairMBSUnpack::~FairMBSUnpack ( )
virtual

Destructor.

Definition at line 27 of file FairMBSUnpack.cxx.

Member Function Documentation

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

Process an MBS sub-event.

Implements FairUnpack.

Definition at line 51 of file FairMBSUnpack.cxx.

Int_t FairMBSUnpack::GetNHitsTotal ( )
inline

Method for controling the functionality.

Definition at line 44 of file FairMBSUnpack.h.

Bool_t FairMBSUnpack::Init ( )
virtual

Initialization. Called once, before the event loop.

Implements FairUnpack.

Definition at line 33 of file FairMBSUnpack.cxx.

void FairMBSUnpack::Register ( )
protectedvirtual

Register the output structures.

Implements FairUnpack.

Definition at line 39 of file FairMBSUnpack.cxx.

void FairMBSUnpack::Reset ( )
virtual

Clear the output structures.

Implements FairUnpack.

Definition at line 111 of file FairMBSUnpack.cxx.


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