TPCCondData
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
tpcconddata::ExtendedAltroParameters Class Reference

#include <ExtendedAltroParameters.h>

Inheritance diagram for tpcconddata::ExtendedAltroParameters:

Classes

struct  ExtendedAltroData
 

Public Types

enum  GainSettings { MV12 = 0, MV15 = 1, MV19 = 2, MV27 = 3 }
 Enumerator to store the available settings of the gain and match them with an human readable name. More...
 
enum  ShapingSettings { NS30 = 7, NS60 = 3, NS90 = 1, NS120 = 0 }
 Enumerator to store the available settings of the Shaping Time and match them with an human readable name. More...
 

Public Member Functions

 ExtendedAltroParameters (ExtendedAltroData &Data)
 Convenient constructor to set all the data using the ExtendedAltroData structure to collect the data. More...
 
 ExtendedAltroParameters (EVENT::LCObject *obj)
 Database copy constructor. More...
 
 ~ExtendedAltroParameters ()
 Destructor. More...
 
void SetData (ExtendedAltroData &Data)
 Sets all the data at the same time. More...
 
ExtendedAltroData GetData () const
 Retrieves all the data in a single structure. More...
 
void SetPreampEnable (bool &Enable)
 Single element setters. More...
 
void SetGainSettings (GainSettings &Gain)
 
void SetShapingTime (ShapingSettings &ShapingTime)
 
void SetShutdown (bool &Shutdown)
 
void SetZSThreshold (int &Threshold)
 
void SetZSGlitchFilter (int &MinSamples)
 
void SetPreSamples (int &PreSamples)
 
void SetPostSamples (int &PostSamples)
 
void SetPreTriggerSamples (int &PreTriggerSamples)
 
void SetRCUAddress (int &RCUAddress)
 
void SetRCUFWVersion (int &RCUFWVersion)
 
void SetRCUActiveFECA (int &RCUActiveFECA)
 
void SetRCUActiveFECB (int &RCUActiveFECB)
 
void SetRCUConfigRegister1 (int &RCUConfigRegister1)
 
void SetRCUConfigRegister2 (int &RCUConfigRegister2)
 
void SetRCUStatusErrors (int &RCUStatusErrors)
 
bool GetPreampEnable () const
 Single element Getters. More...
 
GainSettings GetGainSettings () const
 
ShapingSettings GetShapingTime () const
 
bool GetShutdown () const
 
int GetZSThreshold () const
 
int GetZSGlitchFilter () const
 
int GetPreSamples () const
 
int GetPostSamples () const
 
int GetPreTriggerSamples () const
 
int GetRCUAddress () const
 
int GetRCUFWVersion () const
 
int GetRCUActiveFECA () const
 
int GetRCUActiveFECB () const
 
int GetRCUConfigRegister1 () const
 
int GetRCUConfigRegister2 () const
 
int GetRCUStatusErrors () const
 
void print (std::ostream &os=std::cout) const
 Prints a summary of the data. More...
 
const std::string getTypeName () const
 Defines the type name used for the Condition Database. More...
 
const std::string getDataDescription () const
 Defines the data description in the standard condDB format. More...
 

Static Public Member Functions

static std::string getRevision ()
 Retrieves the version of this condition object. More...
 
static std::string getDefaultColName ()
 Default name for the collection of this type. More...
 

Detailed Description

Definition at line 46 of file ExtendedAltroParameters.h.

Member Enumeration Documentation

Enumerator to store the available settings of the gain and match them with an human readable name.

Enumerator
MV12 
MV15 
MV19 
MV27 

Definition at line 53 of file ExtendedAltroParameters.h.

Enumerator to store the available settings of the Shaping Time and match them with an human readable name.

Enumerator
NS30 
NS60 
NS90 
NS120 

Definition at line 59 of file ExtendedAltroParameters.h.

Constructor & Destructor Documentation

tpcconddata::ExtendedAltroParameters::ExtendedAltroParameters ( ExtendedAltroData Data)

Convenient constructor to set all the data using the ExtendedAltroData structure to collect the data.

Definition at line 18 of file ExtendedAltroParameters.cc.

tpcconddata::ExtendedAltroParameters::ExtendedAltroParameters ( EVENT::LCObject *  obj)

Database copy constructor.

Allows the upcasting from the generic LCObject retrieved from the database to the specific type

Parameters
obj

Definition at line 23 of file ExtendedAltroParameters.cc.

