SND@LHC Software
Loading...
Searching...
No Matches
ShipUnpack.cxx
Go to the documentation of this file.
1
#include <cassert>
2
3
// ROOT headers
4
#include "TClonesArray.h"
5
6
// Fair headers
7
#include "FairLogger.h"
8
#include "FairRootManager.h"
9
10
// SHiP headers
11
#include "
ShipUnpack.h
"
12
13
// ShipUnpack: Constructor
14
ShipUnpack::ShipUnpack
()
15
: FairUnpack(94, 9400, 10, 1, 3), fRawData(new TClonesArray()), fNHits(0), fNHitsTotal(0),
16
fPartitionId(-1)
17
{
18
}
19
20
// Virtual ShipUnpack: Public method
21
ShipUnpack::~ShipUnpack
() =
default
;
22
23
Bool_t
ShipUnpack::DoUnpack
(Int_t *, Int_t)
24
{
25
return
kTRUE;
26
}
27
28
// Init: Public method
29
Bool_t
ShipUnpack::Init
()
30
{
31
Register
();
32
return
kTRUE;
33
}
34
35
// Reset: Public method
36
void
ShipUnpack::Reset
() {}
37
38
void
ShipUnpack::Register
()
39
{
40
LOG(INFO) <<
"ShipUnpack : Registering..."
;
41
auto
*fMan = FairRootManager::Instance();
42
if
(!fMan) {
43
return
;
44
}
45
}
46
47
ClassImp
(
ShipUnpack
)
ShipUnpack.h
ShipUnpack
Definition
ShipUnpack.h:20
ShipUnpack::ShipUnpack
ShipUnpack()
Definition
ShipUnpack.cxx:14
ShipUnpack::Init
virtual Bool_t Init() override
Definition
ShipUnpack.cxx:29
ShipUnpack::Reset
virtual void Reset() override
Definition
ShipUnpack.cxx:36
ShipUnpack::Register
virtual void Register() override
Definition
ShipUnpack.cxx:38
ShipUnpack::~ShipUnpack
virtual ~ShipUnpack()
ShipUnpack::DoUnpack
virtual Bool_t DoUnpack(Int_t *data, Int_t size) override
Definition
ShipUnpack.cxx:23
ClassImp
ClassImp(ecalContFact) ecalContFact
Definition
ecalContFact.cxx:8
online
ShipUnpack.cxx
Generated by
1.9.8