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
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
21ShipUnpack::~ShipUnpack() = default;
22
23Bool_t ShipUnpack::DoUnpack(Int_t *, Int_t)
24{
25 return kTRUE;
26}
27
28// Init: Public method
30{
31 Register();
32 return kTRUE;
33}
34
35// Reset: Public method
37
39{
40 LOG(INFO) << "ShipUnpack : Registering..." ;
41 auto *fMan = FairRootManager::Instance();
42 if (!fMan) {
43 return;
44 }
45}
46
virtual Bool_t Init() override
virtual void Reset() override
virtual void Register() override
virtual ~ShipUnpack()
virtual Bool_t DoUnpack(Int_t *data, Int_t size) override
ClassImp(ecalContFact) ecalContFact