tpcconddata::ExtendedAltroParameters::~ExtendedAltroParameters ( )

Destructor.

(Not virtual I don't want this class to be extended)

Definition at line 29 of file ExtendedAltroParameters.cc.

Member Function Documentation

ExtendedAltroParameters::ExtendedAltroData tpcconddata::ExtendedAltroParameters::GetData ( ) const

Retrieves all the data in a single structure.

Returns

Definition at line 56 of file ExtendedAltroParameters.cc.

const std::string tpcconddata::ExtendedAltroParameters::getDataDescription ( ) const

Defines the data description in the standard condDB format.

Returns

Definition at line 351 of file ExtendedAltroParameters.cc.

std::string tpcconddata::ExtendedAltroParameters::getDefaultColName ( )
static

Default name for the collection of this type.

Returns

Definition at line 318 of file ExtendedAltroParameters.cc.

ExtendedAltroParameters::GainSettings tpcconddata::ExtendedAltroParameters::GetGainSettings ( ) const

Definition at line 222 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetPostSamples ( ) const

Definition at line 258 of file ExtendedAltroParameters.cc.

bool tpcconddata::ExtendedAltroParameters::GetPreampEnable ( ) const

Single element Getters.

The description of the data is in the general class description

Definition at line 216 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetPreSamples ( ) const

Definition at line 252 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetPreTriggerSamples ( ) const

Definition at line 264 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUActiveFECA ( ) const

Definition at line 282 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUActiveFECB ( ) const

Definition at line 288 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUAddress ( ) const

Definition at line 270 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUConfigRegister1 ( ) const

Definition at line 294 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUConfigRegister2 ( ) const

Definition at line 300 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUFWVersion ( ) const

Definition at line 276 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetRCUStatusErrors ( ) const

Definition at line 306 of file ExtendedAltroParameters.cc.

std::string tpcconddata::ExtendedAltroParameters::getRevision ( )
static

Retrieves the version of this condition object.

Returns

Definition at line 312 of file ExtendedAltroParameters.cc.

ExtendedAltroParameters::ShapingSettings tpcconddata::ExtendedAltroParameters::GetShapingTime ( ) const

Definition at line 228 of file ExtendedAltroParameters.cc.

bool tpcconddata::ExtendedAltroParameters::GetShutdown ( ) const

Definition at line 234 of file ExtendedAltroParameters.cc.

const std::string tpcconddata::ExtendedAltroParameters::getTypeName ( ) const

Defines the type name used for the Condition Database.

Returns

Definition at line 345 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetZSGlitchFilter ( ) const

Definition at line 246 of file ExtendedAltroParameters.cc.

int tpcconddata::ExtendedAltroParameters::GetZSThreshold ( ) const

Definition at line 240 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::print ( std::ostream &  os = std::cout) const

Prints a summary of the data.

Parameters
osOutput stream where to write the summary

Definition at line 324 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetData ( ExtendedAltroData Data)

Sets all the data at the same time.

Parameters
Data

Definition at line 35 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetGainSettings ( GainSettings Gain)

Definition at line 86 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetPostSamples ( int &  PostSamples)

Definition at line 146 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetPreampEnable ( bool &  Enable)

Single element setters.

The description of the different data is in the general class description

Definition at line 80 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetPreSamples ( int &  PreSamples)

Definition at line 132 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetPreTriggerSamples ( int &  PreTriggerSamples)

Definition at line 160 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUActiveFECA ( int &  RCUActiveFECA)

Definition at line 186 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUActiveFECB ( int &  RCUActiveFECB)

Definition at line 192 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUAddress ( int &  RCUAddress)

Definition at line 174 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUConfigRegister1 ( int &  RCUConfigRegister1)

Definition at line 198 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUConfigRegister2 ( int &  RCUConfigRegister2)

Definition at line 204 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUFWVersion ( int &  RCUFWVersion)

Definition at line 180 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetRCUStatusErrors ( int &  RCUStatusErrors)

Definition at line 210 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetShapingTime ( ShapingSettings ShapingTime)

Definition at line 92 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetShutdown ( bool &  Shutdown)

Definition at line 98 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetZSGlitchFilter ( int &  MinSamples)

Definition at line 118 of file ExtendedAltroParameters.cc.

void tpcconddata::ExtendedAltroParameters::SetZSThreshold ( int &  Threshold)

Definition at line 104 of file ExtendedAltroParameters.cc.


The documentation for this class was generated from the following files: