CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Protected Attributes

L1TriggerRates Class Reference

#include <L1TriggerRates.h>

List of all members.

Classes

class  h
 Persistable copy of L1 Trigger Rates. More...

Public Types

enum  { N_BX = 3654, N_BX_ACTIVE = 2808 }

Public Member Functions

double calibrationTriggersRate () const
double calibrationTriggersRunRate () const
timespec collectionTimeDetails () const
timespec collectionTimeSummary ()
void computeRates (L1TriggerScalers const &t1, L1TriggerScalers const &t2)
void computeRunRates (L1TriggerScalers const &t)
double deadTimeActiveCalibrationPercent () const
double deadTimeActiveCalibrationRunPercent () const
double deadTimeActivePartitionPercent () const
double deadTimeActivePartitionRunPercent () const
double deadTimeActivePercent () const
double deadTimeActivePrivatePercent () const
double deadTimeActivePrivateRunPercent () const
double deadTimeActiveRunPercent () const
double deadTimeActiveThrottlePercent () const
double deadTimeActiveThrottleRunPercent () const
double deadTimeActiveTimeSlotPercent () const
double deadTimeActiveTimeSlotRunPercent () const
double deadTimePercent () const
double deadTimeRunPercent () const
double deltaT () const
double deltaTActive () const
double deltaTRun () const
double deltaTRunActive () const
bool empty () const
 empty method (= false)
double eventNumberRate () const
double eventNumberRunRate () const
double finalTriggersDistributedRate () const
double finalTriggersDistributedRunRate () const
double finalTriggersGeneratedRate () const
double finalTriggersGeneratedRunRate () const
double finalTriggersInvalidBCPercent () const
double finalTriggersInvalidBCRunPercent () const
 L1TriggerRates ()
 L1TriggerRates (L1TriggerScalers const &s)
 L1TriggerRates (L1TriggerScalers const &s1, L1TriggerScalers const &s2)
double lostFinalTriggersActivePercent () const
double lostFinalTriggersActiveRunPercent () const
double lostFinalTriggersPercent () const
double lostFinalTriggersRunPercent () const
std::string name () const
 name method
double numberResetsRate () const
double numberResetsRunRate () const
int operator!= (const L1TriggerRates &e) const
 inequality operator
int operator== (const L1TriggerRates &e) const
 equality operator
double orbitNumberRate () const
double orbitNumberRunRate () const
double randomTriggersRate () const
double randomTriggersRunRate () const
std::vector< double > testTriggersRate () const
std::vector< double > testTriggersRunRate () const
double totalTestTriggersRate () const
double totalTestTriggersRunRate () const
double triggerNumberRate () const
double triggerNumberRunRate () const
std::vector< double > triggersRate () const
std::vector< double > triggersRunRate () const
int version () const
 get the data
virtual ~L1TriggerRates ()

Protected Attributes

double calibrationTriggersRate_
double calibrationTriggersRunRate_
TimeSpec collectionTimeDetails_
TimeSpec collectionTimeSummary_
double deadTimeActiveCalibrationPercent_
double deadTimeActiveCalibrationRunPercent_
double deadTimeActivePartitionPercent_
double deadTimeActivePartitionRunPercent_
double deadTimeActivePercent_
double deadTimeActivePrivatePercent_
double deadTimeActivePrivateRunPercent_
double deadTimeActiveRunPercent_
double deadTimeActiveThrottlePercent_
double deadTimeActiveThrottleRunPercent_
double deadTimeActiveTimeSlotPercent_
double deadTimeActiveTimeSlotRunPercent_
double deadTimePercent_
double deadTimeRunPercent_
double deltaT_
double deltaTActive_
double deltaTRun_
double deltaTRunActive_
double eventNumberRate_
double eventNumberRunRate_
double finalTriggersDistributedRate_
double finalTriggersDistributedRunRate_
double finalTriggersGeneratedRate_
double finalTriggersGeneratedRunRate_
double finalTriggersInvalidBCPercent_
double finalTriggersInvalidBCRunPercent_
double lostFinalTriggersActivePercent_
double lostFinalTriggersActiveRunPercent_
double lostFinalTriggersPercent_
double lostFinalTriggersRunPercent_
double numberResetsRate_
double numberResetsRunRate_
double orbitNumberRate_
double orbitNumberRunRate_
double randomTriggersRate_
double randomTriggersRunRate_
std::vector< double > testTriggersRate_
std::vector< double > testTriggersRunRate_
double totalTestTriggersRate_
double totalTestTriggersRunRate_
double triggerNumberRate_
double triggerNumberRunRate_
std::vector< double > triggersRate_
std::vector< double > triggersRunRate_
int version_

