CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorReadoutTask.h
Go to the documentation of this file.
1/* Copyright (C) 2017-2019 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Philipp Sitzmann [committer] */
4
5// ------------------------------------------------------------------------
6// ----- CbmMvdSensorTask header file -----
7// ----- Created 02/02/12 by M. Deveaux -----
8// ------------------------------------------------------------------------
9
17#ifndef CBMMVDSENSORREADOUTTASK_H
18#define CBMMVDSENSORREADOUTTASK_H 1
19
20#include "CbmMvdSensorTask.h" // for CbmMvdSensorTask
21
22#include <Rtypes.h> // for ClassDef
23#include <RtypesCore.h> // for Int_t
24
25class CbmMvdDigi;
26class CbmMvdSensor;
27class TBuffer;
28class TClass;
29class TClonesArray;
30class TMemberInspector;
31
33
34public:
37 CbmMvdSensorReadoutTask(const char* name);
38
41
43 void SetInputArray(TClonesArray* inputStream);
44 void SetInputDigi(CbmMvdDigi* digi);
45
46 virtual TClonesArray* GetOutputArray() { return fOutputBuffer; };
47
48 void InitTask(CbmMvdSensor* mySensor);
49
50 void Exec();
51 void Finish();
52 void ExecChain();
53
54 void Reset();
55
56private:
57 static const Int_t maxBanks = 64;
58
59 TClonesArray* fInputBuffer; // Buffer of background events
60 TClonesArray* fOutputBuffer;
62
64 const Int_t fPixelsPerBank = 22;
65
66 Int_t GetBankNumber(const Int_t& yPixelNr) const;
67
70
72};
73
74
75#endif
CbmMvdSensorReadoutTask operator=(const CbmMvdSensorReadoutTask &)
Int_t GetBankNumber(const Int_t &yPixelNr) const
void SetInputArray(TClonesArray *inputStream)
ClassDef(CbmMvdSensorReadoutTask, 1)
CbmMvdSensorReadoutTask(const CbmMvdSensorReadoutTask &)
void InitTask(CbmMvdSensor *mySensor)
virtual TClonesArray * GetOutputArray()
void SetInputDigi(CbmMvdDigi *digi)