|
CEDRIC
Revision_backup-2009-02
|
Singleton holding current Phast instance plus some comfort getters. More...
#include <PhastInterface.h>
Public Types | |
| typedef std::list< std::string > | NameList |
Public Member Functions | |
| std::list< int > | getDetectorsByPrefix (const std::string &prefix) const |
| void | getDetectorNames (std::list< std::string > &names) const |
| Fill a list with all detector names. More... | |
| Phast * | phast () |
| bool | openMDST (std::string filename) |
| bool | loadEvent (int i) |
| double | getRICHRefractiveIndex (bool &fromMetaDB) const |
Singleton implementation | |
| static PhastInterface & | ref () |
Singleton holding current Phast instance plus some comfort getters.
You can access this singletons comfort getters by calling e.g.:
You can access the Phast object itself by e.g.:
| typedef std::list<std::string> PhastInterface::NameList |
| void PhastInterface::getDetectorNames | ( | std::list< std::string > & | names | ) | const |
Fill a list with all detector names.
Referenced by VisTrackDetectors::filter().
| std::list< int > PhastInterface::getDetectorsByPrefix | ( | const std::string & | prefix | ) | const |
| double PhastInterface::getRICHRefractiveIndex | ( | bool & | fromMetaDB | ) | const |
Return RICH Refractive Index
| [out] | fromMetaDB | indicates wether the index stems from MetaDB or PaSetup |
Referenced by ParticleTreeWidget::updateContent().
| bool PhastInterface::loadEvent | ( | int | i | ) |
Referenced by createSignaturesAll().
| bool PhastInterface::openMDST | ( | std::string | filename | ) |
|
inline |
Referenced by EventMultiViewer::createClusterVisPerspective(), createSignaturesAll(), VisTrackDetectors::filter(), QPhastInterface::getCalorimeter(), QPhastInterface::getCalorimetersByRegExp(), QPhastInterface::getDetector(), QPhastInterface::getDetectorsByRegExp(), EventDiscriminator::isPhysicalTrack(), MainWindow::loadSetup(), MainWindow::MainWindow(), MainWindow::openRootFile(), EventMultiViewer::requestView(), MainWindow::selectEvent(), and VisCaloCluster::visNode().
|
inlinestatic |
Referenced by EventMultiViewer::createClusterVisPerspective(), createSignaturesAll(), VisTrackDetectors::filter(), QPhastInterface::getCalorimeter(), QPhastInterface::getCalorimetersByRegExp(), QPhastInterface::getDetector(), QPhastInterface::getDetectorsByRegExp(), EventDiscriminator::isPhysicalTrack(), MainWindow::loadSetup(), MainWindow::MainWindow(), MainWindow::openRootFile(), EventMultiViewer::requestView(), MainWindow::selectEvent(), ParticleTreeWidget::updateContent(), and VisCaloCluster::visNode().
1.8.6