Detailed Description

Definition at line 31 of file L1TriggerRates.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
N_BX 
N_BX_ACTIVE 

Definition at line 35 of file L1TriggerRates.h.

  {
    N_BX = 3654,
    N_BX_ACTIVE = 2808
  };

Constructor & Destructor Documentation

L1TriggerRates::L1TriggerRates ( )

Definition at line 11 of file L1TriggerRates.cc.

Referenced by L1TriggerRates().

                              :
  version_(0),
  collectionTimeSummary_(0,0),
  deltaT_(0),
  deltaTActive_(0),
  triggerNumberRate_(0.0),
  eventNumberRate_(0.0),
  finalTriggersDistributedRate_(0.0),
  finalTriggersGeneratedRate_(0.0),
  randomTriggersRate_(0.0),
  calibrationTriggersRate_(0.0),
  totalTestTriggersRate_(0.0),
  orbitNumberRate_(0.0),
  numberResetsRate_(0.0),
  deadTimePercent_(0.0),
  deadTimeActivePercent_(0.0),
  deadTimeActiveCalibrationPercent_(0.0),
  deadTimeActivePrivatePercent_(0.0),
  deadTimeActivePartitionPercent_(0.0),
  deadTimeActiveThrottlePercent_(0.0),
  deadTimeActiveTimeSlotPercent_(0.0),
  finalTriggersInvalidBCPercent_(0.0),
  lostFinalTriggersPercent_(0.0),
  lostFinalTriggersActivePercent_(0.0),
  triggersRate_(L1TriggerScalers::nL1Triggers),
  testTriggersRate_(L1TriggerScalers::nL1TestTriggers),
  triggerNumberRunRate_(0.0),
  eventNumberRunRate_(0.0),
  finalTriggersDistributedRunRate_(0.0),
  finalTriggersGeneratedRunRate_(0.0),
  randomTriggersRunRate_(0.0),
  calibrationTriggersRunRate_(0.0),
  totalTestTriggersRunRate_(0.0),
  orbitNumberRunRate_(0.0),
  numberResetsRunRate_(0.0),
  deadTimeRunPercent_(0.0),
  deadTimeActiveRunPercent_(0.0),
  deadTimeActiveCalibrationRunPercent_(0.0),
  deadTimeActivePrivateRunPercent_(0.0),
  deadTimeActivePartitionRunPercent_(0.0),
  deadTimeActiveThrottleRunPercent_(0.0),
  deadTimeActiveTimeSlotRunPercent_(0.0),
  finalTriggersInvalidBCRunPercent_(0.0),
  lostFinalTriggersRunPercent_(0.0),
  lostFinalTriggersActiveRunPercent_(0.0),
  collectionTimeDetails_(0,0),
  triggersRunRate_(L1TriggerScalers::nL1Triggers),
  testTriggersRunRate_(L1TriggerScalers::nL1TestTriggers)
{ 
}
L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s)

Definition at line 62 of file L1TriggerRates.cc.

References computeRunRates(), and L1TriggerRates().

L1TriggerRates::L1TriggerRates ( L1TriggerScalers const &  s1,
L1TriggerScalers const &  s2 
)

Definition at line 68 of file L1TriggerRates.cc.

References computeRates(), computeRunRates(), L1TriggerRates(), L1TriggerScalers::orbitNumber(), and indexGen::s2.

{  
  L1TriggerRates();

  const L1TriggerScalers *t1 = &s1;
  const L1TriggerScalers *t2 = &s2;

  // Choose the later sample to be t2
  if ( t1->orbitNumber() > t2->orbitNumber())
  {
    t1 = &s2;
    t2 = &s1;
  }

  computeRunRates(*t2);
  computeRates(*t1,*t2);
}
L1TriggerRates::~L1TriggerRates ( ) [virtual]

Definition at line 87 of file L1TriggerRates.cc.

{ } 

Member Function Documentation

double L1TriggerRates::calibrationTriggersRate ( ) const [inline]

Definition at line 83 of file L1TriggerRates.h.

References calibrationTriggersRate_.

Referenced by operator<<().

double L1TriggerRates::calibrationTriggersRunRate ( ) const [inline]

Definition at line 148 of file L1TriggerRates.h.

References calibrationTriggersRunRate_.

Referenced by operator<<().

