|
ATLAS Offline Software
|
#include <VP1RawDataSystem.h>
|
| VP1RawDataSystem () |
|
virtual | ~VP1RawDataSystem () |
|
void | buildEventSceneGraph (StoreGateSvc *sg, SoSeparator *root) |
|
void | systemerase () |
|
void | systemuncreate () |
|
void | userPickedNode (SoNode *pickedNode, SoPath *pickedPath) |
|
virtual QWidget * | buildController () |
|
QByteArray | saveState () |
|
void | restoreFromState (QByteArray) |
|
virtual void | systemcreate (StoreGateSvc *detstore) |
|
void | ensureBuildController () |
|
virtual void | buildPermanentSceneGraph (StoreGateSvc *detstore, SoSeparator *root) |
|
void | updateGUI () |
|
void | warnOnDisabledNotifications () const |
|
void | registerCamera (SoCamera *camera) |
|
void | registerViewer (SoQtViewer *viewer) |
|
void | registerSelectionNode (SoCooperativeSelection *) |
|
void | unregisterSelectionNode (SoCooperativeSelection *) |
|
void | setUserSelectionNotificationsEnabled (SoCooperativeSelection *sel, bool enabled) |
|
virtual void | userSelectedSingleNode (SoCooperativeSelection *, SoNode *, SoPath *) |
|
virtual void | userDeselectedSingleNode (SoCooperativeSelection *, SoNode *, SoPath *) |
|
virtual void | userChangedSelection (SoCooperativeSelection *, QSet< SoNode * >, QSet< SoPath * >) |
|
virtual void | userClickedOnBgd () |
|
virtual void | deselectAll (SoCooperativeSelection *exception_sel=0) |
|
CamList | getCameraList () |
|
virtual QWidget * | buildExtraDisplayWidget () |
|
const QString & | name () const |
|
const QString & | information () const |
|
const QString & | contact_info () const |
|
QWidget * | controllerWidget () |
|
void | message (const QString &) const |
|
void | message (const QStringList &, const QString &addtoend="") const |
|
void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &) const |
|
void | messageDebug (const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &) const |
|
void | messageVerbose (const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
StoreGateSvc * | storeGate () const |
|
StoreGateSvc * | eventStore () const |
|
StoreGateSvc * | detectorStore () const |
|
ISvcLocator * | serviceLocator () const |
|
IToolSvc * | toolSvc () const |
|
State | state () const |
|
ActiveState | activeState () const |
|
Definition at line 23 of file VP1RawDataSystem.h.
◆ CamList
◆ CamListItr
◆ ActiveState
◆ State
Enumerator |
---|
CONSTRUCTED | |
REFRESHED | |
ERASED | |
UNCREATED | |
Definition at line 143 of file IVP1System.h.
◆ VP1RawDataSystem()
VP1RawDataSystem::VP1RawDataSystem |
( |
| ) |
|
Definition at line 72 of file VP1RawDataSystem.cxx.
74 "System showing Raw Data (RDO's, BCM hits, ...)",
75 "Thomas.Kittelmann@cern.ch"),
◆ ~VP1RawDataSystem()
VP1RawDataSystem::~VP1RawDataSystem |
( |
| ) |
|
|
virtual |
◆ activateClickedOutside
void IVP13DSystem::activateClickedOutside |
( |
| ) |
|
|
privateslotinherited |
◆ activeState()
◆ allowUpdateGUI()
void IVP1System::allowUpdateGUI |
( |
| ) |
|
|
privateinherited |
◆ buildController()
QWidget * VP1RawDataSystem::buildController |
( |
| ) |
|
|
virtual |
◆ buildEventSceneGraph()
void VP1RawDataSystem::buildEventSceneGraph |
( |
StoreGateSvc * |
sg, |
|
|
SoSeparator * |
root |
|
) |
| |
|
virtual |
◆ buildExtraDisplayWidget()
virtual QWidget* IVP13DSystem::buildExtraDisplayWidget |
( |
| ) |
|
|
inlinevirtualinherited |
◆ buildPermanentSceneGraph()
void IVP13DSystemSimple::buildPermanentSceneGraph |
( |
StoreGateSvc * |
detstore, |
|
|
SoSeparator * |
root |
|
) |
| |
|
virtualinherited |
◆ channel()
◆ contact_info()
const QString & IVP1System::contact_info |
( |
| ) |
const |
|
inherited |
◆ controllerWidget()
QWidget * IVP1System::controllerWidget |
( |
| ) |
|
|
inherited |
◆ create()
◆ deleteController()
void IVP1System::deleteController |
( |
| ) |
|
|
privateinherited |
◆ deselectAll()
Reimplemented in VP1PrepRawDataSystem.
Definition at line 331 of file IVP13DSystem.cxx.
335 if (
it->second!=
this)
337 if (
it->first!=exception_sel) {
338 if (
it->first->policy.getValue()!=SoCooperativeSelection::SINGLE) {
340 it->first->deselectAll();
343 if (
it->first->getList()->getLength()==1) {
345 SoPath *
path =
static_cast<SoPath*
>(
it->first->getList()->get(0));
347 it->first->deselectAll();
◆ detectorStore()
◆ disallowUpdateGUI()
void IVP1System::disallowUpdateGUI |
( |
| ) |
|
|
privateinherited |
◆ ensureBuildController()
void IVP13DSystemSimple::ensureBuildController |
( |
| ) |
|
|
inherited |
◆ erase()
void IVP13DSystemSimple::erase |
( |
| ) |
|
|
privatevirtualinherited |
◆ eventStore()
◆ getCameraList()
std::set< SoCamera * > IVP13DSystem::getCameraList |
( |
| ) |
|
|
inherited |
Definition at line 395 of file IVP13DSystem.cxx.
400 SoCamera*cam = (*it)->getCamera();
402 cameralist.insert(cam);
◆ getSceneGraph()
SoSeparator * IVP13DSystemSimple::getSceneGraph |
( |
| ) |
const |
|
privatevirtualinherited |
◆ inactiveSystemTurnedActive
void IVP1System::inactiveSystemTurnedActive |
( |
| ) |
|
|
signalinherited |
◆ information()
const QString & IVP1System::information |
( |
| ) |
const |
|
inherited |
◆ isRefreshing()
bool IVP1System::isRefreshing |
( |
| ) |
|
|
privateinherited |
◆ itemFromSystemSelected
void IVP13DSystem::itemFromSystemSelected |
( |
| ) |
|
|
signalinherited |
◆ message() [1/3]
void IVP1System::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void IVP1System::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 400 of file IVP1System.cxx.
402 if (addtostart.isEmpty()) {
406 if (addtoend.isEmpty()) {
◆ message() [3/3]
void IVP1System::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [1/3]
void IVP1System::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void IVP1System::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 416 of file IVP1System.cxx.
418 if (addtostart.isEmpty()) {
422 if (addtoend.isEmpty()) {
◆ messageDebug() [3/3]
void IVP1System::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [1/3]
void IVP1System::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void IVP1System::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
Definition at line 432 of file IVP1System.cxx.
436 if (addtostart.isEmpty()) {
440 if (addtoend.isEmpty()) {
◆ messageVerbose() [3/3]
void IVP1System::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ name()
const QString & IVP1System::name |
( |
| ) |
const |
|
inherited |
◆ needErase
void IVP1System::needErase |
( |
| ) |
|
|
signalinherited |
◆ refresh()
void IVP13DSystemSimple::refresh |
( |
StoreGateSvc * |
storegate | ) |
|
|
privatevirtualinherited |
◆ registerCamera()
void IVP13DSystem::registerCamera |
( |
SoCamera * |
camera | ) |
|
|
inherited |
◆ registerController()
void IVP1System::registerController |
( |
QWidget * |
w | ) |
|
|
protectedinherited |
Definition at line 224 of file IVP1System.cxx.
231 messageVerbose(
"registerController w!=0 = "+QString(
w!=0?
"true":
"false"));
234 message(
"ERROR: Please don't register controllers after create().");
236 message(
"ERROR: Please only register controllers in CONSTRUCTED state.");
238 message(
"ERROR: Attempt to register null controller.");
242 message(
"ERROR: Attempt to register controller twice.");
◆ registerSelectionNode()
Definition at line 257 of file IVP13DSystem.cxx.
260 message(
"registerSelectionNode Error: NULL selection pointer!");
264 message(
"registerSelectionNode Error: Trying to register selection node more than once!");
◆ registerViewer()
void IVP13DSystem::registerViewer |
( |
SoQtViewer * |
viewer | ) |
|
|
inherited |
◆ restoreFromState()
void VP1RawDataSystem::restoreFromState |
( |
QByteArray |
ba | ) |
|
|
virtual |
◆ saveState()
QByteArray VP1RawDataSystem::saveState |
( |
| ) |
|
|
virtual |
◆ serviceLocator()
ISvcLocator * IVP1System::serviceLocator |
( |
| ) |
const |
|
inherited |
◆ setActiveState()
◆ setCanRegisterController()
void IVP1System::setCanRegisterController |
( |
const bool & |
c | ) |
|
|
privateinherited |
◆ setChannel()
◆ setRefreshing()
void IVP1System::setRefreshing |
( |
const bool & |
b | ) |
|
|
privateinherited |
◆ setState()
◆ setUserSelectionNotificationsEnabled()
Definition at line 310 of file IVP13DSystem.cxx.
313 message(
"setUserSelectionNotificationsEnabled Error: NULL selection pointer!");
317 message(
"setUserSelectionNotificationsEnabled Error: Called for selection which was never registered!");
◆ state()
◆ storeGate()
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ sysmessage
void IVP1System::sysmessage |
( |
QString |
| ) |
const |
|
signalinherited |
◆ systemcreate()
void IVP13DSystemSimple::systemcreate |
( |
StoreGateSvc * |
detstore | ) |
|
|
virtualinherited |
◆ systemerase()
void VP1RawDataSystem::systemerase |
( |
| ) |
|
|
virtual |
◆ systemuncreate()
void VP1RawDataSystem::systemuncreate |
( |
| ) |
|
|
virtual |
◆ toolSvc()
IToolSvc * IVP1System::toolSvc |
( |
| ) |
const |
|
inherited |
◆ uncreate()
void IVP13DSystemSimple::uncreate |
( |
| ) |
|
|
privatevirtualinherited |
◆ unregisterSelectionNode()
Definition at line 281 of file IVP13DSystem.cxx.
284 message(
"unregisterSelectionNode Error: NULL selection pointer!");
288 message(
"registerSelectionNode Error: Trying to unregister unknown selection node!");
◆ updateGUI()
void IVP13DSystemSimple::updateGUI |
( |
| ) |
|
|
inlineinherited |
◆ userChangedSelection()
◆ userClickedOnBgd()
void IVP13DSystem::userClickedOnBgd |
( |
| ) |
|
|
virtualinherited |
◆ userDeselectedSingleNode()
◆ userPickedNode()
void VP1RawDataSystem::userPickedNode |
( |
SoNode * |
pickedNode, |
|
|
SoPath * |
pickedPath |
|
) |
| |
|
virtual |
Reimplemented from IVP13DSystemSimple.
Definition at line 126 of file VP1RawDataSystem.cxx.
133 for (;
i < pickedPath->getLength(); ++
i) {
134 if (pickedPath->getNodeFromTail(
i)->getTypeId()==SoSeparator::getClassTypeId()) {
135 SoSeparator *
sep =
static_cast<SoSeparator*
>(pickedPath->getNodeFromTail(
i));
136 if (
sep->getNumChildren()>0&&
sep->getChild(0)->getTypeId()==SoTransform::getClassTypeId()) {
137 SoTransform *
transform =
static_cast<SoTransform*
>(
sep->getChild(0));
144 for (
int j=0;j<
i;++j)
148 message(
"WARNING: Unknown node clicked.");
◆ userSelectedSingleNode()
◆ verbose()
static bool IVP1System::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ warnOnDisabledNotifications()
void IVP13DSystemSimple::warnOnDisabledNotifications |
( |
| ) |
const |
|
inherited |
Definition at line 221 of file IVP13DSystemSimple.cxx.
223 QList<SoNode*> nodesR;
224 QList<SoNode*> nodesE;
227 if (!nodesR.isEmpty()) {
228 message(
"WARNING: Found "+
str(nodesR.count())+
" node"+QString(nodesR.count()>1?
"s":0)+
" with disabled notifications in permanent scenegraph:");
229 for (SoNode *
node : nodesR)
230 message(
" => Node ("+
str(
node)+
") of type "+QString(
node->getTypeId().getName().getString())+
", named "+QString(
node->getName().getString()));
232 if (!nodesE.isEmpty()) {
233 message(
"WARNING: Found "+
str(nodesE.count())+
" node"+QString(nodesE.count()>1?
"s":0)+
" with disabled notifications in event scenegraph:");
234 for (SoNode *
node : nodesE)
235 message(
" => Node ("+
str(
node)+
") of type "+QString(
node->getTypeId().getName().getString())+
", named "+QString(
node->getName().getString()));
◆ m_d
Imp* VP1RawDataSystem::m_d |
|
private |
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
virtual void systemuncreate()
QList< VP1RawDataCollBase * > createCollections()
const QString contact_info
static std::map< SoCooperativeSelection *, IVP13DSystem * > selection2system
path
python interpreter configuration --------------------------------------—
static void made_selection(void *userdata, SoPath *path)
std::string find(const std::string &s)
return a remapped string
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
std::set< SoQtViewer * > viewers
virtual QWidget * buildController()
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
VP1RawDataHandleBase * getHandle(SoTransform *)
void inactiveSystemTurnedActive()
static void clickedoutside(void *userdata, SoCooperativeSelection *sel)
static VP1CameraHelper * animatedZoomToPath(SoCamera *camera, SoGroup *sceneroot, SoPath *path, double duration_in_secs=1.0, double clipVolPercent=100.0, double slack=1.0, const SbVec3f &lookat=SbVec3f(999, 999, 999), const SbVec3f &upvec=SbVec3f(999, 999, 999), bool varySpeed=true, bool forceCircular=false)
static QString str(const QString &s)
QByteArray saveSettings() const
virtual void buildPermanentSceneGraph(StoreGateSvc *detstore, SoSeparator *root)
static const bool s_vp1verbose
virtual QByteArray saveState()
SoCooperativeSelection * root
virtual void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)=0
static const char * prefix_msg()
void restoreSettings(QByteArray)
const QString information
static void start_changeselection(void *userdata, SoSelection *sel)
virtual void systemerase()
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
virtual void systemcreate(StoreGateSvc *detstore)
void ensureBuildController()
StoreGateSvc * eventStore() const
void sysmessage(QString) const
bool printInfoOnClick() const
void ensureInitCommonData()
static ISvcLocator * serviceLocator()
static StoreGateSvc * eventStore()
static QColor sbcol2qcol(const SbColor &)
std::set< SoCamera * > staticcameras
void messageDebug(const QString &) const
StoreGateSvc * detectorStore() const
static IToolSvc * toolSvc()
void getNodesWithDisabledNotifications(SoGroup *, QList< SoNode * > &) const
static const char * prefix_debug()
void registerController(QWidget *)
VP1RawDataSysController * controller
static const char * prefix_verbose()
bool printVerboseInfoOnClick() const
static void made_deselection(void *userdata, SoPath *path)
IVP1ChannelWidget * channel
VP1CollectionWidget * collWidget() const
void warnOnDisabledNotifications() const
QSet< SoCooperativeSelection * > selectionsWithDisabledNotifications
VP1RawDataCommonData * common
static void finished_changeselection(void *userdata, SoSelection *sel)
virtual void userClickedOnBgd()
bool clickedoutsideScheduled
bool canregistercontroller
static StoreGateSvc * detectorStore()
SoGroup * drawOptions() const
void message(const QString &) const
void messageVerbose(const QString &) const
virtual void restoreFromState(QByteArray)