CFEL - ASG Software Suite
2.5.0
CASS
|
Classes | |
struct | deleteObsoleteHistogram |
delete all root histograms that are not on the list More... | |
class | TCPClient |
the tcp client that connects to the cass server More... | |
struct | updateHist |
create the list of updateable histograms from all available keys More... | |
struct | writeObject |
write the object to file More... | |
Functions | |
void | updateCanvases (TSeqCollection *list) |
update the contents of the canvases More... | |
void | iterateListAndAddDisplayedHistograms (TSeqCollection *list, std::list< string > &updateList) |
iteratively go through canvas list and find histgrams More... | |
list< string > | checkList (const list< string > &allkeys) |
create the list of updateable histograms from all available keys More... | |
bool | operator== (const cass::Result< float >::axe_t &ca, const TAxis &ra) |
comapre axis for equalitiy More... | |
bool | operator!= (const cass::Result< float >::axe_t &ca, const TAxis &ra) |
comapre axis for inequality More... | |
list<string> lucassview::checkList | ( | const list< string > & | allkeys | ) |
create the list of updateable histograms from all available keys
First add all cass histograms that are not present as root histograms. Then go through all canvases and add the histograms that are shown in them and add them to the list returned. For this one must go through all canvases and the pads within the canvases. The pads contain the histograms.
allkeys | all available keys on the server |
Definition at line 147 of file histo_updater.cpp.
References iterateListAndAddDisplayedHistograms().
Referenced by HistogramUpdater::syncHistograms().
void lucassview::iterateListAndAddDisplayedHistograms | ( | TSeqCollection * | list, |
std::list< string > & | updateList | ||
) |
iteratively go through canvas list and find histgrams
when a histogram is found add it to the updateList, if it is another pad, iterate through its primatives
list | The list of TObjects to iterate through |
updateList | The list containg the names of the found histgrams |
Definition at line 118 of file histo_updater.cpp.
Referenced by checkList().
bool lucassview::operator!= | ( | const cass::Result< float >::axe_t & | ca, |
const TAxis & | ra | ||
) |
comapre axis for inequality
ca | the axis of the cass histogram |
ra | the axis of the root histogram |
Definition at line 249 of file histo_updater.cpp.
bool lucassview::operator== | ( | const cass::Result< float >::axe_t & | ca, |
const TAxis & | ra | ||
) |
comapre axis for equalitiy
check whether the cass histogram axis and the root histogram axis are the same. Test for number of bins, low and high ends and the title of the axis.
ca | the axis of the cass histogram |
ra | the axis of the root histogram |
Definition at line 233 of file histo_updater.cpp.
References cass::Axis< T >::low, cass::Axis< T >::nBins, cass::Axis< T >::title, and cass::Axis< T >::up.
void lucassview::updateCanvases | ( | TSeqCollection * | list | ) |
update the contents of the canvases
recursively iterate through lists if object is a pad, update it and iterate through its primitives.
list | the list of TObjects to iterate through |
Definition at line 50 of file histo_updater.cpp.
Referenced by HistogramUpdater::syncHistograms().