timespec L1TriggerRates::collectionTimeDetails ( ) const [inline]

Definition at line 125 of file L1TriggerRates.h.

References collectionTimeDetails_, and TimeSpec::get_timespec().

timespec L1TriggerRates::collectionTimeSummary ( ) [inline]

Definition at line 61 of file L1TriggerRates.h.

References collectionTimeSummary_, and TimeSpec::get_timespec().

void L1TriggerRates::computeRates ( L1TriggerScalers const &  t1,
L1TriggerScalers const &  t2 
)

Definition at line 90 of file L1TriggerRates.cc.

References BX_SPACING, L1TriggerScalers::calibrationTriggers(), calibrationTriggersRate_, L1TriggerScalers::deadTime(), L1TriggerScalers::deadTimeActive(), L1TriggerScalers::deadTimeActiveCalibration(), deadTimeActiveCalibrationPercent_, L1TriggerScalers::deadTimeActivePartition(), deadTimeActivePartitionPercent_, deadTimeActivePercent_, L1TriggerScalers::deadTimeActivePrivate(), deadTimeActivePrivatePercent_, L1TriggerScalers::deadTimeActiveThrottle(), deadTimeActiveThrottlePercent_, L1TriggerScalers::deadTimeActiveTimeSlot(), deadTimeActiveTimeSlotPercent_, deadTimePercent_, deltaT_, deltaTActive_, L1TriggerScalers::eventNumber(), eventNumberRate_, L1TriggerScalers::finalTriggersDistributed(), finalTriggersDistributedRate_, L1TriggerScalers::finalTriggersGenerated(), finalTriggersGeneratedRate_, L1TriggerScalers::finalTriggersInvalidBC(), finalTriggersInvalidBCPercent_, i, L1TriggerScalers::lostFinalTriggers(), L1TriggerScalers::lostFinalTriggersActive(), lostFinalTriggersActivePercent_, lostFinalTriggersPercent_, N_BX, N_BX_ACTIVE, L1TriggerScalers::numberResets(), numberResetsRate_, L1TriggerScalers::orbitNumber(), orbitNumberRate_, L1TriggerScalers::randomTriggers(), randomTriggersRate_, scaleCards::rate, L1TriggerScalers::testTriggers(), testTriggersRate_, L1TriggerScalers::totalTestTriggers(), totalTestTriggersRate_, L1TriggerScalers::triggerNumber(), triggerNumberRate_, L1TriggerScalers::triggers(), and triggersRate_.

Referenced by L1TriggerRates().

