|
MarlinTPC
1.2.0
|
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. | |
| 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. | |
Public Member Functions | |
| ExtendedAltroParameters (ExtendedAltroData &Data) | |
| Convenient constructor to set all the data using the ExtendedAltroData structure to collect the data. | |
| 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... | |
| tpcconddata::ExtendedAltroParameters::ExtendedAltroParameters | ( | EVENT::LCObject * | obj | ) |
Database copy constructor.
Allows the upcasting from the generic LCObject retrieved from the database to the specific type
| obj |
| tpcconddata::ExtendedAltroParameters::~ExtendedAltroParameters | ( | ) |
Destructor.
(Not virtual I don't want this class to be extended)
| ExtendedAltroParameters::ExtendedAltroData tpcconddata::ExtendedAltroParameters::GetData | ( | ) | const |
| const std::string tpcconddata::ExtendedAltroParameters::getDataDescription | ( | void | ) | const |
Defines the data description in the standard condDB format.
|
static |
Default name for the collection of this type.
| bool tpcconddata::ExtendedAltroParameters::GetPreampEnable | ( | ) | const |
Single element Getters.
The description of the data is in the general class description
Referenced by GetData(), tpcconddata::operator==(), and print().
|
static |
Retrieves the version of this condition object.
| const std::string tpcconddata::ExtendedAltroParameters::getTypeName | ( | void | ) | const |
Defines the type name used for the Condition Database.
| void tpcconddata::ExtendedAltroParameters::print | ( | std::ostream & | os = std::cout | ) | const |
Prints a summary of the data.
| os | Output stream where to write the summary |
References GetPreampEnable().
Referenced by tpcconddata::operator<<().
| void tpcconddata::ExtendedAltroParameters::SetData | ( | ExtendedAltroData & | Data | ) |
Sets all the data at the same time.
| Data |
References SetPreampEnable().
Referenced by ExtendedAltroParameters().
| void tpcconddata::ExtendedAltroParameters::SetPreampEnable | ( | bool & | Enable | ) |
Single element setters.
The description of the different data is in the general class description
Referenced by SetData().
1.8.6