CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
ApvLatencyAnalysis Class Reference

Analysis for APV latency scan. More...

#include <ApvLatencyAnalysis.h>

Inheritance diagram for ApvLatencyAnalysis:
CommissioningAnalysis

Public Member Functions

 ApvLatencyAnalysis (const uint32_t &key)
 
 ApvLatencyAnalysis ()
 
const uint16_t & latency () const
 
void print (std::stringstream &, uint32_t not_used=0) override
 
void reset () override
 
 ~ApvLatencyAnalysis () override
 
- Public Member Functions inherited from CommissioningAnalysis
virtual void addErrorCode (const std::string &error)
 
 CommissioningAnalysis (const uint32_t &key, const std::string &my_name)
 
 CommissioningAnalysis (const std::string &my_name)
 
const uint32_t & dcuId () const
 
void dcuId (const uint32_t &)
 
const uint32_t & detId () const
 
void detId (const uint32_t &)
 
const uint32_t & fecKey () const
 
void fecKey (const uint32_t &)
 
const uint32_t & fedKey () const
 
void fedKey (const uint32_t &)
 
const VStringgetErrorCodes () const
 
virtual void header (std::stringstream &) const
 
virtual bool isValid () const
 
const std::string & myName () const
 
void setErrorCodes (const VString &errors)
 
virtual void summary (std::stringstream &) const
 
virtual ~CommissioningAnalysis ()
 

Private Attributes

uint16_t latency_
 

Friends

class ApvLatencyAlgorithm
 

Additional Inherited Members

- Public Types inherited from CommissioningAnalysis
typedef std::vector< bool > VBool
 
typedef std::vector< float > VFloat
 
typedef std::vector< uint16_t > VInt
 
typedef std::vector< std::string > VString
 
typedef std::vector< VBoolVVBool
 
typedef std::vector< VFloatVVFloat
 
typedef std::vector< VIntVVInt
 

Detailed Description

Analysis for APV latency scan.

Author
M. Wingham, R.Bainbridge

Definition at line 15 of file ApvLatencyAnalysis.h.

Constructor & Destructor Documentation

◆ ApvLatencyAnalysis() [1/2]

ApvLatencyAnalysis::ApvLatencyAnalysis ( const uint32_t &  key)

Definition at line 12 of file ApvLatencyAnalysis.cc.

13  : CommissioningAnalysis(key, "ApvLatencyAnalysis"), latency_(sistrip::invalid_) {
14  ;
15 }
key
prepare the HTCondor submission files and eventually submit them
static const uint16_t invalid_
Definition: Constants.h:16

◆ ApvLatencyAnalysis() [2/2]

ApvLatencyAnalysis::ApvLatencyAnalysis ( )

Definition at line 19 of file ApvLatencyAnalysis.cc.

19  : CommissioningAnalysis("ApvLatencyAnalysis"), latency_(sistrip::invalid_) {
20  ;
21 }
static const uint16_t invalid_
Definition: Constants.h:16

◆ ~ApvLatencyAnalysis()

ApvLatencyAnalysis::~ApvLatencyAnalysis ( )
inlineoverride

Definition at line 21 of file ApvLatencyAnalysis.h.

21 { ; }

Member Function Documentation

◆ latency()

const uint16_t & ApvLatencyAnalysis::latency ( ) const
inline

Definition at line 36 of file ApvLatencyAnalysis.h.

References latency_.

36 { return latency_; }

◆ print()

void ApvLatencyAnalysis::print ( std::stringstream &  ,
uint32_t  not_used = 0 
)
overridevirtual

Prints analysis results.

Implements CommissioningAnalysis.

Definition at line 29 of file ApvLatencyAnalysis.cc.

References CommissioningAnalysis::header(), latency_, and contentValuesCheck::ss.

29  {
30  header(ss);
31  ss << " APV latency setting : " << latency_ << "\n";
32 }
virtual void header(std::stringstream &) const

◆ reset()

void ApvLatencyAnalysis::reset ( )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 25 of file ApvLatencyAnalysis.cc.

References sistrip::invalid_, and latency_.

Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().

static const uint16_t invalid_
Definition: Constants.h:16

Friends And Related Function Documentation

◆ ApvLatencyAlgorithm

friend class ApvLatencyAlgorithm
friend

Definition at line 23 of file ApvLatencyAnalysis.h.

Member Data Documentation

◆ latency_

uint16_t ApvLatencyAnalysis::latency_
private

APV latency setting

Definition at line 33 of file ApvLatencyAnalysis.h.

Referenced by latency(), print(), and reset().