CMS 3D CMS Logo

Public Member Functions | Private Attributes

HcalSourcePositionData Class Reference

#include <HcalSourcePositionData.h>

List of all members.

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_

Detailed Description

Definition at line 6 of file HcalSourcePositionData.h.


Constructor & Destructor Documentation

HcalSourcePositionData::HcalSourcePositionData ( )
HcalSourcePositionData::~HcalSourcePositionData ( ) [inline]

Definition at line 10 of file HcalSourcePositionData.h.

{}

Member Function Documentation

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<<().

void HcalSourcePositionData::getDriverTimestamp ( int &  seconds,
int &  useconds 
) const

Definition at line 51 of file HcalSourcePositionData.cc.

Referenced by operator<<().

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_; }

Member Data Documentation

Definition at line 50 of file HcalSourcePositionData.h.

Referenced by driverId().

Definition at line 40 of file HcalSourcePositionData.h.

Referenced by indexCounter().

Definition at line 39 of file HcalSourcePositionData.h.

Referenced by messageCounter().

Definition at line 47 of file HcalSourcePositionData.h.

Referenced by motorCurrent().

Definition at line 41 of file HcalSourcePositionData.h.

Referenced by reelCounter().

Definition at line 51 of file HcalSourcePositionData.h.

Referenced by sourceId().

Definition at line 48 of file HcalSourcePositionData.h.

Referenced by speed().

Definition at line 46 of file HcalSourcePositionData.h.

Referenced by status().

Definition at line 42 of file HcalSourcePositionData.h.

Definition at line 43 of file HcalSourcePositionData.h.

Definition at line 44 of file HcalSourcePositionData.h.

Definition at line 45 of file HcalSourcePositionData.h.

Definition at line 49 of file HcalSourcePositionData.h.

Referenced by tubeId().