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::ApvLatencyAnalysis ( const uint32_t &  key)

Definition at line 12 of file ApvLatencyAnalysis.cc.

13  : CommissioningAnalysis(key,"ApvLatencyAnalysis"),
15 {;}
static const uint16_t invalid_
Definition: Constants.h:16
ApvLatencyAnalysis::ApvLatencyAnalysis ( )

Definition at line 19 of file ApvLatencyAnalysis.cc.

20  : CommissioningAnalysis("ApvLatencyAnalysis"),
22 {;}
static const uint16_t invalid_
Definition: Constants.h:16
ApvLatencyAnalysis::~ApvLatencyAnalysis ( )
inlineoverride

Definition at line 23 of file ApvLatencyAnalysis.h.

23 {;}

Member Function Documentation

const uint16_t & ApvLatencyAnalysis::latency ( ) const
inline

Definition at line 40 of file ApvLatencyAnalysis.h.

References latency_.

40 { return latency_; }
void ApvLatencyAnalysis::print ( std::stringstream &  ,
uint32_t  not_used = 0 
)
overridevirtual

Prints analysis results.

Implements CommissioningAnalysis.

Definition at line 32 of file ApvLatencyAnalysis.cc.

References CommissioningAnalysis::header(), and latency_.

32  {
33  header( ss );
34  ss << " APV latency setting : " << latency_ << "\n";
35 }
virtual void header(std::stringstream &) const
void ApvLatencyAnalysis::reset ( )
overridevirtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 26 of file ApvLatencyAnalysis.cc.

References sistrip::invalid_, and latency_.

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

26  {
28 }
static const uint16_t invalid_
Definition: Constants.h:16

Friends And Related Function Documentation

friend class ApvLatencyAlgorithm
friend

Definition at line 25 of file ApvLatencyAnalysis.h.

Member Data Documentation

uint16_t ApvLatencyAnalysis::latency_
private

APV latency setting

Definition at line 36 of file ApvLatencyAnalysis.h.

Referenced by ApvLatencyAlgorithm::analyse(), latency(), print(), and reset().