CMS 3D CMS Logo

Classes | Public Member Functions | Protected Attributes

BeamSpotOnline Class Reference

#include <BeamSpotOnline.h>

List of all members.

Classes

class  h
 Persistable copy of online BeamSpotOnline value. More...

Public Member Functions

 BeamSpotOnline ()
 BeamSpotOnline (const unsigned char *rawData)
unsigned int bunchNumber () const
timespec collectionTime () const
float dxdz () const
float dydz () const
bool empty () const
 empty method (= false)
float err_dxdz () const
float err_dydz () const
float err_sigma_z () const
float err_width_x () const
float err_width_y () const
float err_x () const
float err_y () const
float err_z () const
unsigned int eventID () const
std::string name () const
 name method
int operator!= (const BeamSpotOnline &e) const
 inequality operator
int operator== (const BeamSpotOnline &e) const
 equality operator
float sigma_z () const
unsigned int sourceID () const
unsigned int trigType () const
int version () const
float width_x () const
float width_y () const
float x () const
float y () const
float z () const
virtual ~BeamSpotOnline ()

Protected Attributes

unsigned int bunchNumber_
TimeSpec collectionTime_
float dxdz_
float dydz_
float err_dxdz_
float err_dydz_
float err_sigma_z_
float err_width_x_
float err_width_y_
float err_x_
float err_y_
float err_z_
unsigned int eventID_
float sigma_z_
unsigned int sourceID_
unsigned int trigType_
int version_
float width_x_
float width_y_
float x_
float y_
float z_

Detailed Description

Definition at line 28 of file BeamSpotOnline.h.


Constructor & Destructor Documentation

BeamSpotOnline::BeamSpotOnline ( )

Definition at line 10 of file BeamSpotOnline.cc.

Referenced by BeamSpotOnline().

                               : 
   trigType_(0),
   eventID_(0),
   sourceID_(0),
   bunchNumber_(0),
   version_(0),
   collectionTime_(0,0),
   x_((float)0.0),
   y_((float)0.0),
   z_((float)0.0),
   dxdz_((float)0.0),
   dydz_((float)0.0),
   err_x_((float)0.0),
   err_y_((float)0.0),
   err_z_((float)0.0),
   err_dxdz_((float)0.0),
   err_dydz_((float)0.0),
   width_x_((float)0.0),
   width_y_((float)0.0),
   sigma_z_((float)0.0),
   err_width_x_((float)0.0),
   err_width_y_((float)0.0),
   err_sigma_z_((float)0.0)
{ 
}
BeamSpotOnline::BeamSpotOnline ( const unsigned char *  rawData)

Definition at line 36 of file BeamSpotOnline.cc.

References BeamSpotOnline(), ScalersEventRecordRaw_v4::beamSpotOnline, bunchNumber_, collectionTime_, BeamSpotOnlineRaw_v4::collectionTime_nsec, BeamSpotOnlineRaw_v4::collectionTime_sec, BeamSpotOnlineRaw_v4::dxdz, dxdz_, BeamSpotOnlineRaw_v4::dydz, dydz_, BeamSpotOnlineRaw_v4::err_dxdz, err_dxdz_, BeamSpotOnlineRaw_v4::err_dydz, err_dydz_, BeamSpotOnlineRaw_v4::err_sigma_z, err_sigma_z_, BeamSpotOnlineRaw_v4::err_width_x, err_width_x_, BeamSpotOnlineRaw_v4::err_width_y, err_width_y_, BeamSpotOnlineRaw_v4::err_x, err_x_, BeamSpotOnlineRaw_v4::err_y, err_y_, BeamSpotOnlineRaw_v4::err_z, err_z_, eventID_, ScalersEventRecordRaw_v4::header, runTheMatrix::raw, TimeSpec::set_tv_nsec(), TimeSpec::set_tv_sec(), BeamSpotOnlineRaw_v4::sigma_z, sigma_z_, sourceID_, trigType_, ScalersEventRecordRaw_v4::version, version_, BeamSpotOnlineRaw_v4::width_x, width_x_, BeamSpotOnlineRaw_v4::width_y, width_y_, BeamSpotOnlineRaw_v4::x, x_, BeamSpotOnlineRaw_v4::y, y_, BeamSpotOnlineRaw_v4::z, and z_.

BeamSpotOnline::~BeamSpotOnline ( ) [virtual]

Definition at line 71 of file BeamSpotOnline.cc.

{ } 

Member Function Documentation

unsigned int BeamSpotOnline::bunchNumber ( ) const [inline]

Definition at line 45 of file BeamSpotOnline.h.

References bunchNumber_.

Referenced by operator<<().

{ return(bunchNumber_);}
timespec BeamSpotOnline::collectionTime ( ) const [inline]

Definition at line 48 of file BeamSpotOnline.h.

References collectionTime_, and TimeSpec::get_timespec().

Referenced by operator<<().

float BeamSpotOnline::dxdz ( ) const [inline]

Definition at line 53 of file BeamSpotOnline.h.

References dxdz_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(dxdz_);}
float BeamSpotOnline::dydz ( ) const [inline]

Definition at line 54 of file BeamSpotOnline.h.

References dydz_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(dydz_);}
bool BeamSpotOnline::empty ( ) const [inline]

empty method (= false)

Definition at line 40 of file BeamSpotOnline.h.

{ return false; }
float BeamSpotOnline::err_dxdz ( ) const [inline]

Definition at line 58 of file BeamSpotOnline.h.

References err_dxdz_.

Referenced by operator<<().

{ return(err_dxdz_);}
float BeamSpotOnline::err_dydz ( ) const [inline]

Definition at line 59 of file BeamSpotOnline.h.

