SND@LHC Software
|
#include <ShipUnpack.h>
Public Member Functions | |
ShipUnpack () | |
virtual | ~ShipUnpack () |
virtual Bool_t | Init () override |
virtual Bool_t | DoUnpack (Int_t *data, Int_t size) override |
virtual void | Reset () override |
Int_t | GetNHitsTotal () |
virtual uint16_t | GetPartition ()=0 |
Protected Member Functions | |
virtual void | Register () override |
Private Member Functions | |
ShipUnpack (const ShipUnpack &) | |
ShipUnpack & | operator= (const ShipUnpack &) |
Private Attributes | |
std::unique_ptr< TClonesArray > | fRawData |
Int_t | fNHits |
Int_t | fNHitsTotal |
uint16_t | fPartitionId |
An example unpacker of MBS data.
Definition at line 20 of file ShipUnpack.h.
ShipUnpack::ShipUnpack | ( | ) |
Definition at line 14 of file ShipUnpack.cxx.
|
virtualdefault |
Destructor.
|
private |
|
overridevirtual |
Process an MBS sub-event.
Reimplemented in DriftTubeUnpack, DummyUnpack, PixelUnpack, RPCUnpack, ScalerUnpack, and SciFiUnpack.
Definition at line 23 of file ShipUnpack.cxx.
|
inline |
|
pure virtual |
Implemented in DriftTubeUnpack, DummyUnpack, PixelUnpack, RPCUnpack, ScalerUnpack, and SciFiUnpack.
|
overridevirtual |
Initialization. Called once, before the event loop.
Reimplemented in DriftTubeUnpack, DummyUnpack, PixelUnpack, RPCUnpack, ScalerUnpack, and SciFiUnpack.
Definition at line 29 of file ShipUnpack.cxx.
|
private |
|
overrideprotectedvirtual |
Register the output structures.
Reimplemented in DriftTubeUnpack, DummyUnpack, PixelUnpack, RPCUnpack, ScalerUnpack, and SciFiUnpack.
Definition at line 38 of file ShipUnpack.cxx.
|
overridevirtual |
Clear the output structures.
Reimplemented in DriftTubeUnpack, DummyUnpack, PixelUnpack, RPCUnpack, ScalerUnpack, and SciFiUnpack.
Definition at line 36 of file ShipUnpack.cxx.
|
private |
Number of raw items in current event.
Definition at line 48 of file ShipUnpack.h.
|
private |
Total number of raw items.
Definition at line 49 of file ShipUnpack.h.
|
private |
Definition at line 50 of file ShipUnpack.h.
|
private |
Array of output raw items.
Definition at line 47 of file ShipUnpack.h.