ATLAS Offline Software
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
MissingEtHandle Class Reference

#include <MissingEtHandle.h>

Inheritance diagram for MissingEtHandle:
Collaboration diagram for MissingEtHandle:

Classes

class  Imp
 

Public Member Functions

 MissingEtHandle (AODCollHandleBase *, const xAOD::MissingET *)
 
virtual ~MissingEtHandle ()
 
virtual bool has3DObjects ()
 Returns true if the 3D objects have been created. More...
 
virtual void clear3DObjects ()
 Delete objects. More...
 
virtual SoNode * nodes ()
 Returns the 3Dobjects. More...
 
virtual SoMaterial * determineMaterial ()
 Should be implemented by children, in order to change the material depending on the interface etc. More...
 
void setScale (const double &sc)
 
void updateHeight ()
 
virtual QStringList clicked () const
 This gives the complete information about the object, shown in the main Message Box. More...
 
double phi () const
 
double met () const
 
virtual QString type () const
 return very short word with type (maybe link with collection type?) More...
 
QString shortInfo () const
 This returns the information shown about the object in the object browser. More...
 
void fillObjectBrowser (QList< QTreeWidgetItem * > &listOfItems)
 This gives the list of object's properties, shown in the 'Information' field in the Browser, once the user clicked on one particular item (e.g. More...
 
const AODSysCommonDatacommon () const
 
void setVisible (bool)
 use by the collection handle. More...
 
bool visible () const
 
const AODCollHandleBasecollHandle () const
 
virtual void update3DObjects ()
 Called after some configuration changes, or when the object is first created. Must be overloaded by children. More...
 
virtual void rebuild3DObjects ()
 
virtual void attach3DObjects ()
 Connect to the scene graph. More...
 
virtual void detach3DObjects ()
 Remove from the scene graph. More...
 
void updateMaterial ()
 Called after some configuration related to material changes. More...
 
SoMaterial * currentMaterial () const
 Returns the current material of the handle. More...
 
virtual QStringList baseInfo () const
 
void updateObjectBrowser ()
 Update object browser QTreeWidgetItem. More...
 
QTreeWidgetItem * browserTreeItem () const
 Return the QTreeWidgetItem;. More...
 
virtual void dumpToJSON (std::ofstream &) const
 

Static Public Member Functions

static int numberOfInstances ()
 
static double unknown ()
 

Protected Member Functions

virtual void visibleStateChanged ()
 Dummy implementation does nothing. More...
 
virtual void currentMaterialChanged ()
 

Private Member Functions

void ensureInitSubSysHitInfo () const
 

Private Attributes

Impm_d
 
bool m_visible
 
AODCollHandleBasem_collhandle
 
SoMaterial * m_currentmaterial
 

Detailed Description

Definition at line 25 of file MissingEtHandle.h.

Constructor & Destructor Documentation

◆ MissingEtHandle()

MissingEtHandle::MissingEtHandle ( AODCollHandleBase ch,
const xAOD::MissingET met 
)

Definition at line 116 of file MissingEtHandle.cxx.

117  : AODHandleBase(ch), m_d(new Imp)
118 {
119  VP1Msg::messageVerbose("MissingEtHandle::MissingEtHandle() - constructor");
120  m_d->theclass = this;
121  m_d->m_met = met;
122 
123  m_d->sep = 0;
124  m_d->cone = 0;
125  // m_d->m_randomMat = 0;
126 
127  // m_d->theCollHandle = dynamic_cast<const MissingEtCollHandle*>(collHandle());
128  m_d->theCollHandle = 0;
129 }

◆ ~MissingEtHandle()

MissingEtHandle::~MissingEtHandle ( )
virtual

Definition at line 132 of file MissingEtHandle.cxx.

