PandaRoot
PndSdsChargeWeightedPixelMapping.h
Go to the documentation of this file.
1 #ifndef PNDSDSCHARGEWEIGHTEDPIXELMAPPING_H
2 #define PNDSDSCHARGEWEIGHTEDPIXELMAPPING_H
3 
6 #include "TGeoMatrix.h"
7 #include "TVector3.h"
14 
16  public:
19  : PndSdsPixelBackMapping(other), fChargeConverter(other.fChargeConverter), flx(other.flx), fly(other.fly), fcols(other.fcols), frows(other.frows){};
23  {
25  flx = other.flx;
26  fly = other.fly;
27  fcols = other.fcols;
28  frows = other.frows;
29  return *this;
30  };
31  PndSdsHit GetCluster(std::vector<PndSdsDigiPixel> pixelArray);
32 
33  protected:
35  Double_t flx;
36  Double_t fly;
37  Int_t fcols;
38  Int_t frows;
39 
40  private:
41  TGeoHMatrix GetTransformation(Int_t sensorID);
42  TVector3 GetSensorDimensions(Int_t sensorID);
43 };
44 
45 #endif
PndSdsChargedWeightedPixelMapping: Gets a vector of DigiHits and calculates the cluster center weight...
PndSdsHit GetCluster(std::vector< PndSdsDigiPixel > pixelArray)
Main function of class to calculate the PndSdsHit out of the given PndSdsDigis.
Class to access the naming information of the MVD.
PndSdsChargeWeightedPixelMapping(const PndSdsChargeWeightedPixelMapping &other)
PndSdsChargeWeightedPixelMapping & operator=(PndSdsChargeWeightedPixelMapping &other)