PandaRoot
PndMvdTopixHitProducer.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 PNDMVDTOPIXHITPRODUCER_H
14 #define PNDMVDTOPIXHITPRODUCER_H
15 
16 #include "PndSdsChargeConversion.h"
17 #include "TGeoMatrix.h"
18 #include "TVector3.h"
19 
20 #include "PndSdsHit.h"
21 #include "PndSdsDigiTopix4.h"
28 
30  public:
32  PndMvdTopixHitProducer(double dimX, double dimY, int maxcol, int maxrow);
34  PndSdsHit GetHit(std::vector<PndSdsDigiTopix4> pixelArray);
35 
36  protected:
37  Double_t flx;
38  Double_t fly;
39  Int_t fcols;
40  Int_t frows;
41  Int_t fVerbose;
42 
43  private:
44  virtual TGeoHMatrix GetTransformation(Int_t sensorID);
45  virtual TVector3 GetSensorDimensions(Int_t sensorID);
46  std::vector<PndSdsDigiTopix4> fDigiArray;
47 };
48 
49 #endif
PndSdsHit GetHit(std::vector< PndSdsDigiTopix4 > pixelArray)
Main function of class to calculate the PndSdsHit out of the given PndSdsDigis.
PndSdsChargedWeightedPixelMapping: Gets a vector of DigiHits and calculates the cluster center weight...