133 {
134  // VP1Msg::messageVerbose("MissingEtHandle::~MissingEtHandle() - destructor");
135  // if (m_d->m_randomMat) m_d->m_randomMat->unref();
136  if (m_d->cone) m_d->cone->unref();
137  if (m_d->base) m_d->base->unref();
138  if (m_d->sep) m_d->sep->unref();
139  delete m_d;
140 }

Member Function Documentation

◆ attach3DObjects()

void AODHandleBase::attach3DObjects ( )
virtualinherited

Connect to the scene graph.

Definition at line 157 of file AODHandleBase.cxx.

158 {
159  VP1Msg::messageVerbose("AODHandleBase::attach3DObjects");
160 
161  if (!m_currentmaterial) {
163  m_currentmaterial->ref();
165  }
166  if (has3DObjects() && m_collhandle->sepHelper()) {
167  VP1Msg::messageVerbose("Adding nodes to sep helper...");
168 
170 
171  // debug
172  // std::cout<<"m_collhandle->sepHelper() = " << m_collhandle->sepHelper()<<std::endl;
173  SoNode* tmp = nodes();
174  // std::cout << "tmp nodes = "<< tmp << std::endl;
175 
176  // m_collhandle->sepHelper()->addNodeUnderMaterial( nodes(), m_currentmaterial );
178 
179  } else {
180  if (!has3DObjects()) {
181  VP1Msg::message("AODHandleBase::attach3DObjects() - No 3D objects to attach!");
182  }
183  if (!m_collhandle->sepHelper()) VP1Msg::message("AODHandleBase::attach3DObjects() - No sep helper!");
184  }
185  // if (label_sep && theclass->common()->textSep() && theclass->common()->controller()->doTrackLabels())
186  // theclass->common()->textSep()->addChild(label_sep);
187  //
188 }

◆ baseInfo()

QStringList AODHandleBase::baseInfo ( ) const
virtualinherited

Reimplemented in VertexHandle, and IParticleHandleBase.

Definition at line 247 of file AODHandleBase.cxx.

248 {
249  VP1Msg::messageDebug("AODHandleBase::baseInfo()");
250 
251  QStringList l;
252 
253 
254  // Amg::Vector3D mom = momentum()/1000;
255  // if (mom.mag2()==0.0) {
256  // l << "Momentum : 0 (undefined)";
257  // } else {
258  // l << "Momentum [GeV]: "+VP1Msg::str(mom);
259  // l << "|Pt|/|P| [GeV]: "+VP1Msg::str(mom.perp())+" / " + VP1Msg::str(mom.mag());
260  // l << VP1Msg::str("(")+QChar(0x03B7)+","+QChar(0x03D5)+VP1Msg::str(")=(")
261  // +VP1Msg::str(mom.eta())+VP1Msg::str(",")+VP1Msg::str(VP1LinAlgUtils::phiFromXY(mom.x(), mom.y() ))+VP1Msg::str(")");
262  //
263  // l << "Eta: "+VP1Msg::str(mom.eta());
264  // l << "Phi: "+VP1Msg::str(VP1LinAlgUtils::phiFromXY(mom.x(), mom.y() ));
265  // }
266  // l<<"Hit summary: Pix["+VP1Msg::str(getNPixelHits())+"], SCT["+VP1Msg::str(getNSCTHits())+"], TRT["+VP1Msg::str(getNTRTHits())
267  // +"], MDT["+QString::number(getNMDTHits())+"], RPC["+QString::number(getNRPCHits())+"], TGC["+QString::number(getNTGCHits())+"], CSC["+QString::number(getNCSCHits())+"].";
268  //
269  // return l;
270  // int pdg = pdgCode();
271  // if (pdg) {
272  // bool ok;
273  // QString name = VP1ParticleData::particleName(pdg,ok);
274  // if (ok)
275  // l << "pdg: "+QString::number(pdg)+" ["+name+"]";
276  // else
277  // l << "pdg: "+QString::number(pdg);
278  // }
279 
280  if (l.length() == 0)
281  l << "baseInfo : (undefined)";
282 
283  return l;
284 }

