PandaRoot
PndSdsChargeWeightedPixelMapping.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDSDSCHARGEWEIGHTEDPIXELMAPPING_H
14 #define PNDSDSCHARGEWEIGHTEDPIXELMAPPING_H
15 
16 #include "PndSdsPixelBackMapping.h"
17 #include "PndSdsChargeConversion.h"
18 #include "TGeoMatrix.h"
19 #include "TVector3.h"
26 
28  public:
31  : PndSdsPixelBackMapping(other), fChargeConverter(other.fChargeConverter), flx(other.flx), fly(other.fly), fcols(other.fcols), frows(other.frows){};
35  {
37  flx = other.flx;
38  fly = other.fly;
39  fcols = other.fcols;
40  frows = other.frows;
41  return *this;
42  };
43  PndSdsHit GetCluster(std::vector<PndSdsDigiPixel> pixelArray);
44 
45  protected:
47  Double_t flx;
48  Double_t fly;
49  Int_t fcols;
50  Int_t frows;
51 
52  private:
53  TGeoHMatrix GetTransformation(Int_t sensorID);
54  TVector3 GetSensorDimensions(Int_t sensorID);
55 };
56 
57 #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)