{
  double deltaOrbit = (double)t2.orbitNumber() - (double)t1.orbitNumber();
  if ( deltaOrbit > 0 )
  {
    // Convert orbits into crossings and time in seconds
    double deltaBC       = deltaOrbit * N_BX;
    double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
    deltaT_              = deltaBC * BX_SPACING;
    deltaTActive_        = deltaBCActive * BX_SPACING;

    triggerNumberRate_ = ((double)t2.triggerNumber() 
                          - (double)t1.triggerNumber()) / deltaT_;
    eventNumberRate_ = ((double)t2.eventNumber() 
                        - (double)t1.eventNumber()) / deltaT_;
    finalTriggersDistributedRate_ = ((double)t2.finalTriggersDistributed() 
                     - (double)t1.finalTriggersDistributed()) / deltaT_;
    finalTriggersGeneratedRate_ = ((double)t2.finalTriggersGenerated() 
        - (double)t1.finalTriggersGenerated()) / deltaT_;
    randomTriggersRate_ = ((double)t2.randomTriggers() 
                            - (double)t1.randomTriggers()) / deltaT_;
    calibrationTriggersRate_ = ((double)t2.calibrationTriggers() 
                                 - (double)t1.calibrationTriggers()) / deltaT_;
    totalTestTriggersRate_ = ((double)t2.totalTestTriggers() 
                     - (double)t1.totalTestTriggers()) / deltaT_;
    orbitNumberRate_ = ((double)t2.orbitNumber() 
                        - (double)t1.orbitNumber()) / deltaT_;
    numberResetsRate_ = ((double)t2.numberResets() 
                         - (double)t1.numberResets()) / deltaT_;
    
    deadTimePercent_ = 100.0 * ((double)t2.deadTime() 
                                - (double)t1.deadTime()) / deltaBC;
    deadTimeActivePercent_ = 100.0 * ((double)t2.deadTimeActive() 
                           - (double)t1.deadTimeActive()) / deltaBCActive;
    deadTimeActiveCalibrationPercent_ = 100.0 * ((double)t2.deadTimeActiveCalibration() 
                                      - (double)t1.deadTimeActiveCalibration()) / deltaBCActive;
    deadTimeActivePrivatePercent_ = 100.0 * ((double)t2.deadTimeActivePrivate() 
                                  - (double)t1.deadTimeActivePrivate()) / deltaBCActive;
    deadTimeActivePartitionPercent_ = 100.0 * ((double)t2.deadTimeActivePartition() 
                                    - (double)t1.deadTimeActivePartition()) / deltaBCActive;
    deadTimeActiveThrottlePercent_ = 100.0 * ((double)t2.deadTimeActiveThrottle() 
                                   - (double)t1.deadTimeActiveThrottle()) / deltaBCActive;
    deadTimeActiveTimeSlotPercent_ = 100.0 * ((double)t2.deadTimeActiveTimeSlot() 
                             - (double)t1.deadTimeActiveTimeSlot()) / deltaBCActive;
    finalTriggersInvalidBCPercent_ = 100.0 * ((double)t2.finalTriggersInvalidBC() 
                               - (double)t1.finalTriggersInvalidBC()) / deltaBC;
    lostFinalTriggersPercent_ = 100.0 * ((double)t2.lostFinalTriggers() 
                         - (double)t1.lostFinalTriggers()) / deltaBC;
    lostFinalTriggersActivePercent_ = 100.0 * ((double)t2.lostFinalTriggersActive() 
                               - (double)t1.lostFinalTriggersActive()) / deltaBCActive;

    int length1 = t1.triggers().size();
    int length2 = t2.triggers().size();
    int minLength;
    ( length1 >= length2 ) ? minLength = length2 : minLength=length1;
    std::vector<unsigned int> triggers1 = t1.triggers();
    std::vector<unsigned int> triggers2 = t2.triggers();
    for ( int i=0; i<minLength; i++)
    {
      double rate = ((double)triggers2[i] -
                     (double)triggers1[i] ) / deltaT_;
      triggersRate_.push_back(rate);
    }


    length1 = t1.testTriggers().size();
    length2 = t2.testTriggers().size();
    ( length1 >= length2 ) ? minLength = length2 : minLength=length1;
    std::vector<unsigned int> testTriggers1 = t1.testTriggers();
    std::vector<unsigned int> testTriggers2 = t2.testTriggers();
    for ( int i=0; i<minLength; i++)
    {
      double rate = ((double)testTriggers2[i] -
                     (double)testTriggers1[i] ) / deltaT_;
      testTriggersRate_.push_back(rate);
    }
  }
}
void L1TriggerRates::computeRunRates ( L1TriggerScalers const &  t)

Definition at line 170 of file L1TriggerRates.cc.

References BX_SPACING, L1TriggerScalers::calibrationTriggers(), calibrationTriggersRunRate_, L1TriggerScalers::collectionTimeDetails(), collectionTimeDetails_, L1TriggerScalers::collectionTimeSummary(), collectionTimeSummary_, L1TriggerScalers::deadTime(), L1TriggerScalers::deadTimeActive(), L1TriggerScalers::deadTimeActiveCalibration(), deadTimeActiveCalibrationRunPercent_, L1TriggerScalers::deadTimeActivePartition(), deadTimeActivePartitionRunPercent_, L1TriggerScalers::deadTimeActivePrivate(), deadTimeActivePrivateRunPercent_, deadTimeActiveRunPercent_, L1TriggerScalers::deadTimeActiveThrottle(), deadTimeActiveThrottleRunPercent_, L1TriggerScalers::deadTimeActiveTimeSlot(), deadTimeActiveTimeSlotRunPercent_, deadTimeRunPercent_, deltaTRun_, deltaTRunActive_, L1TriggerScalers::eventNumber(), eventNumberRunRate_, L1TriggerScalers::finalTriggersDistributed(), finalTriggersDistributedRunRate_, L1TriggerScalers::finalTriggersGenerated(), finalTriggersGeneratedRunRate_, L1TriggerScalers::finalTriggersInvalidBC(), finalTriggersInvalidBCRunPercent_, i, L1TriggerScalers::lostFinalTriggers(), L1TriggerScalers::lostFinalTriggersActive(), lostFinalTriggersActiveRunPercent_, lostFinalTriggersRunPercent_, N_BX, N_BX_ACTIVE, L1TriggerScalers::numberResets(), numberResetsRunRate_, L1TriggerScalers::orbitNumber(), orbitNumberRunRate_, L1TriggerScalers::randomTriggers(), randomTriggersRunRate_, scaleCards::rate, TimeSpec::set_tv_nsec(), TimeSpec::set_tv_sec(), L1TriggerScalers::totalTestTriggers(), totalTestTriggersRunRate_, L1TriggerScalers::triggerNumber(), triggerNumberRunRate_, L1TriggerScalers::triggers(), triggersRunRate_, L1TriggerScalers::version(), and version_.