◆ browserTreeItem()

QTreeWidgetItem * AODHandleBase::browserTreeItem ( ) const
inherited

Return the QTreeWidgetItem;.

Definition at line 311 of file AODHandleBase.cxx.

311  {
312  return m_d->m_objBrowseTree;
313 }

◆ clear3DObjects()

void MissingEtHandle::clear3DObjects ( )
virtual

Delete objects.

Implements AODHandleBase.

Definition at line 165 of file MissingEtHandle.cxx.

165  {
166  // VP1Msg::messageVerbose("MissingEtHandle::clear3DObjects()");
167 
168  // if (m_d->m_randomMat) {
169  // m_d->m_randomMat->unref();
170  // m_d->m_randomMat = 0;
171  // }
172  if (m_d->cone) {
173  m_d->cone->unref();
174  m_d->cone = 0;
175  }
176  if (m_d->sep) {
177  m_d->sep->unref();
178  m_d->sep = 0;
179  }
180 
181 }

◆ clicked()

QStringList MissingEtHandle::clicked ( ) const
virtual

This gives the complete information about the object, shown in the main Message Box.

Implements AODHandleBase.

Definition at line 366 of file MissingEtHandle.cxx.

367 {
368  VP1Msg::messageDebug("MissingEtHandle::clicked()");
369 
370  QStringList l;
371  l << "--MissingEt: ";
372  //l << AODHandleBase::baseInfo();
373 
374  // info and parameters,
375  // they go in the "Information" column in the Browser window
376  // see: http://acode-browser.usatlas.bnl.gov/lxr/source/atlas/Event/xAOD/xAODMissingET/xAODMissingET/versions/MissingET_v1.h
377  //
378  l +=" - Name: " + m_d->name();
379  l +=" - MissingEt: " + QString::number(m_d->met() / SYSTEM_OF_UNITS::GeV) +" [GeV]";
380  l +=" - Phi: " + QString::number(m_d->phi());
381  l +=" - SumEt: " + QString::number(m_d->sumet() / SYSTEM_OF_UNITS::GeV) +" [GeV]";
382  l +=" - mpx: " + QString::number(m_d->mpx() / SYSTEM_OF_UNITS::GeV) +" [GeV]" ;
383  l +=" - mpy: " + QString::number(m_d->mpy() / SYSTEM_OF_UNITS::GeV) +" [GeV]";
384 
385  return l;
386 }

◆ collHandle()

const AODCollHandleBase* AODHandleBase::collHandle ( ) const
inlineinherited

Definition at line 55 of file AODHandleBase.h.

55 { return m_collhandle; }

◆ common()

const AODSysCommonData * AODHandleBase::common ( ) const
inherited

Definition at line 93 of file AODHandleBase.cxx.

94 {
95  return std::as_const(m_collhandle)->common();
96 }

◆ currentMaterial()

SoMaterial* AODHandleBase::currentMaterial ( ) const
inlineinherited

Returns the current material of the handle.

Definition at line 76 of file AODHandleBase.h.

76 { return m_currentmaterial; }

◆ currentMaterialChanged()

virtual void AODHandleBase::currentMaterialChanged ( )
inlineprotectedvirtualinherited

Definition at line 111 of file AODHandleBase.h.

111 {};

◆ detach3DObjects()

void AODHandleBase::detach3DObjects ( )
virtualinherited

Remove from the scene graph.

Definition at line 191 of file AODHandleBase.cxx.

192 {
193  VP1Msg::messageVerbose("AODHandleBase::detach3DObjects");
194 
195  if (!m_currentmaterial)
196  return;//Can never have been attached!
197  if (has3DObjects() && m_collhandle->sepHelper()) {
199  }
200 
202 
203  // if (label_sep && theclass->common()->textSep())
204  // theclass->common()->textSep()->removeChild(label_sep);
205 }

