Public Member Functions | |
| ChannelManager (const std::vector< int > &boloList, const std::vector< int > &activeChannels) | |
| Constructor. | |
| ChannelManager (const std::vector< int > &boloList, const std::vector< int > &activeChannels, const std::multimap< int, int > &FloorChannel) | |
| Constructor. | |
| virtual | ~ChannelManager () |
| Destructor. | |
| QError | SetMasked (const std::vector< int > &maskedList) |
| Set Mask status Channels. | |
| QError | SetMasked (const QMatrix &matrix) |
| Set Mask status Channels. | |
| QError | SetMasked (int ch, bool isMasked=true) |
| Set Mask status for channel ch. | |
| QError | SetReference (int ch, double ref, double refmin, double refmax) |
| Set Reference for channel ch. | |
| QError | SetReference (const QMatrix &matrix) |
| Set Reference. | |
| bool | GetIsMasked (int ch) const |
| Get Mask status. | |
| bool | GetIsActive (int ch) const |
| Get Active status. | |
| ChProperty | GetChannelProperty (int ch) const |
| Get channel property (active,mask,ref, refmin,refmax, floor) s for channel ch. | |
| std::vector< ChProperty > | GetActiveChannels (bool isActive=true) |
| Get vector with active channels. | |
| std::vector< ChProperty > | GetMasked (bool isMasked=true) |
| Get vector with masked channels. | |
| QError | GetReference (int ch, double &ref, double &RefMin, double &RefMax) |
| Get reference for channel ch. | |
| double | GetMaxReference () |
| std::map< std::string, TObject * > | CreateReferencePlot (char *VariableName, const QVector &VariableValue, const int binSeparation) |
| return a Map reference obcjest(TGrapgh and arrows) | |
Private Attributes | |
| std::map< int, ChProperty > | fChannels |
| map of channel property | |
| std::multimap< int, int > | fFloorChannel |
Classes | |
| struct | ChProperty |
| Structure of Channel Property active status mask status reference min reference max reference. More... | |
| QError ChannelManager::SetMasked | ( | const std::vector< int > & | maskedList | ) |
Set Mask status Channels.
| vector | of masked channels |
References fChannels, QError::GetDescription(), and QError::SetDescription().
Referenced by MDetermineHeaterProperties::Do(), MCheckTimeBehaviour::Do(), MCheckOffsetAndSat::Do(), MCheckHeaterDAQ::Do(), and SetMasked().
| QError ChannelManager::SetMasked | ( | const QMatrix & | matrix | ) |
Set Mask status Channels.
| QMatrix | (channel, mask status) |
References fChannels, QError::GetDescription(), QError::SetDescription(), and SetMasked().
| QError ChannelManager::SetMasked | ( | int | ch, | |
| bool | isMasked = true | |||
| ) |
| QError ChannelManager::SetReference | ( | int | ch, | |
| double | ref, | |||
| double | refmin, | |||
| double | refmax | |||
| ) |
Set Reference for channel ch.
| channel,reference,minreference,maxreference |
References fChannels, QError::GetDescription(), and QError::SetDescription().
Referenced by MCheckTimeBehaviour::Do(), and SetReference().
| QError ChannelManager::SetReference | ( | const QMatrix & | matrix | ) |
Set Reference.
| QMatrix | (channel, Ref, RefMin, RefMax) |
References fChannels, QError::GetDescription(), QError::SetDescription(), and SetReference().
| bool ChannelManager::GetIsMasked | ( | int | ch | ) | const [inline] |
Get Mask status.
| channel |
References fChannels.
Referenced by CreateReferencePlot(), MCheckHeaterDAQ::Do(), MDetermineHeaterProperties::Done(), MCheckTimeBehaviour::Done(), and MCheckOffsetAndSat::Done().
| bool ChannelManager::GetIsActive | ( | int | ch | ) | const [inline] |
Get Active status.
| channel |
References fChannels.
Referenced by CreateReferencePlot(), MCheckTimeBehaviour::Do(), MCheckHeaterDAQ::Do(), MDetermineHeaterProperties::Done(), MCheckTimeBehaviour::Done(), and MCheckOffsetAndSat::Done().
| ChProperty ChannelManager::GetChannelProperty | ( | int | ch | ) | const [inline] |
Get channel property (active,mask,ref, refmin,refmax, floor) s for channel ch.
| channel |
References fChannels.
| QError ChannelManager::GetReference | ( | int | ch, | |
| double & | ref, | |||
| double & | RefMin, | |||
| double & | RefMax | |||
| ) |
Get reference for channel ch.
| channel |
References fChannels.
Referenced by CreateReferencePlot().
| std::map< std::string, TObject * > ChannelManager::CreateReferencePlot | ( | char * | VariableName, | |
| const QVector & | VariableValue, | |||
| const int | binSeparation | |||
| ) |
return a Map reference obcjest(TGrapgh and arrows)
| char | Variable Name | |
| Qvector | VariableValue | |
| channel | on floor int inSeparation |
References GetIsActive(), GetIsMasked(), and GetReference().
1.5.6