Referenced by L1TriggerRates().

{
  version_ = t.version();

  collectionTimeSummary_.set_tv_sec(static_cast<long>(t.collectionTimeSummary().tv_sec));
  collectionTimeSummary_.set_tv_nsec(t.collectionTimeSummary().tv_nsec);

  collectionTimeDetails_.set_tv_sec(static_cast<long>(t.collectionTimeDetails().tv_sec));
  collectionTimeDetails_.set_tv_nsec(t.collectionTimeDetails().tv_nsec);

  double deltaOrbit = (double)t.orbitNumber();
  if ( deltaOrbit > 0 )
  {
    // Convert orbits into crossings and time in seconds
    double deltaBC       = deltaOrbit * N_BX;
    double deltaBCActive = deltaOrbit * N_BX_ACTIVE;
    deltaTRun_           = deltaBC * BX_SPACING;
    deltaTRunActive_     = deltaBCActive * BX_SPACING;

    triggerNumberRunRate_ = (double)t.triggerNumber() / deltaTRun_;
    eventNumberRunRate_ = (double)t.eventNumber() / deltaTRun_;
    finalTriggersDistributedRunRate_ = (double)t.finalTriggersDistributed() 
      / deltaTRun_;
    finalTriggersGeneratedRunRate_ = (double)t.finalTriggersGenerated() / deltaTRun_;
    randomTriggersRunRate_ = (double)t.randomTriggers() / deltaTRun_;
    calibrationTriggersRunRate_ = (double)t.calibrationTriggers() / deltaTRun_;
    totalTestTriggersRunRate_ = (double)t.totalTestTriggers() / deltaTRun_;
    orbitNumberRunRate_ = (double)t.orbitNumber() / deltaTRun_;
    numberResetsRunRate_ = (double)t.numberResets() / deltaTRun_;
    
    deadTimeRunPercent_ = 100.0 * (double)t.deadTime() / deltaBC;
    deadTimeActiveRunPercent_ = 100.0 * (double)t.deadTimeActive() / deltaBCActive;
    deadTimeActiveCalibrationRunPercent_ = 100.0 * (double)t.deadTimeActiveCalibration() / deltaBCActive;
    deadTimeActivePrivateRunPercent_ = 100.0 * (double)t.deadTimeActivePrivate() / deltaBCActive;
    deadTimeActivePartitionRunPercent_ = 100.0 * (double)t.deadTimeActivePartition() / deltaBCActive;
    deadTimeActiveThrottleRunPercent_ = 100.0 * (double)t.deadTimeActiveThrottle() / deltaBCActive;
    deadTimeActiveTimeSlotRunPercent_ = 100.0 * (double)t.deadTimeActiveTimeSlot() / deltaBCActive;
    finalTriggersInvalidBCRunPercent_ = 100.0 * (double)t.finalTriggersInvalidBC() / deltaBC;
    lostFinalTriggersRunPercent_ = 100.0 * (double)t.lostFinalTriggers() / deltaBC;
    lostFinalTriggersActiveRunPercent_ = 100.0 * (double)t.lostFinalTriggersActive() / deltaBCActive;

    int length = t.triggers().size();
    for ( int i=0; i<length; i++)
    {
      double rate = ((double)t.triggers()[i]) / deltaTRun_;
      triggersRunRate_.push_back(rate);
    }
  }
}
double L1TriggerRates::deadTimeActiveCalibrationPercent ( ) const [inline]

Definition at line 101 of file L1TriggerRates.h.

References deadTimeActiveCalibrationPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveCalibrationRunPercent ( ) const [inline]

Definition at line 166 of file L1TriggerRates.h.

References deadTimeActiveCalibrationRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActivePartitionPercent ( ) const [inline]

Definition at line 107 of file L1TriggerRates.h.

References deadTimeActivePartitionPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActivePartitionRunPercent ( ) const [inline]

Definition at line 172 of file L1TriggerRates.h.

References deadTimeActivePartitionRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActivePercent ( ) const [inline]

Definition at line 98 of file L1TriggerRates.h.

References deadTimeActivePercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActivePrivatePercent ( ) const [inline]

Definition at line 104 of file L1TriggerRates.h.

References deadTimeActivePrivatePercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActivePrivateRunPercent ( ) const [inline]

Definition at line 169 of file L1TriggerRates.h.

References deadTimeActivePrivateRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveRunPercent ( ) const [inline]

Definition at line 163 of file L1TriggerRates.h.

References deadTimeActiveRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveThrottlePercent ( ) const [inline]

Definition at line 110 of file L1TriggerRates.h.

References deadTimeActiveThrottlePercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveThrottleRunPercent ( ) const [inline]

Definition at line 175 of file L1TriggerRates.h.

References deadTimeActiveThrottleRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveTimeSlotPercent ( ) const [inline]

Definition at line 113 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimeActiveTimeSlotRunPercent ( ) const [inline]

Definition at line 178 of file L1TriggerRates.h.

References deadTimeActiveTimeSlotRunPercent_.

Referenced by operator<<().

double L1TriggerRates::deadTimePercent ( ) const [inline]

Definition at line 95 of file L1TriggerRates.h.

References deadTimePercent_.

Referenced by operator<<().

  { return(deadTimePercent_);}
double L1TriggerRates::deadTimeRunPercent ( ) const [inline]

Definition at line 160 of file L1TriggerRates.h.

References deadTimeRunPercent_.

Referenced by operator<<().

  { return(deadTimeRunPercent_);}
double L1TriggerRates::deltaT ( ) const [inline]

Definition at line 63 of file L1TriggerRates.h.

References deltaT_.

Referenced by operator<<().

{ return(deltaT_);}
double L1TriggerRates::deltaTActive ( ) const [inline]

Definition at line 64 of file L1TriggerRates.h.

References deltaTActive_.

{ return(deltaTActive_);}
double L1TriggerRates::deltaTRun ( ) const [inline]

Definition at line 65 of file L1TriggerRates.h.

References deltaTRun_.

Referenced by operator<<().

{ return(deltaTRun_);}
double L1TriggerRates::deltaTRunActive ( ) const [inline]

Definition at line 66 of file L1TriggerRates.h.

References deltaTRunActive_.

{ return(deltaTRunActive_);}
bool L1TriggerRates::empty ( ) const [inline]

empty method (= false)

Definition at line 56 of file L1TriggerRates.h.

{ return false; }
double L1TriggerRates::eventNumberRate ( ) const [inline]

Definition at line 72 of file L1TriggerRates.h.

References eventNumberRate_.

Referenced by operator<<().

  { return(eventNumberRate_);}
double L1TriggerRates::eventNumberRunRate ( ) const [inline]

Definition at line 136 of file L1TriggerRates.h.

References eventNumberRunRate_.

Referenced by operator<<().

  { return(eventNumberRunRate_);}
double L1TriggerRates::finalTriggersDistributedRate ( ) const [inline]

Definition at line 77 of file L1TriggerRates.h.

References finalTriggersDistributedRate_.

Referenced by operator<<().

double L1TriggerRates::finalTriggersDistributedRunRate ( ) const [inline]

Definition at line 139 of file L1TriggerRates.h.

References finalTriggersDistributedRunRate_.

Referenced by operator<<().

double L1TriggerRates::finalTriggersGeneratedRate ( ) const [inline]

Definition at line 75 of file L1TriggerRates.h.

References finalTriggersGeneratedRate_.

Referenced by operator<<().

double L1TriggerRates::finalTriggersGeneratedRunRate ( ) const [inline]

Definition at line 142 of file L1TriggerRates.h.

References finalTriggersGeneratedRunRate_.

Referenced by operator<<().

double L1TriggerRates::finalTriggersInvalidBCPercent ( ) const [inline]

Definition at line 116 of file L1TriggerRates.h.

References finalTriggersInvalidBCPercent_.

Referenced by operator<<().

double L1TriggerRates::finalTriggersInvalidBCRunPercent ( ) const [inline]

Definition at line 181 of file L1TriggerRates.h.

References finalTriggersInvalidBCRunPercent_.

Referenced by operator<<().

double L1TriggerRates::lostFinalTriggersActivePercent ( ) const [inline]

Definition at line 122 of file L1TriggerRates.h.

References lostFinalTriggersActivePercent_.

Referenced by operator<<().

