CMS 3D CMS Logo

timing Struct Reference

#include <DQM/RPCMonitorDigi/interface/RPCMonitorSync.h>

List of all members.

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 31 of file RPCMonitorSync.h.


Member Function Documentation

int timing::early (  )  const [inline]

Definition at line 37 of file RPCMonitorSync.h.

References early_all.

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

00037                     {
00038     return (early_all[0]+early_all[1]+early_all[2]+early_all[3]);
00039   }

int timing::early_w (  )  const [inline]

Definition at line 45 of file RPCMonitorSync.h.

References early_all.

Referenced by offset().

00045                       {
00046     return (early_all[0]+2*early_all[1]+3*early_all[2]+4*early_all[3]);
00047   }

int timing::early_w2 (  )  const [inline]

Definition at line 53 of file RPCMonitorSync.h.

References early_all.

Referenced by width().

00053                        {
00054     return (early_all[0]+4*early_all[1]+9*early_all[2]+16*early_all[3]);
00055   }

float timing::earlyFraction (  )  const [inline]

Definition at line 61 of file RPCMonitorSync.h.

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

00061                              { 
00062     return (float)early()/(early()+inTime+late());  
00063   }

float timing::inTimeFraction (  )  const [inline]

Definition at line 65 of file RPCMonitorSync.h.

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

00065                                { 
00066     return (float)inTime/(early()+inTime+late());  
00067   }

int timing::late (  )  const [inline]

Definition at line 41 of file RPCMonitorSync.h.

References late_all.

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

00041                    {
00042     return (late_all[0]+late_all[1]+late_all[2]+late_all[3]);
00043   }

int timing::late_w (  )  const [inline]

Definition at line 49 of file RPCMonitorSync.h.

References late_all.

Referenced by offset().

00049                      {
00050     return (late_all[0]+2*late_all[1]+3*late_all[2]+4*late_all[3]);
00051   }

int timing::late_w2 (  )  const [inline]

Definition at line 57 of file RPCMonitorSync.h.

References late_all.

Referenced by width().

00057                       {
00058     return (late_all[0]+4*late_all[1]+9*late_all[2]+16*late_all[3]);
00059   }

float timing::lateFraction (  )  const [inline]

Definition at line 69 of file RPCMonitorSync.h.

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

00069                              { 
00070     return (float)late()/(early()+inTime+late());  
00071   }

float timing::offset (  )  const [inline]

Definition at line 77 of file RPCMonitorSync.h.

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

00077                        {
00078     return (float)(late_w()-early_w())/(early()+inTime+late());  
00079   }

float timing::outOfTimeFraction (  )  const [inline]

Definition at line 73 of file RPCMonitorSync.h.

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

00073                                   { 
00074     return (float)(early()+late())/(early()+inTime+late());  
00075   }

float timing::width (  )  const [inline]

Definition at line 81 of file RPCMonitorSync.h.

References early(), early_w2(), inTime, late(), late_w2(), and funct::sqrt().

00081                       {
00082     return (float)sqrt((float)(late_w2()+early_w2())/(early()+inTime+late()));  
00083   }


Member Data Documentation

int timing::early_all[4]

Definition at line 33 of file RPCMonitorSync.h.

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

int timing::inTime

Definition at line 34 of file RPCMonitorSync.h.

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

int timing::late_all[4]

Definition at line 35 of file RPCMonitorSync.h.

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


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:33:28 2009 for CMSSW by  doxygen 1.5.4