@@ -28,7 +28,7 @@ namespace larcv {
2828
2929 // / Default constructor
3030 Flash (double time=0 , double timeWidth=0 , double absTime=0 , unsigned int frame=0 ,
31- std::vector<double > PEPerOpDet=std::vector<double >(0 ), unsigned int tpc =100 ,
31+ std::vector<double > PEPerOpDet=std::vector<double >(0 ), unsigned int volume_id =100 ,
3232 bool inBeamFrame=0 , int onBeamTime=0 , double fastToTotal=1 ,
3333 double xCenter=0 , double xWidth=0 ,
3434 double yCenter=0 , double yWidth=0 ,
@@ -45,7 +45,7 @@ namespace larcv {
4545 // / Getters
4646 inline InstanceID_t id () const { return _id; }
4747 inline double time () const { return _time; }
48- inline unsigned int tpc () const { return _tpc ; }
48+ inline unsigned int volume_id () const { return _volume_id ; }
4949 inline double timeWidth () const { return _timeWidth; }
5050 inline double absTime () const { return _absTime; }
5151 inline unsigned int frame () const { return _frame; }
@@ -65,7 +65,7 @@ namespace larcv {
6565 // / Setters
6666 inline void id (InstanceID_t id ) { _id = id; }
6767 inline void time (double time) { _time = time; }
68- inline void tpc (unsigned int tpc ) { _tpc = tpc ; }
68+ inline void volume_id (unsigned int volume_id ) { _volume_id = volume_id ; }
6969 inline void timeWidth (double timeWidth) { _timeWidth = timeWidth; }
7070 inline void absTime (double absTime) { _absTime = absTime; }
7171 inline void frame (unsigned int frame) { _frame = frame; }
@@ -88,7 +88,7 @@ namespace larcv {
8888
8989 InstanceID_t _id; // /< "ID" of this flash in FlashSet collection
9090 double _time; // /< Time on @ref DetectorClocksHardwareTrigger "trigger time scale" [us]
91- unsigned int _tpc ; // /< ID of the hit TPC (0-7)
91+ unsigned int _volume_id ; // /< ID of the hit TPC (0-7)
9292 double _timeWidth; // /< Width of the flash in time [us]
9393 double _absTime; // /< Time by PMT readout clock
9494 unsigned int _frame; // /< Frame number
0 commit comments