er  dev
ERmuSiTrack.cxx
1 // -------------------------------------------------------------------------
2 // ----- ERmuSiTrack source file -----
3 // -------------------------------------------------------------------------
4 
5 #include "ERmuSiTrack.h"
6 
7 #include<iostream>
8 
9 Int_t ERmuSiTrack::AddHit(Int_t station, ERmuSiHit hit){
10  if (station > 2){
11  std::cerr << "Wrong station number in ERmuSiTrack::AddHit" << std::endl;
12  return -1;
13  }
14  fHits[station] = hit;
15  return 0;
16 }