8 #ifndef EXTENDEDALTROPARAMETERS_H_
9 #define EXTENDEDALTROPARAMETERS_H_
17 #include "UTIL/LCFixedObject.h"
43 static const int EXTENDEDALTROPARSNFLOAT = 0;
44 static const int EXTENDEDALTROPARSNDOUBLE = 0;
46 class ExtendedAltroParameters :
public lcio::LCFixedObject<EXTENDEDALTROPARSNINT, EXTENDEDALTROPARSNFLOAT ,EXTENDEDALTROPARSNDOUBLE>
71 int PreTriggerSamples;
76 int RCUConfigRegister1;
77 int RCUConfigRegister2;
94 RCUConfigRegister1(0),
95 RCUConfigRegister2(0),
138 void SetShutdown(
bool& Shutdown);
139 void SetZSThreshold(
int& Threshold);
140 void SetZSGlitchFilter(
int &MinSamples);
141 void SetPreSamples(
int& PreSamples);
142 void SetPostSamples(
int& PostSamples);
143 void SetPreTriggerSamples(
int& PreTriggerSamples);
144 void SetRCUAddress(
int& RCUAddress);
145 void SetRCUFWVersion(
int& RCUFWVersion);
146 void SetRCUActiveFECA(
int& RCUActiveFECA);
147 void SetRCUActiveFECB(
int& RCUActiveFECB);
148 void SetRCUConfigRegister1(
int& RCUConfigRegister1);
149 void SetRCUConfigRegister2(
int& RCUConfigRegister2);
150 void SetRCUStatusErrors(
int& RCUStatusErrors);
159 bool GetShutdown()
const ;
160 int GetZSThreshold()
const ;
161 int GetZSGlitchFilter()
const;
162 int GetPreSamples()
const ;
163 int GetPostSamples()
const ;
164 int GetPreTriggerSamples()
const ;
165 int GetRCUAddress()
const ;
166 int GetRCUFWVersion()
const ;
167 int GetRCUActiveFECA()
const ;
168 int GetRCUActiveFECB()
const ;
169 int GetRCUConfigRegister1()
const ;
170 int GetRCUConfigRegister2()
const ;
171 int GetRCUStatusErrors()
const ;
189 void print( std::ostream& os = std::cout )
const;
bool operator==(const ExtendedAltroParameters &first, const ExtendedAltroParameters &second)
Comparison operator that compares 1-1 all the internal data.
Definition: ExtendedAltroParameters.cc:365
static std::string getDefaultColName()
Default name for the collection of this type.
Definition: ExtendedAltroParameters.cc:318
ShapingSettings
Enumerator to store the available settings of the Shaping Time and match them with an human readable ...
Definition: ExtendedAltroParameters.h:59
~ExtendedAltroParameters()
Destructor.
Definition: ExtendedAltroParameters.cc:29
void SetData(ExtendedAltroData &Data)
Sets all the data at the same time.
Definition: ExtendedAltroParameters.cc:35
const std::string getDataDescription() const
Defines the data description in the standard condDB format.
Definition: ExtendedAltroParameters.cc:351
Definition: ExtendedAltroParameters.h:61
void print(std::ostream &os=std::cout) const
Prints a summary of the data.
Definition: ExtendedAltroParameters.cc:324
Definition: ExtendedAltroParameters.h:46
ExtendedAltroParameters(ExtendedAltroData &Data)
Convenient constructor to set all the data using the ExtendedAltroData structure to collect the data...
Definition: ExtendedAltroParameters.cc:18
GainSettings
Enumerator to store the available settings of the gain and match them with an human readable name...
Definition: ExtendedAltroParameters.h:53
void SetPreampEnable(bool &Enable)
Single element setters.
Definition: ExtendedAltroParameters.cc:80
static const int EXTENDEDALTROPARSNINT
Class storing to the condDB additional electronics information specific to the ALTRO electronics Prea...
Definition: ExtendedAltroParameters.h:42
bool GetPreampEnable() const
Single element Getters.
Definition: ExtendedAltroParameters.cc:216
ExtendedAltroData GetData() const
Retrieves all the data in a single structure.
Definition: ExtendedAltroParameters.cc:56
static std::string getRevision()
Retrieves the version of this condition object.
Definition: ExtendedAltroParameters.cc:312
const std::string getTypeName() const
Defines the type name used for the Condition Database.
Definition: ExtendedAltroParameters.cc:345