CbmRoot
Loading...
Searching...
No Matches
CbmBmonDigitize.h
Go to the documentation of this file.
1/* Copyright (C) 2022 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
10#ifndef CBMBMONDIGITIZE_H
11#define CBMBMONDIGITIZE_H 1
12
13#include "CbmBmonDigi.h"
14#include "CbmDefs.h"
15#include "CbmDigitize.h"
16
17#include <Rtypes.h>
18
19
29class CbmBmonDigitize : public CbmDigitize<CbmBmonDigi> {
30
31public:
33 CbmBmonDigitize(double resolution = 0.025);
34
35
37 virtual ~CbmBmonDigitize();
38
39
44
45
47 virtual void Exec(Option_t* opt);
48
49
51 virtual InitStatus ReInit();
52
53
55 void SetResolution(double sigma) { fResolution = sigma; }
56
57
58private:
59 // --- Parameters
60 double fResolution = 0.025;
61
62 // --- Run counters
63 size_t fNofEvents = 0;
64 Double_t fTimeTot = 0.;
65
66
68 virtual void Finish();
69
70
72 virtual InitStatus Init();
73
74
76};
77
78#endif
ECbmModuleId
Definition CbmDefs.h:39
Task class for simulating the detector response of the t-zero detector.
Double_t fTimeTot
Total execution time.
virtual void Finish()
CbmBmonDigitize(double resolution=0.025)
virtual InitStatus ReInit()
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
ClassDef(CbmBmonDigitize, 1)
size_t fNofEvents
Total number of procesed events.
virtual ~CbmBmonDigitize()
void SetResolution(double sigma)
double fResolution
Time resolution [ns].
ECbmModuleId GetSystemId() const
Detector system ID.
Base class template for CBM digitisation tasks.
Definition CbmDigitize.h:44