FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PixelDigitize.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * PixelHit.h
10  *
11  * Created on: 16.02.2016
12  * Author: R. Karabowicz
13  */
14 
15 #ifndef PIXELDIGITIZE_H
16 #define PIXELDIGITIZE_H 1
17 
18 #include "FairTask.h"
19 
20 class TClonesArray;
21 class PixelDigiPar;
22 
23 class PixelDigitize : public FairTask
24 {
25  public:
27  PixelDigitize();
28 
30  PixelDigitize(Int_t iVerbose);
31 
33  PixelDigitize(const char* name, Int_t iVerbose);
34 
36  virtual ~PixelDigitize();
37 
39  virtual void Exec(Option_t* opt);
40 
41  virtual void GetParList(TList* tempList);
42  virtual void InitMQ(TList* tempList);
43  virtual void ExecMQ(TList* inputList, TList* outputList);
44 
45  private:
46  PixelDigiPar* fDigiPar;
47 
48  TClonesArray* fPoints;
49  TClonesArray* fDigis;
51  Int_t fNPoints;
52  Int_t fNDigis;
53 
54  Int_t fTNofEvents;
55  Int_t fTNofPoints;
56  Int_t fTNofDigis;
57 
58  Int_t fFeCols; // Colums read per Frontend
59  Int_t fFeRows; // Rows read per Frontend
60  Int_t fMaxFEperCol; // max number of Frontend elemens per column
61  Double_t fPitchX; // Pixel cell size X
62  Double_t fPitchY; // Pixel cell size Y
63 
65  void ActivatePixel(Int_t index, Int_t detId, Int_t feId, Int_t col, Int_t row, Double_t charge, Double_t timestamp);
66 
68  virtual void SetParContainers();
69 
71  virtual InitStatus Init();
72 
74  virtual InitStatus ReInit();
75 
77  void Reset();
78 
80  virtual void Finish();
81 
83  PixelDigitize& operator=(const PixelDigitize&);
84 
85  ClassDef(PixelDigitize, 1);
86 };
87 
88 #endif
InitStatus
Definition: FairTask.h:33
virtual void GetParList(TList *tempList)
virtual void Exec(Option_t *opt)
Digitization Parameter Class for Pixel detector.
Definition: PixelDigiPar.h:24
virtual void InitMQ(TList *tempList)
virtual ~PixelDigitize()
virtual void ExecMQ(TList *inputList, TList *outputList)