// ------------------------------------------------------------------------- // ----- CbmMvdDigiMatch source file ----- // ----- Created 12/05/11 by M. Deveaux ----- // ----- Update to new CbmMatch Class by P. Sitzmann ----- // ------------------------------------------------------------------------- #include #include "CbmMvdDigiMatch.h" #include "TMath.h" using std::cout; using std::endl; // ----- Default constructor ------------------------------------------- CbmMvdDigiMatch::CbmMvdDigiMatch() { AddLink(0. , 0, -1 ,-1); fFileNumber = -1; fIndex = 0; fWeight = 0.; fEntry = -1; } // ------------------------------------------------------------------------- // ----- Constructor with parameters ----------------------------------- CbmMvdDigiMatch::CbmMvdDigiMatch(Double_t weight, Int_t index, Int_t entry, Int_t file) { AddLink(weight, index, entry, file); fFileNumber = file; fIndex = index; fWeight = weight; fEntry = entry; } // ------------------------------------------------------------------------- // ----- Destructor ---------------------------------------------------- CbmMvdDigiMatch::~CbmMvdDigiMatch(){} // ------------------------------------------------------------------------- ClassImp(CbmMvdDigiMatch)