FairRoot/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  {
19  public :
23  PndSdsCalcFePixel(const PndSdsPixelDigiPar& digi_par);
25 
26  /*void SetNCols(Int_t ncols){fNcols = ncols;};
27  void SetNRows(Int_t nrows){fNrows = nrows;};
28  void SetMaxFE(Int_t maxFE){fMaxFEperCol = maxFE;};
29  Int_t GetNCols() const { return fNcols;};
30  Int_t GetNRows() const { return fNrows;};
31  Int_t GetMaxFE() const { return fMaxFEperCol;};*/
32 
34  std::vector<PndSdsPixel> CalcFEHits(const std::vector<PndSdsPixel>& sensor_hits);
35 
37  void CalcSensorColRow(Int_t& col, Int_t& row, const Int_t fe) const;
38  protected :
39  Int_t fNcols;
40  Int_t fNrows;
41  Int_t fMaxFEperCol;
42  Int_t fMaxFEperRow;
43  };
44 
45 
46 #endif /*PNDSDSCALCFEPIXEL_H*/
int row
Definition: anaLmdDigi.C:67
int col
Definition: anaLmdDigi.C:67
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 fe
Definition: anaLmdDigi.C:67
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.
std::vector< PndSdsPixel > CalcFEHits(const std::vector< PndSdsPixel > &sensor_hits)
Main function to calculate front-end hits.
Digitization Parameter Class for SDS-Pixel part.