#include <HcalSourcePositionData.h>
Public Member Functions | |
int | driverId () const |
void | getDAQTimestamp (int &seconds, int &useconds) const |
void | getDriverTimestamp (int &seconds, int &useconds) const |
HcalSourcePositionData () | |
int | indexCounter () const |
int | messageCounter () const |
int | motorCurrent () const |
int | reelCounter () const |
void | set (int message_counter, int timestamp1_sec, int timestamp1_usec, int timestamp2_sec, int timestamp2_usec, int status, int index_counter, int reel_counter, int motor_current, int speed, int tube_id, int driver_id, int source_id) |
int | sourceId () const |
int | speed () const |
int | status () const |
int | tubeId () const |
~HcalSourcePositionData () | |
Private Attributes | |
int | driverId_ |
int | indexCounter_ |
int | messageCounter_ |
int | motorCurrent_ |
int | reelCounter_ |
int | sourceId_ |
int | speed_ |
int | status_ |
int | timestamp1_sec_ |
int | timestamp1_usec_ |
int | timestamp2_sec_ |
int | timestamp2_usec_ |
int | tubeId_ |
Definition at line 6 of file HcalSourcePositionData.h.
HcalSourcePositionData::HcalSourcePositionData | ( | ) |
Definition at line 6 of file HcalSourcePositionData.cc.
{ messageCounter_=0; indexCounter_=0; reelCounter_=0; timestamp1_sec_=0; timestamp1_usec_=0; timestamp2_sec_=0; timestamp2_usec_=0; status_=0; motorCurrent_=0; speed_=0; tubeId_=-1; driverId_=-1; sourceId_=-1; }
HcalSourcePositionData::~HcalSourcePositionData | ( | ) | [inline] |
Definition at line 10 of file HcalSourcePositionData.h.
{}
int HcalSourcePositionData::driverId | ( | ) | const [inline] |
Definition at line 19 of file HcalSourcePositionData.h.
References driverId_.
Referenced by operator<<().
{ return driverId_; }
void HcalSourcePositionData::getDAQTimestamp | ( | int & | seconds, |
int & | useconds | ||
) | const |
Definition at line 56 of file HcalSourcePositionData.cc.
Referenced by operator<<().
{ seconds=timestamp2_sec_; useconds=timestamp2_usec_; }
void HcalSourcePositionData::getDriverTimestamp | ( | int & | seconds, |
int & | useconds | ||
) | const |
Definition at line 51 of file HcalSourcePositionData.cc.
Referenced by operator<<().
{ seconds=timestamp1_sec_; useconds=timestamp1_usec_; }
int HcalSourcePositionData::indexCounter | ( | ) | const [inline] |
Definition at line 14 of file HcalSourcePositionData.h.
References indexCounter_.
Referenced by operator<<().
{ return indexCounter_; }
int HcalSourcePositionData::messageCounter | ( | ) | const [inline] |
Definition at line 12 of file HcalSourcePositionData.h.
References messageCounter_.
Referenced by operator<<().
{ return messageCounter_; }
int HcalSourcePositionData::motorCurrent | ( | ) | const [inline] |
Definition at line 16 of file HcalSourcePositionData.h.
References motorCurrent_.
Referenced by operator<<().
{ return motorCurrent_; }
int HcalSourcePositionData::reelCounter | ( | ) | const [inline] |
Definition at line 15 of file HcalSourcePositionData.h.
References reelCounter_.
Referenced by operator<<().
{ return reelCounter_; }
void HcalSourcePositionData::set | ( | int | message_counter, |
int | timestamp1_sec, | ||
int | timestamp1_usec, | ||
int | timestamp2_sec, | ||
int | timestamp2_usec, | ||
int | status, | ||
int | index_counter, | ||
int | reel_counter, | ||
int | motor_current, | ||
int | speed, | ||
int | tube_id, | ||
int | driver_id, | ||
int | source_id | ||
) |
Definition at line 22 of file HcalSourcePositionData.cc.
References ExpressReco_HICollisions_FallBack::speed, and ntuplemaker::status.
Referenced by hcaltb::HcalTBSourcePositionDataUnpacker::unpack().
{ messageCounter_=message_counter; indexCounter_=index_counter; reelCounter_=reel_counter; timestamp1_sec_=timestamp1_sec; timestamp1_usec_=timestamp1_usec; timestamp2_sec_=timestamp2_sec; timestamp2_usec_=timestamp2_usec; status_=status; motorCurrent_=motor_current; speed_=speed; tubeId_=tube_id; driverId_=driver_id; sourceId_=source_id; }
int HcalSourcePositionData::sourceId | ( | ) | const [inline] |
Definition at line 20 of file HcalSourcePositionData.h.
References sourceId_.
Referenced by operator<<().
{ return sourceId_; }
int HcalSourcePositionData::speed | ( | ) | const [inline] |
Definition at line 17 of file HcalSourcePositionData.h.
References speed_.
Referenced by operator<<().
{ return speed_; }
int HcalSourcePositionData::status | ( | ) | const [inline] |
Definition at line 13 of file HcalSourcePositionData.h.
References status_.
Referenced by operator<<().
{ return status_; }
int HcalSourcePositionData::tubeId | ( | ) | const [inline] |
Definition at line 18 of file HcalSourcePositionData.h.
References tubeId_.
Referenced by operator<<().
{ return tubeId_; }
int HcalSourcePositionData::driverId_ [private] |
Definition at line 50 of file HcalSourcePositionData.h.
Referenced by driverId().
int HcalSourcePositionData::indexCounter_ [private] |
Definition at line 40 of file HcalSourcePositionData.h.
Referenced by indexCounter().
int HcalSourcePositionData::messageCounter_ [private] |
Definition at line 39 of file HcalSourcePositionData.h.
Referenced by messageCounter().
int HcalSourcePositionData::motorCurrent_ [private] |
Definition at line 47 of file HcalSourcePositionData.h.
Referenced by motorCurrent().
int HcalSourcePositionData::reelCounter_ [private] |
Definition at line 41 of file HcalSourcePositionData.h.
Referenced by reelCounter().
int HcalSourcePositionData::sourceId_ [private] |
Definition at line 51 of file HcalSourcePositionData.h.
Referenced by sourceId().
int HcalSourcePositionData::speed_ [private] |
Definition at line 48 of file HcalSourcePositionData.h.
Referenced by speed().
int HcalSourcePositionData::status_ [private] |
Definition at line 46 of file HcalSourcePositionData.h.
Referenced by status().
int HcalSourcePositionData::timestamp1_sec_ [private] |
Definition at line 42 of file HcalSourcePositionData.h.
int HcalSourcePositionData::timestamp1_usec_ [private] |
Definition at line 43 of file HcalSourcePositionData.h.
int HcalSourcePositionData::timestamp2_sec_ [private] |
Definition at line 44 of file HcalSourcePositionData.h.
int HcalSourcePositionData::timestamp2_usec_ [private] |
Definition at line 45 of file HcalSourcePositionData.h.
int HcalSourcePositionData::tubeId_ [private] |
Definition at line 49 of file HcalSourcePositionData.h.
Referenced by tubeId().