◆ determineMaterial()

SoMaterial * MissingEtHandle::determineMaterial ( )
virtual

Should be implemented by children, in order to change the material depending on the interface etc.

This will (by default) return the collection material.

Implements AODHandleBase.

Definition at line 143 of file MissingEtHandle.cxx.

143  {
144  // By default we use the collection material.
145  // std::cout<<"VertexHandle::determineMaterial() - collHandle()->material()"<<collHandle()->material()<<std::endl;
146  return collHandle()->material();
147 }

◆ dumpToJSON()

virtual void AODHandleBase::dumpToJSON ( std::ofstream &  ) const
inlinevirtualinherited

◆ ensureInitSubSysHitInfo()

void MissingEtHandle::ensureInitSubSysHitInfo ( ) const
private

◆ fillObjectBrowser()

void MissingEtHandle::fillObjectBrowser ( QList< QTreeWidgetItem * > &  listOfItems)
virtual

This gives the list of object's properties, shown in the 'Information' field in the Browser, once the user clicked on one particular item (e.g.

'MissingEt0')

Reimplemented from AODHandleBase.

Definition at line 454 of file MissingEtHandle.cxx.

455 {
456  AODHandleBase::fillObjectBrowser(listOfItems); // Obligatory!
457 
458  QTreeWidgetItem* TSOSitem = new QTreeWidgetItem(browserTreeItem());
459 
460  // Jet "Object" title, in the Browser window
461  TSOSitem->setText(0, QString("Info: " ) );
462 
463  QString dParameters("(");
464 
465  // info and parameters,
466  // they go in the "Information" column in the Browser window
467  dParameters+="name: ";
468  dParameters+=m_d->name();
469  dParameters+=", met: ";
470  dParameters+=QString::number(m_d->met());
471  dParameters+=", phi: ";
472  dParameters+=QString::number(m_d->phi());
473  dParameters+=", sumet: ";
474  dParameters+=QString::number(m_d->sumet());
475 
476  dParameters+="";
477 
478  dParameters+=")";
479 
480  dParameters += " [more info in the main Message Box]";
481 
482  TSOSitem->setText(1, dParameters );
483 
484  /*
485  * TODO: check jets parameters
486  */
487  /*
488  for (unsigned int i=0; i<m_d->trackparticle->numberOfParameters() ; ++i){
489 
490  QTreeWidgetItem* TSOSitem = new QTreeWidgetItem(browserTreeItem());
491  TSOSitem->setText(0, QString("Parameter "+QString::number( i+1 ) ) );
492  QString pos(", Position = (");
493  pos+=QString::number(m_d->trackparticle->parameterX(i));
494  pos+=", ";
495  pos+=QString::number(m_d->trackparticle->parameterY(i));
496  pos+=", ";
497  pos+=QString::number(m_d->trackparticle->parameterZ(i));
498  pos+=")";
499 
500  switch (m_d->trackparticle->parameterPosition(i)){
501  case xAOD::BeamLine:
502  TSOSitem->setText(1, QString("BeamLine" )+pos );
503  break;
504  case xAOD::FirstMeasurement:
505  TSOSitem->setText(1, QString("FirstMeasurement")+pos );
506  break;
507  case xAOD::LastMeasurement:
508  TSOSitem->setText(1, QString("LastMeasurement" )+pos );
509  break;
510  case xAOD::CalorimeterEntrance:
511  TSOSitem->setText(1, QString("CalorimeterEntrance")+pos );
512  break;
513  case xAOD::CalorimeterExit:
514  TSOSitem->setText(1, QString("CalorimeterExit" )+pos );
515  break;
516  case xAOD::MuonSpectrometerEntrance:
517  TSOSitem->setText(1, QString("MuonSpectrometerEntrance")+pos );
518  break;
519  default:
520  TSOSitem->setText(1, QString("Undefined")+pos );
521  }
522  }
523  */
524 
525 
526  // TODO - add more.
527 }

