|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   27 #endif // BUILDVP1LIGHT 
   30 #include <QStringList> 
   33 #include <Inventor/C/errors/debugerror.h> 
   34 #include <Inventor/nodes/SoSeparator.h> 
   35 #include <Inventor/nodes/SoSwitch.h> 
   36 #include <Inventor/nodes/SoMaterial.h> 
   37 #include "Inventor/nodes/SoDrawStyle.h" 
   38 #include "Inventor/nodes/SoLightModel.h" 
   44 #endif // BUILDVP1LIGHT 
   47 #if defined BUILDVP1LIGHT 
   57 #endif // BUILDVP1LIGHT 
   85   QString safetext(
text());
 
   86   safetext.replace(
' ',
'_');
 
   87   safetext.replace(
'[',
'_');
 
   88   safetext.replace(
']',
'_');
 
   89   safetext.replace(
'/',
'_');
 
   90   safetext.replace(
'.',
'_');
 
   91   safetext.replace(
',',
'_');
 
   92   safetext.replace(
'<',
'_');
 
   93   safetext.replace(
'>',
'_');
 
   94   safetext.replace(
'&',
'_');
 
  168     messageVerbose(
"No collSettingsButton set! Can't call init(), so crash is imminent...");
 
  169     throw std::runtime_error(
"TrackParticle - No collSettingsButton set!");
 
  178     messageVerbose(
"not loading TrackParticle collection - contains associated objects.");
 
  186   #if defined BUILDVP1LIGHT 
  189       message(
"Error: Could not retrieve collection with key="+
name());
 
  194       message(
"Error: Could not retrieve track particle collection with key="+
name());
 
  197   #endif // BUILDVP1LIGHT 
  203   if( ! coll->hasStore() ) {
 
  204     message(
"No auxiliary store got associated to the TrackParticle container with key: " +
name());
 
  218       messageDebug(
"WARNING: Ignoring null TrackParticle pointer.");
 
  221     if ((*it)->charge()==0.0) {
 
  222       messageDebug(
"WARNING: Ignoring TrackParticle which claims to be neutral (charge()==0.0).");
 
  250   messageVerbose(
"IParticleCollHandle_TrackParticle::propagationOptionsChanged");
 
  255   str << 
"\""<<
name().toLatin1().data()<<
"\":{";
 
  259     if (handle->visible()) {
 
  261       handle->dumpToJSON(
str);
 
  
def retrieve(aClass, aKey=None)
TrackParticleCollectionSettingsButton * collSettingsButton
Const iterator class for DataVector/DataList.
VP1Interval cutAllowedEta() const
IParticleCollHandle_TrackParticle * theclass
void messageVerbose(const QString &) const
virtual void dumpToJSON(std::ofstream &) const
SoSwitch * collSwitch() const
Add this somewhere in your scenegraph (do not add any children here!)
void propagationOptionsChanged()
QList< VP1Interval > cutAllowedPhi() const
void resetCachedValuesCuts()
virtual void init(VP1MaterialButtonBase *button=0)
virtual void init(VP1MaterialButtonBase *matBut=0)
static QString str(const QString &s)
void messageDebug(const QString &) const
void setCutAllowedPt(const VP1Interval &)
void setCutAllowedPhi(const QList< VP1Interval > &)
const AODSysCommonData * common() const
QStringList getKeys() const
TrackParticle_v1 TrackParticle
Reference the current persistent version:
const TrackParticleCollectionSettingsButton & collSettingsButton() const
QList< AODHandleBase * > getHandlesList() const
virtual ~IParticleCollHandle_TrackParticle()
void visibilityChanged(bool)
const QString & name() const
VP1Interval cutAllowedPt() const
virtual bool cut(AODHandleBase *)
void setCutAllowedEta(const VP1Interval &)
SoLightModel * trackLightModel() const
void setupSettingsFromController(const AODSystemController *)
IVP1System * systemBase() const
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)
SoDrawStyle * trackDrawStyle() const
virtual bool cut(AODHandleBase *)
void addHandle(AODHandleBase *)
static QStringList availableCollections(IVP1System *)
void message(const QString &) const
void update3DObjectsOfAllHandles()
void showParametersChanged(bool)
IParticleCollHandle_TrackParticle(AODSysCommonData *, const QString &name, xAOD::Type::ObjectType type, bool shouldLoad=true)
shouldLoad is used to disable the call to load if the collhandle is for temporary (read: associated) ...
void setMaterialText(const QString &)
virtual void setupSettingsFromControllerSpecific(const AODSystemController *)
For extensions specific to this collection.
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.