CbmRoot
Loading...
Searching...
No Matches
CbmPsdSimpleDigitizer.h
Go to the documentation of this file.
1/* Copyright (C) 2018-2020 Institute for Nuclear Research, Moscow
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergey Morozov [committer], Volker Friese */
4
13#ifndef CBMPSDSimpleDigitizer_H
14#define CBMPSDSimpleDigitizer_H 1
15
16
17#include "CbmDefs.h"
18#include "CbmDigitize.h"
19#include "CbmPsdDigi.h"
20
21#include "TRandom3.h"
22
23#define N_PSD_MODS 46
24#define N_PSD_SECT 10
25
26class TClonesArray;
27
28class CbmPsdSimpleDigitizer : public CbmDigitize<CbmPsdDigi> {
29
30public:
33
34
36 virtual ~CbmPsdSimpleDigitizer();
37
39
40
42 virtual InitStatus Init();
43
44
46 virtual void Exec(Option_t* opt);
47
48
50 virtual void Finish();
51
52
53private:
55 Double_t fNofPoints;
56 Double_t fNofDigis;
57 Double_t fTimeTot;
58
60 TClonesArray* fPointArray;
61
64
66};
67
68#endif
ECbmModuleId
Definition CbmDefs.h:39
@ kPsd
Projectile spectator detector.
Base class template for CBM digitisation tasks.
Definition CbmDigitize.h:44
CbmPsdSimpleDigitizer(const CbmPsdSimpleDigitizer &)
virtual void Exec(Option_t *opt)
virtual void Finish()
End-of-run action.
ECbmModuleId GetSystemId() const
Detector system ID.
CbmPsdSimpleDigitizer operator=(const CbmPsdSimpleDigitizer &)
ClassDef(CbmPsdSimpleDigitizer, 1)