PandaRoot
PndMQSdsChargeWeightedPixelMapping.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 PndMQSdsChargeWeightedPixelMapping_H
14 #define PndMQSdsChargeWeightedPixelMapping_H
15 
17 #include "PndSdsChargeConversion.h"
18 #include "TGeoMatrix.h"
19 #include "TVector3.h"
26 
28  public:
32  PndSdsHit GetCluster(std::vector<PndSdsDigiPixel *> &pixelArray);
33 
34  protected:
36  Double_t flx;
37  Double_t fly;
38  Int_t fcols;
39  Int_t frows;
40 
41  private:
42  TGeoHMatrix GetTransformation(Int_t sensorID);
43  TVector3 GetSensorDimensions(Int_t sensorID);
44 };
45 
46 #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.