8 #ifndef EXTENDEDALTROPARAMETERS_H_
9 #define EXTENDEDALTROPARAMETERS_H_
17 #include "UTIL/LCFixedObject.h"
46 class ExtendedAltroParameters :
public lcio::LCFixedObject<EXTENDEDALTROPARSNINT, EXTENDEDALTROPARSNFLOAT ,EXTENDEDALTROPARSNDOUBLE>
123 void SetData(ExtendedAltroData& Data);
129 ExtendedAltroData
GetData()
const;
189 void print( std::ostream& os = std::cout )
const;
210 std::ostream &
operator<<(std::ostream &os,
const ExtendedAltroParameters &p);
218 bool operator==(
const ExtendedAltroParameters &first,
const ExtendedAltroParameters &second);
219 bool operator!=(
const ExtendedAltroParameters &first,
const ExtendedAltroParameters &second);
void SetPreTriggerSamples(int &PreTriggerSamples)
void SetRCUStatusErrors(int &RCUStatusErrors)
int GetZSGlitchFilter() const
int GetRCUFWVersion() const
bool operator==(const ExtendedAltroParameters &first, const ExtendedAltroParameters &second)
Comparison operator that compares 1-1 all the internal data.
int GetRCUConfigRegister1() const
bool operator!=(const ExtendedAltroParameters &first, const ExtendedAltroParameters &second)
ShapingSettings ShapingTime
int GetRCUConfigRegister2() const
int GetRCUAddress() const
void SetRCUFWVersion(int &RCUFWVersion)
void SetShapingTime(ShapingSettings &ShapingTime)
static std::string getDefaultColName()
Default name for the collection of this type.
void SetGainSettings(GainSettings &Gain)
ShapingSettings
Enumerator to store the available settings of the Shaping Time and match them with an human readable ...
void SetRCUAddress(int &RCUAddress)
~ExtendedAltroParameters()
Destructor.
int GetPreSamples() const
void SetRCUActiveFECA(int &RCUActiveFECA)
int GetRCUActiveFECA() const
void SetZSThreshold(int &Threshold)
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
int GetZSThreshold() const
void SetRCUActiveFECB(int &RCUActiveFECB)
void SetZSGlitchFilter(int &MinSamples)
void SetData(ExtendedAltroData &Data)
Sets all the data at the same time.
void SetRCUConfigRegister2(int &RCUConfigRegister2)
void SetPreSamples(int &PreSamples)
const std::string getDataDescription() const
Defines the data description in the standard condDB format.
void print(std::ostream &os=std::cout) const
Prints a summary of the data.
void SetRCUConfigRegister1(int &RCUConfigRegister1)
int GetPreTriggerSamples() const
GainSettings GetGainSettings() const
ExtendedAltroParameters(ExtendedAltroData &Data)
Convenient constructor to set all the data using the ExtendedAltroData structure to collect the data...
GainSettings
Enumerator to store the available settings of the gain and match them with an human readable name...
void SetPreampEnable(bool &Enable)
Single element setters.
int GetPostSamples() const
static const int EXTENDEDALTROPARSNINT
Class storing to the condDB additional electronics information specific to the ALTRO electronics Prea...
bool GetPreampEnable() const
Single element Getters.
void SetPostSamples(int &PostSamples)
ExtendedAltroData GetData() const
Retrieves all the data in a single structure.
static std::string getRevision()
Retrieves the version of this condition object.
ShapingSettings GetShapingTime() const
int GetRCUActiveFECB() const
const std::string getTypeName() const
Defines the type name used for the Condition Database.
static const int EXTENDEDALTROPARSNDOUBLE
int GetRCUStatusErrors() const
static const int EXTENDEDALTROPARSNFLOAT
void SetShutdown(bool &Shutdown)