// -------------------------------------------------------- // ---- MvdDigiPixel header file --- // ---- Created 19.6.06 by T.Stockmanns --- // -------------------------------------------------------- /** MvdDigiPixel.h *@author T.Stockmanns ** ++ An addition to the MvdHit which only stores the backcalculated ** 3d-space point this class stores the fired pixels **/ #ifndef MVDDIGIPIXEL_H #define MVDDIGIPIXEL_H #include "TObject.h" #include "TString.h" #include class MvdDigiPixel : public TObject { public : MvdDigiPixel(); MvdDigiPixel(Int_t index, Int_t detID, TString detName, Int_t fe, Int_t col, Int_t row, Double_t charge); ~MvdDigiPixel(){}; Int_t GetFE() const { return fFE;} Int_t GetPixelColumn() const { return fCol; } Int_t GetPixelRow() const { return fRow; } TString GetDetName() const { return fDetName; } Double_t GetCharge() const { return fCharge; } Int_t GetDetID() const { return fDetID;} void print(){ std::cout << "Pixel Hit: " << fDetName << " FE: " << fFE << " Pixel (C/R) " << fCol << "/" << fRow << " charge " << fCharge << std::endl; } private : Int_t fIndex, fDetID; TString fDetName; Int_t fFE, fCol, fRow; Double_t fCharge; ClassDef(MvdDigiPixel,3); }; #endif