PandaRoot
PndSdsCalcFePixel.h
Go to the documentation of this file.
1 #ifndef PNDSDSCALCFEPIXEL_H
2 #define PNDSDSCALCFEPIXEL_H
3 
4 #include <vector>
5 #include "PndSdsPixel.h"
6 #include "TVector3.h"
7 
9 
11 
18  public:
22  PndSdsCalcFePixel(const PndSdsPixelDigiPar &digi_par);
24 
25  /*void SetNCols(Int_t ncols){fNcols = ncols;};
26  void SetNRows(Int_t nrows){fNrows = nrows;};
27  void SetMaxFE(Int_t maxFE){fMaxFEperCol = maxFE;};
28  Int_t GetNCols() const { return fNcols;};
29  Int_t GetNRows() const { return fNrows;};
30  Int_t GetMaxFE() const { return fMaxFEperCol;};*/
31 
33  std::vector<PndSdsPixel> CalcFEHits(const std::vector<PndSdsPixel> &sensor_hits);
34 
36  void CalcSensorColRow(Int_t &col, Int_t &row, const Int_t fe) const;
37 
38  protected:
39  Int_t fNcols;
40  Int_t fNrows;
41  Int_t fMaxFEperCol;
42  Int_t fMaxFEperRow;
43 };
44 
45 #endif /*PNDSDSCALCFEPIXEL_H*/
std::vector< PndSdsPixel > CalcFEHits(const std::vector< PndSdsPixel > &sensor_hits)
Main function to calculate front-end hits.
void CalcSensorColRow(Int_t &col, Int_t &row, const Int_t fe) const
Main function to calculate sensor hits.
Int_t fNrows
number of columns on a front-end chip
Int_t fMaxFEperRow
maximum number of front-end chip per column on a sensor
PndSdsCalcFePixel()
Default constructor.
Int_t fMaxFEperCol
nrows number of rows on a front-end chip
Class to calculate the position of digis on a front-end from the digis on a sensor.
Digitization Parameter Class for SDS-Pixel part.