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 |
QError ChannelManager::SetMasked | ( | int | ch, | |
bool | isMasked = true | |||
) |
Set Mask status for channel ch.
channel |
QError ChannelManager::SetReference | ( | int | ch, | |
double | ref, | |||
double | refmin, | |||
double | refmax | |||
) |
Set Reference for channel ch.
channel,reference,minreference,maxreference |
bool ChannelManager::GetIsMasked | ( | int | ch | ) | const [inline] |
Get Mask status.
channel |
bool ChannelManager::GetIsActive | ( | int | ch | ) | const [inline] |
Get Active status.
channel |
ChProperty ChannelManager::GetChannelProperty | ( | int | ch | ) | const [inline] |
Get channel property (active,mask,ref, refmin,refmax, floor) s for channel ch.
channel |
QError ChannelManager::GetReference | ( | int | ch, | |
double & | ref, | |||
double & | RefMin, | |||
double & | RefMax | |||
) |
Get reference for channel ch.
channel |
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 |