◆ has3DObjects()

bool MissingEtHandle::has3DObjects ( )
virtual

Returns true if the 3D objects have been created.

Reimplemented from AODHandleBase.

Definition at line 157 of file MissingEtHandle.cxx.

158 {
159  // VP1Msg::messageVerbose("MissingEtHandle::has3DObjects()");
160  return 0 != m_d->sep;
161 }

◆ met()

double MissingEtHandle::met ( ) const

Definition at line 540 of file MissingEtHandle.cxx.

540  {
541  /*VP1Msg::messageVerbose("eta: " + QString::number(m_met->eta()) );*/
542  return m_d->met();
543 }

◆ nodes()

SoNode * MissingEtHandle::nodes ( )
virtual

Returns the 3Dobjects.

Implements AODHandleBase.

Definition at line 189 of file MissingEtHandle.cxx.

189  {
190 
191  VP1Msg::messageVerbose("MissingEtHandle::nodes()");
192 
193  if (m_d->sep) {
194  VP1Msg::messageVerbose("d->sep already defined (" + VP1Msg::str(m_d->sep) + "). Returning d->sep.");
195  return m_d->sep; // FIXME - do we need to check if anything need to be redrawn?
196  }
197  if (!m_d->sep) {
198  VP1Msg::messageVerbose("d->sep not defined. Creating shapes and a new d->sep.");
199  m_d->sep = new SoSeparator();
200  m_d->sep->ref();
201  }
202 
203  m_d->theCollHandle = dynamic_cast<const MissingEtCollHandle*>(collHandle());
205 
206 
207 // SbVec3f origin(0.,0.,0.);
208  /* TODO: ask if origin info is present in xAOD, like in the old Jet class
209  if ( m_d->m_met->origin() ) {
210  origin.setValue(m_d->m_met->origin()->position().x(),
211  m_d->m_met->origin()->position().y(),
212  m_d->m_met->origin()->position().z());
213  }
214  */
215 
216  VP1Msg::messageVerbose("creating the shapes");
217 
218 
219  /*
220  * Here the 3D shapes are created
221  */
223 
224  return m_d->sep;
225 }

◆ numberOfInstances()

int AODHandleBase::numberOfInstances ( )
staticinherited

Definition at line 87 of file AODHandleBase.cxx.

88 {
89  return Imp::nobjhandles;
90 }

◆ phi()

double MissingEtHandle::phi ( ) const

Definition at line 533 of file MissingEtHandle.cxx.

533  {
534  /*VP1Msg::messageVerbose("phi: " + QString::number(m_met->phi()) );*/
535  return m_d->phi();
536 }

◆ rebuild3DObjects()

void AODHandleBase::rebuild3DObjects ( )
virtualinherited

Definition at line 137 of file AODHandleBase.cxx.

138 {
139  QString tmp2 = (m_visible==true)?"True":"False";
140  VP1Msg::messageDebug("AODHandleBase::rebuild3DObjects() - with m_visible="+tmp2 );
141 
142  //Ensure we are always detached while updating.
143  if (m_visible) {
144  detach3DObjects();
145  }
146 
147  clear3DObjects();
148  nodes(); // rebuilds the 3D shapes
149 
150  //Attach if visible:
151  if (m_visible) {
152  attach3DObjects();
153  }
154 }

◆ setScale()

void MissingEtHandle::setScale ( const double &  sc)

Definition at line 151 of file MissingEtHandle.cxx.

151 { m_d->scale = sc; }

◆ setVisible()

void AODHandleBase::setVisible ( bool  vis)
inherited

use by the collection handle.

Definition at line 99 of file AODHandleBase.cxx.

