|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   39 #include <QStringList> 
   42 #include <Inventor/C/errors/debugerror.h> 
   43 #include <Inventor/nodes/SoSeparator.h> 
   44 #include <Inventor/nodes/SoSwitch.h> 
   45 #include <Inventor/nodes/SoMaterial.h> 
   56 #endif // BUILDVP1LIGHT 
   60 #if defined BUILDVP1LIGHT 
   63     return sys->getObjectList(xAOD::Type::Other);
 
   70 #endif // BUILDVP1LIGHT 
  105   m_d->theclass = 
this;
 
  106   m_d->updateGUICounter = 0;
 
  107   m_d->collSettingsButton=0;
 
  111   QString safetext(
text());
 
  112   safetext.replace(
' ',
'_');
 
  113   safetext.replace(
'[',
'_');
 
  114   safetext.replace(
']',
'_');
 
  115   safetext.replace(
'/',
'_');
 
  116   safetext.replace(
'.',
'_');
 
  117   safetext.replace(
',',
'_');
 
  118   safetext.replace(
'<',
'_');
 
  119   safetext.replace(
'>',
'_');
 
  120   safetext.replace(
'&',
'_');
 
  179     message(
"ERROR - wrong handle type passed to MissingEtCollHandle::addHandle!");
 
  264     messageVerbose(
"MET - No collSettingsButton set! Can't call init(), so crash is imminent...");
 
  265     throw std::runtime_error(
"MET - No collSettingsButton set!");
 
  401   #if defined BUILDVP1LIGHT 
  404       QString errMsg = 
"Failed to retrieve " + 
name();
 
  405       message(
"Error: Could not retrieve collection with key="+
name());
 
  410       message(
"Error: Could not retrieve MET collection with key="+
name());
 
  413   #endif // BUILDVP1LIGHT 
  419   if( ! coll->hasStore() ) {
 
  420     message(
"No auxiliary store got associated to the MET container with key: " +
name());
 
  477                 double phi = handle->phi();
 
  495     messageVerbose(
"Not a MissingEtCollHandle. Check your code! Returning 'false'...");
 
  554   messageDebug(
"MissingEtCollHandle::persistifiableState() - start...");
 
  580   messageDebug(
"MissingEtCollHandle::persistifiableState() - end.");
 
  592     messageDebug(
"Warning: Ignoring state with wrong version");
 
  605   if (extraWidgetState!=QByteArray())
 
  609   messageDebug(
"restoring material collection button...");
 
  612   messageDebug(
"reset all caches storing values for cuts...");
 
  
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
void setExtraWidgetsState(const QByteArray &)
std::vector< MissingEtHandle * >::iterator itHandles
void resetCachedValuesCuts()
Const iterator class for DataVector/DataList.
const QList< VP1Interval > & getCutAllowedPhi()
virtual ~MissingEtCollHandle()
Scalar phi() const
phi method
Base class for all AOD object collections This class primarily handles setting up the interface,...
QList< AODHandleBase * > getHandlesList() const
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
MissingEtCollHandle * theclass
void messageVerbose(const QString &) const
void disableUnrestoredChecks()
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
virtual void init(VP1MaterialButtonBase *button=0)
std::vector< MissingEtHandle * > handles
QList< VP1Interval > m_cut_allowedPhi
static QString str(const QString &s)
void messageDebug(const QString &) const
void setMetSize(int size)
const AODSysCommonData * common() const
QStringList getKeys() const
bool m_cut_phi_allwillfail
virtual void hintNumberOfHandlesInEvent(unsigned)
void setState(const QByteArray &)
Provide specific implementation.
void visibilityChanged(bool)
void recheckCutStatusOfAllNotVisibleHandles()
QByteArray extraWidgetsState() const
void recheckCutStatusOfAllHandles()
const QString & name() const
void setCutAllowedPhi(const QList< VP1Interval > &)
void restore(QCheckBox *sb)
virtual bool cut(AODHandleBase *)
virtual AODHandleBase * getNextHandle()
Container for xAOD::MissingET_v1 objects.
void setupSettingsFromController(const AODSystemController *)
IVP1System * systemBase() const
static void messageVerbose(const QString &)
static QStringList availableCollections(IVP1System *)
Interface for non-const operations on an auxiliary store.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void collVisibilityChanged(bool)
virtual void handleIterationBegin()
const MissingEtCollectionSettingsButton & collSettingsButton() const
MissingEtCollHandle(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType type)
void message(const QString &) const
MissingEtCollectionSettingsButton * collSettingsButton
virtual void init(VP1MaterialButtonBase *matBut=0)
void update3DObjectsOfAllHandles()
QByteArray restoreByteArray()
QByteArray persistifiableState() const
Provide specific implementation.
void recheckCutStatusOfAllVisibleHandles()
void addHandle(AODHandleBase *)
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
QList< AODHandleBase * > handlesList
std::vector< MissingEtHandle * >::iterator itHandlesEnd