double L1TriggerRates::lostFinalTriggersActiveRunPercent ( ) const [inline]

Definition at line 187 of file L1TriggerRates.h.

References lostFinalTriggersActiveRunPercent_.

Referenced by operator<<().

double L1TriggerRates::lostFinalTriggersPercent ( ) const [inline]

Definition at line 119 of file L1TriggerRates.h.

References lostFinalTriggersPercent_.

Referenced by operator<<().

double L1TriggerRates::lostFinalTriggersRunPercent ( ) const [inline]

Definition at line 184 of file L1TriggerRates.h.

References lostFinalTriggersRunPercent_.

Referenced by operator<<().

std::string L1TriggerRates::name ( ) const [inline]

name method

Definition at line 53 of file L1TriggerRates.h.

{ return "L1TriggerRates"; }
double L1TriggerRates::numberResetsRate ( ) const [inline]

Definition at line 92 of file L1TriggerRates.h.

References numberResetsRate_.

Referenced by operator<<().

  { return(numberResetsRate_);}
double L1TriggerRates::numberResetsRunRate ( ) const [inline]

Definition at line 157 of file L1TriggerRates.h.

References numberResetsRunRate_.

Referenced by operator<<().

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

inequality operator

Definition at line 200 of file L1TriggerRates.h.

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

equality operator

Definition at line 197 of file L1TriggerRates.h.

{ return false; }
double L1TriggerRates::orbitNumberRate ( ) const [inline]

Definition at line 89 of file L1TriggerRates.h.

References orbitNumberRate_.

Referenced by operator<<().

  { return(orbitNumberRate_);}
double L1TriggerRates::orbitNumberRunRate ( ) const [inline]

Definition at line 154 of file L1TriggerRates.h.

References orbitNumberRunRate_.

Referenced by operator<<().

  { return(orbitNumberRunRate_);}
double L1TriggerRates::randomTriggersRate ( ) const [inline]

Definition at line 80 of file L1TriggerRates.h.

References randomTriggersRate_.

Referenced by operator<<().

  { return(randomTriggersRate_);}
double L1TriggerRates::randomTriggersRunRate ( ) const [inline]

Definition at line 145 of file L1TriggerRates.h.

References randomTriggersRunRate_.

Referenced by operator<<().

std::vector<double> L1TriggerRates::testTriggersRate ( ) const [inline]

Definition at line 129 of file L1TriggerRates.h.

References testTriggersRate_.

Referenced by operator<<().

  { return(testTriggersRate_);}
std::vector<double> L1TriggerRates::testTriggersRunRate ( ) const [inline]

Definition at line 193 of file L1TriggerRates.h.

References testTriggersRunRate_.

  { return(testTriggersRunRate_);}
double L1TriggerRates::totalTestTriggersRate ( ) const [inline]

Definition at line 86 of file L1TriggerRates.h.

References totalTestTriggersRate_.

Referenced by operator<<().

double L1TriggerRates::totalTestTriggersRunRate ( ) const [inline]

Definition at line 151 of file L1TriggerRates.h.

References totalTestTriggersRunRate_.

Referenced by operator<<().

double L1TriggerRates::triggerNumberRate ( ) const [inline]

Definition at line 69 of file L1TriggerRates.h.

References triggerNumberRate_.

Referenced by operator<<().

  { return(triggerNumberRate_);}
double L1TriggerRates::triggerNumberRunRate ( ) const [inline]

Definition at line 133 of file L1TriggerRates.h.

References triggerNumberRunRate_.

Referenced by operator<<().

  { return(triggerNumberRunRate_);}
std::vector<double> L1TriggerRates::triggersRate ( ) const [inline]

Definition at line 128 of file L1TriggerRates.h.

References triggersRate_.

Referenced by operator<<().

{ return(triggersRate_);}
std::vector<double> L1TriggerRates::triggersRunRate ( ) const [inline]

Definition at line 190 of file L1TriggerRates.h.

References triggersRunRate_.

Referenced by operator<<().

  { return(triggersRunRate_);}
int L1TriggerRates::version ( ) const [inline]

get the data

Definition at line 60 of file L1TriggerRates.h.

References version_.

Referenced by operator<<().

{ return(version_);}

Member Data Documentation

Definition at line 215 of file L1TriggerRates.h.

Referenced by calibrationTriggersRate(), and computeRates().

Definition at line 241 of file L1TriggerRates.h.

Referenced by calibrationTriggersRunRate(), and computeRunRates().