100 {
101  QString tmp = (vis==true)?"True":"False";
102  QString tmp2 = (m_visible==true)?"True":"False";
103  VP1Msg::messageDebug(QString("AODHandleBase calling setVisible with vis=")+tmp+QString(", and m_visible=")+tmp2 );
104  if (vis==m_visible)
105  return;
106 
107  m_visible=vis;
108  if (vis) {
110 
111  if (!has3DObjects())
112  rebuild3DObjects();//The call to rebuild also fixes attached state.
113  else
114  attach3DObjects();
115  } else {
117  detach3DObjects();
118  }
119 
121 }

◆ shortInfo()

QString MissingEtHandle::shortInfo ( ) const
virtual

This returns the information shown about the object in the object browser.

This gives the very short summary for the object's properties, shown in the 'Information' field in the Browser, beside the item number (e.g.

'MissingEt0')

Reimplemented from AODHandleBase.

Definition at line 436 of file MissingEtHandle.cxx.

437 {
438  VP1Msg::messageDebug("MissingEtHandle::shortInfo()");
439 
440  QString l;
441 
442  l += m_d->name();
443  l += ", met: " + QString::number(m_d->met() / SYSTEM_OF_UNITS::GeV) +" [GeV]";
444  l += ", phi: " + QString::number(m_d->phi());
445 
446  return l;
447 }

◆ type()

virtual QString MissingEtHandle::type ( ) const
inlinevirtual

return very short word with type (maybe link with collection type?)

Reimplemented from AODHandleBase.

Definition at line 56 of file MissingEtHandle.h.

◆ unknown()

static double AODHandleBase::unknown ( )
inlinestaticinherited

Definition at line 93 of file AODHandleBase.h.

93 { return -999.0; }

◆ update3DObjects()

void AODHandleBase::update3DObjects ( )
virtualinherited

Called after some configuration changes, or when the object is first created. Must be overloaded by children.

Definition at line 125 of file AODHandleBase.cxx.

126 {
127  if (m_visible) {
129  } else {
130  //Simply clear the present 3D objects. They will only be recreated if/when the track/jet becomes visible again.
131  clear3DObjects();
132  }
133 }

◆ updateHeight()

void MissingEtHandle::updateHeight ( )

Definition at line 228 of file MissingEtHandle.cxx.

228  {
230 }

◆ updateMaterial()

void AODHandleBase::updateMaterial ( )
inherited

Called after some configuration related to material changes.

Definition at line 208 of file AODHandleBase.cxx.

209 {
210  VP1Msg::messageVerbose("AODHandleBase::updateMaterial()");
211 
212  //We need to change the current material. This means we need to
213  //clear the cache. Only if we are visible do we need to do a
214  //detach->clear material->attach cycle to trigger attachment under new material.
215 
216  if (!m_currentmaterial)
217  return;//We have no material cached and is thus not attached either.
218  if (m_visible) {
219  //See if the material changed. If it did, detach, update the material, attach again.
220  SoMaterial * newmat = determineMaterial();
221  newmat->ref();
222  if (newmat!=m_currentmaterial) {
223  detach3DObjects();
224  m_currentmaterial->unref();
225  m_currentmaterial = newmat;
226  attach3DObjects();
228  } else {
229  newmat->unref();
230  }
231  } else {
232  //Just clear material.
233  m_currentmaterial->unref();
234  m_currentmaterial = 0;
236  }
237 }

◆ updateObjectBrowser()

void AODHandleBase::updateObjectBrowser ( )
inlineinherited

Update object browser QTreeWidgetItem.

Definition at line 102 of file AODHandleBase.h.

102 {};

◆ visible()

bool AODHandleBase::visible ( ) const
inlineinherited

Definition at line 54 of file AODHandleBase.h.

54 { return m_visible; }

◆ visibleStateChanged()

void AODHandleBase::visibleStateChanged ( )
protectedvirtualinherited

Dummy implementation does nothing.

override if need to take action in this case.

Definition at line 316 of file AODHandleBase.cxx.

