CbmRoot
Loading...
Searching...
No Matches
CbmTrdUnpackFaspConfig.h
Go to the documentation of this file.
1/* Copyright (C) 2021 Goethe-University Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pascal Raisig [committer], Alexandru Bercuci*/
4
18#ifndef CbmTrdUnpackFaspConfig_H
19#define CbmTrdUnpackFaspConfig_H
20
21
22#include "CbmRecoUnpackConfig.tmpl"
23#include "CbmTrdDigi.h"
24#include "CbmTrdParFasp.h"
27
28#include <Rtypes.h>
29#include <RtypesCore.h>
30
31#include <cstddef>
32#include <cstdint>
33#include <map>
34#include <memory>
35#include <vector>
36
37class CbmTrdUnpackFaspConfig : public CbmRecoUnpackConfig<CbmTrdUnpackFaspAlgo, CbmTrdDigi> {
38
39 public:
47 CbmTrdUnpackFaspConfig(std::string detGeoSetupTag, UInt_t runid = 0);
48
54
57
60
62 std::shared_ptr<CbmTrdUnpackFaspMonitor> GetMonitor() { return fMonitor; }
63
65 void InitAlgo();
66
69 void SetMonitor(std::shared_ptr<CbmTrdUnpackFaspMonitor> value) { fMonitor = value; }
70
71 protected:
77 virtual std::shared_ptr<CbmTrdUnpackFaspAlgo> chooseAlgo();
78
80 virtual void reset();
81
82 private:
84 std::shared_ptr<CbmTrdUnpackFaspMonitor> fMonitor = nullptr;
85
86 ClassDef(CbmTrdUnpackFaspConfig, 5)
87};
88
89#endif // CbmTrdUnpackFaspConfig_H
Trd FASP unpacking algorithm.
Monitor class for the unpacker algorithms (CbmTrdUnpackFasp) of FASP data.
CbmTrdUnpackFaspConfig(std::string detGeoSetupTag, UInt_t runid=0)
Create the Cbm Trd Unpack Task object.
std::shared_ptr< CbmTrdUnpackFaspMonitor > fMonitor
pointer to the monitor object
void SetMonitor(std::shared_ptr< CbmTrdUnpackFaspMonitor > value)
Add a monitor to the unpacker.
virtual std::shared_ptr< CbmTrdUnpackFaspAlgo > chooseAlgo()
Choose the derived unpacker algorithm to be used for the DAQ output to Digi translation....
CbmTrdUnpackFaspConfig & operator=(const CbmTrdUnpackFaspConfig &)=delete
Assignment operator - not implemented.
void InitAlgo()
Initialize the algorithm, include all calibration for Trd FASP.
virtual void reset()
Implement additional actions to be called once per TS, e.g. needed if more than the default output ve...
std::shared_ptr< CbmTrdUnpackFaspMonitor > GetMonitor()
Get the monitor.
CbmTrdUnpackFaspConfig(const CbmTrdUnpackFaspConfig &)=delete
Copy constructor - not implemented.
virtual ~CbmTrdUnpackFaspConfig()
Destroy the Cbm Trd Unpack Task object.