References err_dydz_.

Referenced by operator<<().

{ return(err_dydz_);}
float BeamSpotOnline::err_sigma_z ( ) const [inline]

Definition at line 65 of file BeamSpotOnline.h.

References err_sigma_z_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(err_sigma_z_);}
float BeamSpotOnline::err_width_x ( ) const [inline]

Definition at line 63 of file BeamSpotOnline.h.

References err_width_x_.

Referenced by operator<<().

{ return(err_width_x_);}
float BeamSpotOnline::err_width_y ( ) const [inline]

Definition at line 64 of file BeamSpotOnline.h.

References err_width_y_.

Referenced by operator<<().

{ return(err_width_y_);}
float BeamSpotOnline::err_x ( ) const [inline]

Definition at line 55 of file BeamSpotOnline.h.

References err_x_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(err_x_);}
float BeamSpotOnline::err_y ( ) const [inline]

Definition at line 56 of file BeamSpotOnline.h.

References err_y_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(err_y_);}
float BeamSpotOnline::err_z ( ) const [inline]

Definition at line 57 of file BeamSpotOnline.h.

References err_z_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(err_z_);}
unsigned int BeamSpotOnline::eventID ( ) const [inline]

Definition at line 43 of file BeamSpotOnline.h.

References eventID_.

Referenced by operator<<().

{ return(eventID_);}
std::string BeamSpotOnline::name ( ) const [inline]

name method

Definition at line 37 of file BeamSpotOnline.h.

{ return "BeamSpotOnline"; }
int BeamSpotOnline::operator!= ( const BeamSpotOnline e) const [inline]

inequality operator

Definition at line 71 of file BeamSpotOnline.h.

{ return false; }
int BeamSpotOnline::operator== ( const BeamSpotOnline e) const [inline]

equality operator

Definition at line 68 of file BeamSpotOnline.h.

{ return false; }
float BeamSpotOnline::sigma_z ( ) const [inline]

Definition at line 62 of file BeamSpotOnline.h.

References sigma_z_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(sigma_z_);}
unsigned int BeamSpotOnline::sourceID ( ) const [inline]

Definition at line 44 of file BeamSpotOnline.h.

References sourceID_.

Referenced by operator<<().

{ return(sourceID_);}
unsigned int BeamSpotOnline::trigType ( ) const [inline]

Definition at line 42 of file BeamSpotOnline.h.

References trigType_.

Referenced by operator<<().

{ return(trigType_);}
int BeamSpotOnline::version ( ) const [inline]

Definition at line 47 of file BeamSpotOnline.h.

References version_.

Referenced by operator<<().

{ return(version_);}
float BeamSpotOnline::width_x ( ) const [inline]

Definition at line 60 of file BeamSpotOnline.h.

References width_x_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(width_x_);}
float BeamSpotOnline::width_y ( ) const [inline]

Definition at line 61 of file BeamSpotOnline.h.

References width_y_.

Referenced by operator<<(), and BeamSpotOnlineProducer::produce().

{ return(width_y_);}
float BeamSpotOnline::x ( ) const [inline]

Definition at line 50 of file BeamSpotOnline.h.

References x_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(x_);}
float BeamSpotOnline::y ( ) const [inline]

Definition at line 51 of file BeamSpotOnline.h.

References y_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(y_);}
float BeamSpotOnline::z ( ) const [inline]

Definition at line 52 of file BeamSpotOnline.h.

References z_.

Referenced by FWBeamSpotOnlineProxyBuilder::build(), operator<<(), and BeamSpotOnlineProducer::produce().

{ return(z_);}

Member Data Documentation

unsigned int BeamSpotOnline::bunchNumber_ [protected]

Definition at line 78 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and bunchNumber().

Definition at line 82 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and collectionTime().

float BeamSpotOnline::dxdz_ [protected]

Definition at line 86 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and dxdz().

float BeamSpotOnline::dydz_ [protected]

Definition at line 87 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and dydz().

float BeamSpotOnline::err_dxdz_ [protected]

Definition at line 91 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_dxdz().

float BeamSpotOnline::err_dydz_ [protected]

Definition at line 92 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_dydz().

float BeamSpotOnline::err_sigma_z_ [protected]

Definition at line 98 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_sigma_z().

float BeamSpotOnline::err_width_x_ [protected]

Definition at line 96 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_width_x().

float BeamSpotOnline::err_width_y_ [protected]

Definition at line 97 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_width_y().

float BeamSpotOnline::err_x_ [protected]

Definition at line 88 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_x().

float BeamSpotOnline::err_y_ [protected]

Definition at line 89 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_y().

float BeamSpotOnline::err_z_ [protected]

Definition at line 90 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and err_z().

unsigned int BeamSpotOnline::eventID_ [protected]

Definition at line 76 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and eventID().

float BeamSpotOnline::sigma_z_ [protected]

Definition at line 95 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and sigma_z().

unsigned int BeamSpotOnline::sourceID_ [protected]

Definition at line 77 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and sourceID().

unsigned int BeamSpotOnline::trigType_ [protected]

Definition at line 75 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and trigType().

int BeamSpotOnline::version_ [protected]

Definition at line 80 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and version().

float BeamSpotOnline::width_x_ [protected]

Definition at line 93 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and width_x().

float BeamSpotOnline::width_y_ [protected]

Definition at line 94 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and width_y().

float BeamSpotOnline::x_ [protected]

Definition at line 83 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and x().

float BeamSpotOnline::y_ [protected]

Definition at line 84 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and y().

float BeamSpotOnline::z_ [protected]

Definition at line 85 of file BeamSpotOnline.h.

Referenced by BeamSpotOnline(), and z().