317 {
318  if ( !browserTreeItem()) {
319  VP1Msg::messageVerbose("visibleStateChanged: No m_objBrowseTree!");
320  return;
321  }
322 
323  if (!visible()) {
324  browserTreeItem()->setFlags(Qt::ItemFlags()); // not selectable, not enabled
325  } else {
326  browserTreeItem()->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled); // selectable, enabled
327  }
328  QFont itemFont = browserTreeItem()->font(0);
329  itemFont.setStrikeOut(!visible());
330  browserTreeItem()->setFont(0, itemFont);
331  browserTreeItem()->setFont(1, itemFont);
332 }

Member Data Documentation

◆ m_collhandle

AODCollHandleBase* AODHandleBase::m_collhandle
privateinherited

Definition at line 126 of file AODHandleBase.h.

◆ m_currentmaterial

SoMaterial* AODHandleBase::m_currentmaterial
privateinherited

Definition at line 127 of file AODHandleBase.h.

◆ m_d

Imp* MissingEtHandle::m_d
private

Definition at line 70 of file MissingEtHandle.h.

◆ m_visible

bool AODHandleBase::m_visible
privateinherited

Definition at line 125 of file AODHandleBase.h.


The documentation for this class was generated from the following files:
MissingEtHandle::Imp::mpx
double mpx() const
Definition: MissingEtHandle.cxx:92
AODHandleBase::visible
bool visible() const
Definition: AODHandleBase.h:54
MissingEtHandle::Imp::m_met
const xAOD::MissingET * m_met
Definition: MissingEtHandle.cxx:66
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
MissingEtHandle::Imp::theCollHandle
const MissingEtCollHandle * theCollHandle
Definition: MissingEtHandle.cxx:63
MissingEtHandle::met
double met() const
Definition: MissingEtHandle.cxx:540
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
DeMoUpdate.tmp2
string tmp2
Definition: DeMoUpdate.py:1168
VP1StdCollection::material
SoMaterial * material() const
Definition: VP1StdCollection.cxx:220
AODHandleBase::AODHandleBase
AODHandleBase(AODCollHandleBase *)
Definition: AODHandleBase.cxx:73
AODHandleBase::detach3DObjects
virtual void detach3DObjects()
Remove from the scene graph.
Definition: AODHandleBase.cxx:191
VP1ExtraSepLayerHelper::addNodeUnderMaterial
void addNodeUnderMaterial(SoNode *, SoMaterial *)
Definition: VP1ExtraSepLayerHelper.cxx:190
AODHandleBase::m_collhandle
AODCollHandleBase * m_collhandle
Definition: AODHandleBase.h:126
MissingEtHandle::Imp::updateConeHeightParameters
void updateConeHeightParameters(SoCone *, SoTranslation *, const double &energy) const
Definition: MissingEtHandle.cxx:301
AODHandleBase::collHandle
const AODCollHandleBase * collHandle() const
Definition: AODHandleBase.h:55
AODHandleBase::determineMaterial
virtual SoMaterial * determineMaterial()=0
Should be implemented by children, in order to change the material depending on the interface etc.
VP1ExtraSepLayerHelper::removeNodeUnderMaterial
void removeNodeUnderMaterial(SoNode *, SoMaterial *)
Definition: VP1ExtraSepLayerHelper.cxx:216
AODHandleBase::fillObjectBrowser
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
Definition: AODHandleBase.cxx:288
AODHandleBase::has3DObjects
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
Definition: AODHandleBase.h:57
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
MissingEtHandle::Imp::theclass
MissingEtHandle * theclass
Definition: MissingEtHandle.cxx:62
MissingEtHandle::Imp::sep
SoSeparator * sep
Definition: MissingEtHandle.cxx:68
AODHandleBase::currentMaterialChanged
virtual void currentMaterialChanged()
Definition: AODHandleBase.h:111
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AODCollHandleBase::common
const AODSysCommonData * common() const
Definition: AODCollHandleBase.h:88
AODCollHandleBase::incrementNShownHandles
void incrementNShownHandles()
Definition: AODCollHandleBase.h:132
AODHandleBase::attach3DObjects
virtual void attach3DObjects()
Connect to the scene graph.
Definition: AODHandleBase.cxx:157
AODHandleBase::Imp::nobjhandles
static std::atomic< int > nobjhandles
Definition: AODHandleBase.cxx:56
AODHandleBase::visibleStateChanged
virtual void visibleStateChanged()
Dummy implementation does nothing.
Definition: AODHandleBase.cxx:316
AODSysCommonData::deregisterHandle
void deregisterHandle(AODHandleBase *h)
Definition: AODSysCommonData.cxx:67
AODHandleBase::browserTreeItem
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
Definition: AODHandleBase.cxx:311
MissingEtHandle::Imp::met
double met() const
Definition: MissingEtHandle.cxx:94
AODCollHandleBase::decrementNShownHandles
void decrementNShownHandles()
Definition: AODCollHandleBase.h:133
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
MissingEtHandle::Imp::theCollSettingsButton
const MissingEtCollectionSettingsButton * theCollSettingsButton
Definition: MissingEtHandle.cxx:64
MissingEtHandle::Imp::scale
double scale
Definition: MissingEtHandle.cxx:79
python.selection.number
number
Definition: selection.py:20
VP1Msg::messageVerbose
static void messageVerbose(const QString &)
Definition: VP1Msg.cxx:84
AODHandleBase::nodes
virtual SoNode * nodes()=0
Returns the 3Dobjects.
AODHandleBase::m_d
Imp * m_d
Definition: AODHandleBase.h:120
AODHandleBase::m_visible
bool m_visible
Definition: AODHandleBase.h:125
AODCollHandleBase::sepHelper
const VP1ExtraSepLayerHelper * sepHelper() const
Definition: AODCollHandleBase.h:90
MissingEtHandle::Imp::mpy
double mpy() const
Definition: MissingEtHandle.cxx:93
VP1Msg::messageDebug
static void messageDebug(const QString &)
Definition: VP1Msg.cxx:39
MissingEtHandle::Imp::createShapeFromJetParameters
void createShapeFromJetParameters()
Definition: MissingEtHandle.cxx:236
MissingEtHandle::Imp::sumet
double sumet() const
Definition: MissingEtHandle.cxx:96
VP1Msg::message
static void message(const QString &, IVP1System *sys=0)
Definition: VP1Msg.cxx:30
MissingEtHandle::Imp::name
QString name() const
Definition: MissingEtHandle.cxx:91
MissingEtHandle::Imp::cone
SoCone * cone
Definition: MissingEtHandle.cxx:70
MissingEtCollHandle::collSettingsButton
const MissingEtCollectionSettingsButton & collSettingsButton() const
Definition: MissingEtCollHandle.cxx:262
AODHandleBase::rebuild3DObjects
virtual void rebuild3DObjects()
Definition: AODHandleBase.cxx:137
AODHandleBase::Imp::m_objBrowseTree
QTreeWidgetItem * m_objBrowseTree
Definition: AODHandleBase.cxx:65
MissingEtHandle::Imp::base
SoGroup * base
Definition: MissingEtHandle.cxx:69
MissingEtHandle::Imp::phi
double phi() const
Definition: MissingEtHandle.cxx:95
AODSysCommonData::registerHandle
void registerHandle(AODHandleBase *h)
Definition: AODSysCommonData.cxx:60
AODHandleBase::m_currentmaterial
SoMaterial * m_currentmaterial
Definition: AODHandleBase.h:127
MissingEtHandle::m_d
Imp * m_d
Definition: MissingEtHandle.h:69
MissingEtCollHandle
Definition: MissingEtCollHandle.h:27
AODHandleBase::clear3DObjects
virtual void clear3DObjects()=0
Delete objects.