CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
timing Struct Reference

#include <RPCMonitorSync.h>

Public Member Functions

int early () const
 
int early_w () const
 
int early_w2 () const
 
float earlyFraction () const
 
float inTimeFraction () const
 
int late () const
 
int late_w () const
 
int late_w2 () const
 
float lateFraction () const
 
float offset () const
 
float outOfTimeFraction () const
 
float width () const
 

Public Attributes

int early_all [4]
 
int inTime
 
int late_all [4]
 

Detailed Description

Definition at line 33 of file RPCMonitorSync.h.

Member Function Documentation

int timing::early ( ) const
inline

Definition at line 39 of file RPCMonitorSync.h.

References early_all.

Referenced by earlyFraction(), inTimeFraction(), lateFraction(), offset(), outOfTimeFraction(), and width().

39  {
40  return (early_all[0]+early_all[1]+early_all[2]+early_all[3]);
41  }
int early_all[4]
int timing::early_w ( ) const
inline

Definition at line 47 of file RPCMonitorSync.h.

References early_all.

Referenced by offset().

47  {
48  return (early_all[0]+2*early_all[1]+3*early_all[2]+4*early_all[3]);
49  }
int early_all[4]
int timing::early_w2 ( ) const
inline

Definition at line 55 of file RPCMonitorSync.h.

References early_all.

Referenced by width().

55  {
56  return (early_all[0]+4*early_all[1]+9*early_all[2]+16*early_all[3]);
57  }
int early_all[4]
float timing::earlyFraction ( ) const
inline

Definition at line 63 of file RPCMonitorSync.h.

References early(), inTime, and late().

63  {
64  return (float)early()/(early()+inTime+late());
65  }
int late() const
int inTime
int early() const
float timing::inTimeFraction ( ) const
inline

Definition at line 67 of file RPCMonitorSync.h.

References early(), inTime, and late().

67  {
68  return (float)inTime/(early()+inTime+late());
69  }
int late() const
int inTime
int early() const
int timing::late ( ) const
inline

Definition at line 43 of file RPCMonitorSync.h.

References late_all.

Referenced by earlyFraction(), inTimeFraction(), lateFraction(), offset(), outOfTimeFraction(), and width().

43  {
44  return (late_all[0]+late_all[1]+late_all[2]+late_all[3]);
45  }
int late_all[4]
int timing::late_w ( ) const
inline

Definition at line 51 of file RPCMonitorSync.h.

References late_all.

Referenced by offset().

51  {
52  return (late_all[0]+2*late_all[1]+3*late_all[2]+4*late_all[3]);
53  }
int late_all[4]
int timing::late_w2 ( ) const
inline

Definition at line 59 of file RPCMonitorSync.h.

References late_all.

Referenced by width().

59  {
60  return (late_all[0]+4*late_all[1]+9*late_all[2]+16*late_all[3]);
61  }
int late_all[4]
float timing::lateFraction ( ) const
inline

Definition at line 71 of file RPCMonitorSync.h.

References early(), inTime, and late().

71  {
72  return (float)late()/(early()+inTime+late());
73  }
int late() const
int inTime
int early() const
float timing::offset ( ) const
inline

Definition at line 79 of file RPCMonitorSync.h.

References early(), early_w(), inTime, late(), and late_w().

79  {
80  return (float)(late_w()-early_w())/(early()+inTime+late());
81  }
int late() const
int early_w() const
int inTime
int late_w() const
int early() const
float timing::outOfTimeFraction ( ) const
inline

Definition at line 75 of file RPCMonitorSync.h.

References early(), inTime, and late().

75  {
76  return (float)(early()+late())/(early()+inTime+late());
77  }
int late() const
int inTime
int early() const
float timing::width ( ) const
inline

Member Data Documentation

int timing::early_all[4]

Definition at line 35 of file RPCMonitorSync.h.

Referenced by early(), early_w(), early_w2(), and RPCMonitorSync::readRPCDAQStrips().

int timing::inTime
int timing::late_all[4]

Definition at line 37 of file RPCMonitorSync.h.

Referenced by late(), late_w(), late_w2(), and RPCMonitorSync::readRPCDAQStrips().