Definition at line 256 of file L1TriggerRates.h.

Referenced by collectionTimeDetails(), and computeRunRates().

Definition at line 205 of file L1TriggerRates.h.

Referenced by collectionTimeSummary(), and computeRunRates().

Definition at line 221 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveCalibrationPercent().

Definition at line 247 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveCalibrationRunPercent().

Definition at line 223 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePartitionPercent().

Definition at line 249 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePartitionRunPercent().

Definition at line 220 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePercent().

Definition at line 222 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActivePrivatePercent().

Definition at line 248 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActivePrivateRunPercent().

Definition at line 246 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveRunPercent().

Definition at line 224 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveThrottlePercent().

Definition at line 250 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveThrottleRunPercent().

Definition at line 225 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimeActiveTimeSlotPercent().

Definition at line 251 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeActiveTimeSlotRunPercent().

Definition at line 219 of file L1TriggerRates.h.

Referenced by computeRates(), and deadTimePercent().

Definition at line 245 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deadTimeRunPercent().

double L1TriggerRates::deltaT_ [protected]

Definition at line 207 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaT().

double L1TriggerRates::deltaTActive_ [protected]

Definition at line 208 of file L1TriggerRates.h.

Referenced by computeRates(), and deltaTActive().

double L1TriggerRates::deltaTRun_ [protected]

Definition at line 233 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRun().

Definition at line 234 of file L1TriggerRates.h.

Referenced by computeRunRates(), and deltaTRunActive().

Definition at line 211 of file L1TriggerRates.h.

Referenced by computeRates(), and eventNumberRate().

Definition at line 237 of file L1TriggerRates.h.

Referenced by computeRunRates(), and eventNumberRunRate().

Definition at line 212 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersDistributedRate().

Definition at line 238 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersDistributedRunRate().

Definition at line 213 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersGeneratedRate().

Definition at line 239 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersGeneratedRunRate().

Definition at line 226 of file L1TriggerRates.h.

Referenced by computeRates(), and finalTriggersInvalidBCPercent().

Definition at line 252 of file L1TriggerRates.h.

Referenced by computeRunRates(), and finalTriggersInvalidBCRunPercent().

Definition at line 228 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersActivePercent().

Definition at line 254 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersActiveRunPercent().

Definition at line 227 of file L1TriggerRates.h.

Referenced by computeRates(), and lostFinalTriggersPercent().

Definition at line 253 of file L1TriggerRates.h.

Referenced by computeRunRates(), and lostFinalTriggersRunPercent().

Definition at line 218 of file L1TriggerRates.h.

Referenced by computeRates(), and numberResetsRate().

Definition at line 244 of file L1TriggerRates.h.

Referenced by computeRunRates(), and numberResetsRunRate().

Definition at line 217 of file L1TriggerRates.h.

Referenced by computeRates(), and orbitNumberRate().

Definition at line 243 of file L1TriggerRates.h.

Referenced by computeRunRates(), and orbitNumberRunRate().

Definition at line 214 of file L1TriggerRates.h.

Referenced by computeRates(), and randomTriggersRate().

Definition at line 240 of file L1TriggerRates.h.

Referenced by computeRunRates(), and randomTriggersRunRate().

std::vector<double> L1TriggerRates::testTriggersRate_ [protected]

Definition at line 231 of file L1TriggerRates.h.

Referenced by computeRates(), and testTriggersRate().

std::vector<double> L1TriggerRates::testTriggersRunRate_ [protected]

Definition at line 258 of file L1TriggerRates.h.

Referenced by testTriggersRunRate().

Definition at line 216 of file L1TriggerRates.h.

Referenced by computeRates(), and totalTestTriggersRate().

Definition at line 242 of file L1TriggerRates.h.

Referenced by computeRunRates(), and totalTestTriggersRunRate().

Definition at line 210 of file L1TriggerRates.h.

Referenced by computeRates(), and triggerNumberRate().

Definition at line 236 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggerNumberRunRate().

std::vector<double> L1TriggerRates::triggersRate_ [protected]

Definition at line 230 of file L1TriggerRates.h.

Referenced by computeRates(), and triggersRate().

std::vector<double> L1TriggerRates::triggersRunRate_ [protected]

Definition at line 257 of file L1TriggerRates.h.

Referenced by computeRunRates(), and triggersRunRate().

int L1TriggerRates::version_ [protected]

Definition at line 204 of file L1TriggerRates.h.

Referenced by computeRunRates(), and version().