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

#include <VP1SoMaterialMixer.h>

Inheritance diagram for VP1SoMaterialMixer:
Collaboration diagram for VP1SoMaterialMixer:

Classes

class  Imp
 

Public Member Functions

 VP1SoMaterialMixer (IVP1System *sys=0)
 
virtual ~VP1SoMaterialMixer ()
 
SoMaterial * getMixedMaterial (const std::set< SoMaterial * > &)
 
SoMaterial * getMixedMaterial (const std::map< SoMaterial *, double > &)
 
SoMaterial * getMixedMaterial (SoMaterial *mat1, SoMaterial *mat2)
 
SoMaterial * getMixedMaterial (SoMaterial *mat1, const double &weight1, SoMaterial *mat2, const double &weight2)
 
void setSystemBasePointer (IVP1System *sys)
 
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
 
IVP1SystemsystemBase () const
 
QString helperClassName () const
 

Static Public Member Functions

static bool verbose ()
 
static void warnUndeletedInstances ()
 
static QString str (const QString &s)
 
static QString str (const char *c)
 
static QString str (const bool b)
 
static QString str (const QColor &)
 
static QString str (const SbColor &)
 
static QString str (const VP1Interval &)
 
static QString str (const SbVec2d &)
 
static QString str (const SbVec2f &)
 
static QString str (const SbVec2s &)
 
static QString str (const SbVec3d &)
 
static QString str (const SbVec3f &)
 
static QString str (const SbVec3s &)
 
static QString str (const SbVec4d &)
 
static QString str (const SbVec4f &)
 
static QString str (short int n)
 
static QString str (unsigned short int n)
 
static QString str (long n)
 
static QString str (ulong n)
 
static QString str (int n)
 
static QString str (uint n)
 
static QString str (qlonglong n)
 
static QString str (qulonglong n)
 
static QString str (const double &d)
 
static QString str (const float &f)
 
static QString str (const void *)
 
template<class T >
static QString str (const T *t)
 
template<class T >
static QString str (const QFlags< T > &f)
 
template<class T >
static QString str (const HepGeom::BasicVector3D< T > &t)
 
static QString str (const Amg::Vector3D &t)
 
template<class T >
static QString str (const QList< T > &t)
 

Protected Member Functions

void setHelperClassName (const QString &n)
 

Private Attributes

Impm_d
 
QString m_helpername
 
IVP1Systemm_system
 

Static Private Attributes

static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
 

Detailed Description

Definition at line 19 of file VP1SoMaterialMixer.h.

Constructor & Destructor Documentation

◆ VP1SoMaterialMixer()

VP1SoMaterialMixer::VP1SoMaterialMixer ( IVP1System sys = 0)

Definition at line 58 of file VP1SoMaterialMixer.cxx.

59  : VP1HelperClassBase(sys,"VP1SoMaterialMixer"), m_d(new Imp)
60 {
61  m_d->theclass = this;
62  m_d->defmat = 0;
63 }

◆ ~VP1SoMaterialMixer()

VP1SoMaterialMixer::~VP1SoMaterialMixer ( )
virtual

Definition at line 66 of file VP1SoMaterialMixer.cxx.

67 {
68  {
69  std::map<std::set<SoMaterial*>,SoMaterial*>::const_iterator it, itE = m_d->matlists2mixedmats.end();
71  for (it = m_d->matlists2mixedmats.begin();it!=itE;++it) {
72  for (it2=it->first.begin(), it2E=it->first.end();it2!=it2E;++it2)
73  (*it2)->unref();
74  it->second->unref();
75  }
76  }
77  {
78  std::map<std::map<SoMaterial*,double>,SoMaterial*>::iterator it, itE = m_d->matlists2mixedmats_weighted.end();
79  std::map<SoMaterial*,double>::const_iterator it2,it2E;
80  for (it = m_d->matlists2mixedmats_weighted.begin();it!=itE;++it) {
81  for (it2=it->first.begin(),it2E=it->first.end();it2!=it2E;++it2)
82  it2->first->unref();
83  it->second->unref();
84  }
85  }
86 
87  {
89  for (;it!=itE;++it) {
90  m_d->sensor2matmixerimp.erase(m_d->sensor2matmixerimp.find(it->second));
91  delete it->second;
92  it->first->unref();
93  }
94  }
95  if (m_d->defmat)
96  m_d->defmat->unref();
97 
98  //Print out warning if too many different mixed materials, to give
99  //the developers a chance to notice if they are doing something not
100  //optimal.
101 
102  if (m_d->matlists2mixedmats.size()+m_d->matlists2mixedmats_weighted.size()>100)
103  if(VP1Msg::debug()){
104  messageDebug("WARNING: Watched more than 100 ("
106  + ") different material combinations. Try to use fewer combinations for better performance!");
107  }
108  if (m_d->mat2sensors.size()>1000)
109  if(VP1Msg::debug()){
110  messageDebug("WARNING: Monitored more than 1000 (" +str(m_d->mat2sensors.size())+
111  ") different materials. Try to lower this number for better performance!");
112  }
113 
114  delete m_d;
115 }

Member Function Documentation

◆ getMixedMaterial() [1/4]

SoMaterial * VP1SoMaterialMixer::getMixedMaterial ( const std::map< SoMaterial *, double > &  matlist)

Definition at line 318 of file VP1SoMaterialMixer.cxx.

319 {
320  //Check incoming materials!
321  bool error(false);
322  std::map<SoMaterial*,double>::const_iterator it(matlist.begin()), itE(matlist.end());
323  for (;it!=itE;++it) {
324  if (!m_d->inputMaterialValid(it->first)||it->second<=0.0) {
325  error=true;
326  break;
327  }
328  }
329  if (matlist.empty()) {
330  VP1Msg::message("ERROR: asked to handle empty material list.");
331  return m_d->defaultMaterial();
332  }
333  if (error) {
334  VP1Msg::message("ERROR: asked to handle invalid material list.");
335  return m_d->defaultMaterial();
336  }
337 
338  //Someone might be silly enough to call with just one material:
339  if (matlist.size()==1)
340  return matlist.begin()->first;
341 
342  //Do we already have a mixed material for this list:
343  std::map<std::map<SoMaterial*,double>,SoMaterial*>::const_iterator it2 = m_d->matlists2mixedmats_weighted.find(matlist);
344  if (it2!=m_d->matlists2mixedmats_weighted.end())
345  return it2->second;
346 
347  //Create new mixed material:
348  SoMaterial * mixmat = new SoMaterial;
349  m_d->setMaterialFieldsAsAverageOfMatList(mixmat,matlist);
350 
351  //Set up monitoring, add to maps and refcount materials:
352  std::map<SoMaterial*,double>::const_iterator it3(matlist.begin()), it3E(matlist.end());
353  for (;it3!=it3E;++it3) {
354  m_d->monitorMaterial(it3->first);
355  it3->first->ref();//since we keep the pointer.
356  }
357  mixmat->ref();
358  m_d->matlists2mixedmats_weighted[matlist] = mixmat;
359 
360  return mixmat;
361 }

◆ getMixedMaterial() [2/4]

SoMaterial * VP1SoMaterialMixer::getMixedMaterial ( const std::set< SoMaterial * > &  matlist)

Definition at line 273 of file VP1SoMaterialMixer.cxx.

273  {
274  //Check incoming materials!
275  bool error(false);
276  std::set<SoMaterial*>::const_iterator it(matlist.begin()), itE(matlist.end());
277  for (;it!=itE;++it) {
278  if (!m_d->inputMaterialValid(*it)) {
279  error=true;
280  break;
281  }
282  }
283  if (matlist.empty()) {
284  VP1Msg::message("ERROR: asked to handle empty material list.");
285  return m_d->defaultMaterial();
286  }
287  if (error) {
288  VP1Msg::message("ERROR: asked to handle invalid material list.");
289  return m_d->defaultMaterial();
290  }
291 
292  //Someone might be silly enough to call with just one material:
293  if (matlist.size()==1)
294  return *(matlist.begin());
295 
296  //Do we already have a mixed material for this list:
297  std::map<std::set<SoMaterial*>,SoMaterial*>::const_iterator it2 = m_d->matlists2mixedmats.find(matlist);
298  if (it2!=m_d->matlists2mixedmats.end())
299  return it2->second;
300 
301  //Create new mixed material:
302  SoMaterial * mixmat = new SoMaterial;
303  m_d->setMaterialFieldsAsAverageOfMatList(mixmat,matlist);
304 
305  //Set up monitoring, add to maps and refcount materials:
306  std::set<SoMaterial*>::const_iterator it3(matlist.begin()), it3E(matlist.end());
307  for (;it3!=it3E;++it3) {
308  m_d->monitorMaterial(*it3);
309  (*it3)->ref();//since we keep the pointer.
310  }
311  mixmat->ref();
312  m_d->matlists2mixedmats[matlist] = mixmat;
313 
314  return mixmat;
315 }

◆ getMixedMaterial() [3/4]

SoMaterial * VP1SoMaterialMixer::getMixedMaterial ( SoMaterial *  mat1,
const double &  weight1,
SoMaterial *  mat2,
const double &  weight2 
)

Definition at line 373 of file VP1SoMaterialMixer.cxx.

375 {
376  std::map<SoMaterial*,double> matlist;
377  matlist[mat1] = weight1;
378  matlist[mat2] = weight2;
379  return getMixedMaterial(matlist);
380 }

◆ getMixedMaterial() [4/4]

SoMaterial * VP1SoMaterialMixer::getMixedMaterial ( SoMaterial *  mat1,
SoMaterial *  mat2 
)

Definition at line 364 of file VP1SoMaterialMixer.cxx.

365 {
366  std::set<SoMaterial*> matlist;
367  matlist.insert(m1);
368  matlist.insert(m2);
369  return getMixedMaterial(matlist);
370 }

◆ helperClassName()

QString VP1HelperClassBase::helperClassName ( ) const
inlineinherited

Definition at line 51 of file VP1HelperClassBase.h.

51 { return m_helpername; }

◆ message() [1/3]

void VP1HelperClassBase::message ( const QString &  str) const
inherited

Definition at line 49 of file VP1HelperClassBase.cxx.

50 {
51  if (m_helpername.isEmpty()) {
52  if (m_system)
54  else
55  std::cout<<VP1Msg::prefix_msg()<<" [nameless helper class]: "<<str.toStdString()<<std::endl;
56  } else {
57  if (m_system)
58  m_system->message("["+m_helpername+"] " + str);
59  else
60  std::cout<<VP1Msg::prefix_msg()<<" ["<<m_helpername.toStdString()<<"]: "<<str.toStdString()<<std::endl;
61  }
62 }

◆ message() [2/3]

void VP1HelperClassBase::message ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 131 of file VP1HelperClassBase.cxx.

132 {
133  if (addtostart.isEmpty()) {
134  message(l,addtoend);
135  return;
136  }
137  if (addtoend.isEmpty()) {
138  for (QString s : l)
139  message(addtostart+s);
140  } else {
141  for (QString s : l)
142  message(addtostart+s+addtoend);
143  }
144 }

◆ message() [3/3]

void VP1HelperClassBase::message ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 91 of file VP1HelperClassBase.cxx.

92 {
93  if (addtoend.isEmpty()) {
94  for (QString s : l)
95  message(s);
96  } else {
97  for (QString s : l)
98  message(s+addtoend);
99  }
100 }

◆ messageDebug() [1/3]

void VP1HelperClassBase::messageDebug ( const QString &  str) const
inherited

Definition at line 65 of file VP1HelperClassBase.cxx.

66 {
67  if (!VP1Msg::debug())
68  return;
69  std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
70  if (m_helpername.isEmpty()) {
71  std::cout<<VP1Msg::prefix_debug()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
72  } else {
73  std::cout<<VP1Msg::prefix_debug()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
74  }
75 }

◆ messageDebug() [2/3]

void VP1HelperClassBase::messageDebug ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 147 of file VP1HelperClassBase.cxx.

148 {
149  if (!VP1Msg::debug())
150  return;
151  if (addtostart.isEmpty()) {
152  messageDebug(l,addtoend);
153  return;
154  }
155  if (addtoend.isEmpty()) {
156  for (QString s : l)
157  messageDebug(addtostart+s);
158  } else {
159  for (QString s : l)
160  messageDebug(addtostart+s+addtoend);
161  }
162 }

◆ messageDebug() [3/3]

void VP1HelperClassBase::messageDebug ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 103 of file VP1HelperClassBase.cxx.

104 {
105  if (!VP1Msg::debug())
106  return;
107  if (addtoend.isEmpty()) {
108  for (QString s : l)
109  messageDebug(s);
110  } else {
111  for (QString s : l)
112  messageDebug(s+addtoend);
113  }
114 }

◆ messageVerbose() [1/3]

void VP1HelperClassBase::messageVerbose ( const QString &  str) const
inherited

Definition at line 78 of file VP1HelperClassBase.cxx.

79 {
80  if (!VP1Msg::verbose())
81  return;
82  std::string sysstring(m_system ? " in "+m_system->name().toStdString() : std::string(""));
83  if (m_helpername.isEmpty()) {
84  std::cout<<VP1Msg::prefix_verbose()<<" [helper"<<sysstring<<"]: "<<str.toStdString()<<std::endl;
85  } else {
86  std::cout<<VP1Msg::prefix_verbose()<<" ["<<m_helpername.toStdString()<<sysstring<<"]: "<<str.toStdString()<<std::endl;
87  }
88 }

◆ messageVerbose() [2/3]

void VP1HelperClassBase::messageVerbose ( const QString &  addtostart,
const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 165 of file VP1HelperClassBase.cxx.

166 {
167  if (!VP1Msg::verbose())
168  return;
169  if (addtostart.isEmpty()) {
170  messageVerbose(l,addtoend);
171  return;
172  }
173  if (addtoend.isEmpty()) {
174  for (QString s : l)
175  messageVerbose(addtostart+s);
176  } else {
177  for (QString s : l)
178  messageVerbose(addtostart+s+addtoend);
179  }
180 }

◆ messageVerbose() [3/3]

void VP1HelperClassBase::messageVerbose ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 117 of file VP1HelperClassBase.cxx.

118 {
119  if (!VP1Msg::verbose())
120  return;
121  if (addtoend.isEmpty()) {
122  for (QString s : l)
123  messageVerbose(s);
124  } else {
125  for (QString s : l)
126  messageVerbose(s+addtoend);
127  }
128 }

◆ setHelperClassName()

void VP1HelperClassBase::setHelperClassName ( const QString &  n)
inlineprotectedinherited

Definition at line 59 of file VP1HelperClassBase.h.

59 { m_helpername = n; }

◆ setSystemBasePointer()

void VP1HelperClassBase::setSystemBasePointer ( IVP1System sys)
inherited

Definition at line 197 of file VP1HelperClassBase.cxx.

198 {
199  m_system = sys;
200  if (VP1Msg::verbose()){
201  vp1helperclassbase_instanceMap[this] = (m_system?m_system->name():QString(""));
202  }
203 }

◆ str() [1/30]

static QString VP1String::str ( const Amg::Vector3D t)
inlinestaticinherited

Definition at line 98 of file VP1String.h.

98 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ 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

Definition at line 50 of file VP1String.h.

50 { return c; }

◆ str() [4/30]

static QString VP1String::str ( const double &  d)
inlinestaticinherited

Definition at line 81 of file VP1String.h.

81 { return QString::number(d); }

◆ str() [5/30]

static QString VP1String::str ( const float &  f)
inlinestaticinherited

Definition at line 82 of file VP1String.h.

82 { return QString::number(f); }

◆ str() [6/30]

template<class T >
static QString VP1String::str ( const HepGeom::BasicVector3D< T > &  t)
inlinestaticinherited

Definition at line 95 of file VP1String.h.

95 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [7/30]

QString VP1String::str ( const QColor &  c)
staticinherited

Definition at line 30 of file VP1String.cxx.

31 {
32  return c.isValid() ? c.name() : "Invalid";
33 }

◆ str() [8/30]

template<class T >
static QString VP1String::str ( const QFlags< T > &  f)
inlinestaticinherited

Definition at line 91 of file VP1String.h.

91 { return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }

◆ str() [9/30]

template<class T >
static QString VP1String::str ( const QList< T > &  t)
inlinestaticinherited

Definition at line 102 of file VP1String.h.

102 { return "QList of size"+QString::number(t.size()); }

◆ str() [10/30]

static QString VP1String::str ( const QString &  s)
inlinestaticinherited

Definition at line 49 of file VP1String.h.

49 { return s; }

◆ str() [11/30]

QString VP1String::str ( const SbColor &  c)
staticinherited

Definition at line 36 of file VP1String.cxx.

37 {
39 }

◆ str() [12/30]

QString VP1String::str ( const SbVec2d &  v)
staticinherited

Definition at line 61 of file VP1String.cxx.

61 { double x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [13/30]

QString VP1String::str ( const SbVec2f &  v)
staticinherited

Definition at line 62 of file VP1String.cxx.

62 { float x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [14/30]

QString VP1String::str ( const SbVec2s &  v)
staticinherited

Definition at line 63 of file VP1String.cxx.

63 { short x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [15/30]

QString VP1String::str ( const SbVec3d &  v)
staticinherited

Definition at line 64 of file VP1String.cxx.

64 { double x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [16/30]

QString VP1String::str ( const SbVec3f &  v)
staticinherited

Definition at line 65 of file VP1String.cxx.

65 { float x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [17/30]

QString VP1String::str ( const SbVec3s &  v)
staticinherited

Definition at line 66 of file VP1String.cxx.

66 { short x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [18/30]

QString VP1String::str ( const SbVec4d &  v)
staticinherited

Definition at line 67 of file VP1String.cxx.

67 { double x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [19/30]

QString VP1String::str ( const SbVec4f &  v)
staticinherited

Definition at line 68 of file VP1String.cxx.

68 { float x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ 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.

49 {
50  if (p) {
51  std::ostringstream s;
52  s << p;
53  // Explicitly naming QString here avoids a cppcheck warning.
54  return QString (s.str().c_str());
55  } else {
56  return "NULL";
57  }
58 }

◆ str() [22/30]

QString VP1String::str ( const VP1Interval i)
staticinherited

Definition at line 42 of file VP1String.cxx.

43 {
44  return i.toString();
45 }

◆ str() [23/30]

static QString VP1String::str ( int  n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

77 { return QString::number(n); }

◆ str() [24/30]

static QString VP1String::str ( long  n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

75 { return QString::number(n); }

◆ str() [25/30]

static QString VP1String::str ( qlonglong  n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

79 { return QString::number(n); }

◆ str() [26/30]

static QString VP1String::str ( qulonglong  n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

80 { return QString::number(n); }

◆ str() [27/30]

static QString VP1String::str ( short int  n)
inlinestaticinherited

Definition at line 73 of file VP1String.h.

73 { return QString::number(n); }

◆ str() [28/30]

static QString VP1String::str ( uint  n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

78 { return QString::number(n); }

◆ str() [29/30]

static QString VP1String::str ( ulong  n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

76 { return QString::number(n); }

◆ str() [30/30]

static QString VP1String::str ( unsigned short int  n)
inlinestaticinherited

Definition at line 74 of file VP1String.h.

74 { return QString::number(n); }

◆ systemBase()

IVP1System* VP1HelperClassBase::systemBase ( ) const
inlineinherited

Definition at line 50 of file VP1HelperClassBase.h.

50 { return m_system; }

◆ verbose()

static bool VP1HelperClassBase::verbose ( )
inlinestaticinherited

Definition at line 32 of file VP1HelperClassBase.h.

32 { return s_vp1verbose; } // Returns true if env var VP1_VERBOSE_OUTPUT=1

◆ warnUndeletedInstances()

void VP1HelperClassBase::warnUndeletedInstances ( )
staticinherited

Definition at line 183 of file VP1HelperClassBase.cxx.

184 {
185  if (vp1helperclassbase_instanceMap.empty())
186  return;
187  std::cout << "WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<" undeleted helper class instances:"<<std::endl;
188 
189  std::map<VP1HelperClassBase*,QString>::iterator it,itE(vp1helperclassbase_instanceMap.end());
190  for (it = vp1helperclassbase_instanceMap.begin();it!=itE;++it) {
191  std::cout << " ==> "<<it->first<<": "<<it->first->m_helpername.toStdString()
192  << (it->second.isEmpty()?QString(""):" (in system "+it->second+")").toStdString()<<std::endl;
193  }
194 }

Member Data Documentation

◆ m_d

Imp* VP1SoMaterialMixer::m_d
private

Definition at line 49 of file VP1SoMaterialMixer.h.

◆ m_helpername

QString VP1HelperClassBase::m_helpername
privateinherited

Definition at line 67 of file VP1HelperClassBase.h.

◆ m_system

IVP1System* VP1HelperClassBase::m_system
privateinherited

Definition at line 68 of file VP1HelperClassBase.h.

◆ s_vp1verbose

const bool VP1HelperClassBase::s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
staticprivateinherited

Definition at line 69 of file VP1HelperClassBase.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m2
int m2
Definition: SystemOfUnits.py:92
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
hist_file_dump.d
d
Definition: hist_file_dump.py:137
VP1HelperClassBase::m_helpername
QString m_helpername
Definition: VP1HelperClassBase.h:67
VP1HelperClassBase::messageVerbose
void messageVerbose(const QString &) const
Definition: VP1HelperClassBase.cxx:78
VP1HelperClassBase::s_vp1verbose
static const bool s_vp1verbose
Definition: VP1HelperClassBase.h:69
skel.it
it
Definition: skel.GENtoEVGEN.py:423
VP1SoMaterialMixer::getMixedMaterial
SoMaterial * getMixedMaterial(const std::set< SoMaterial * > &)
Definition: VP1SoMaterialMixer.cxx:273
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1HelperClassBase::m_system
IVP1System * m_system
Definition: VP1HelperClassBase.h:68
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
VP1SoMaterialMixer::Imp::setMaterialFieldsAsAverageOfMatList
void setMaterialFieldsAsAverageOfMatList(SoMaterial *mat, const std::set< SoMaterial * > &matlist)
Definition: VP1SoMaterialMixer.cxx:188
x
#define x
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
VP1HelperClassBase::messageDebug
void messageDebug(const QString &) const
Definition: VP1HelperClassBase.cxx:65
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
TruthTest.itE
itE
Definition: TruthTest.py:25
VP1SoMaterialMixer::Imp::defaultMaterial
SoMaterial * defaultMaterial()
Definition: VP1SoMaterialMixer.cxx:34
python.changerun.m1
m1
Definition: changerun.py:32
VP1SoMaterialMixer::Imp::matlists2mixedmats_weighted
std::map< std::map< SoMaterial *, double >, SoMaterial * > matlists2mixedmats_weighted
Definition: VP1SoMaterialMixer.cxx:45
VP1Msg::prefix_msg
static const char * prefix_msg()
Definition: VP1Msg.h:56
lumiFormat.i
int i
Definition: lumiFormat.py:92
z
#define z
beamspotman.n
n
Definition: beamspotman.py:731
VP1SoMaterialMixer::Imp::matlists2mixedmats
std::map< std::set< SoMaterial * >, SoMaterial * > matlists2mixedmats
Definition: VP1SoMaterialMixer.cxx:44
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
VP1SoMaterialMixer::Imp::mat2sensors
std::map< SoMaterial *, SoNodeSensor * > mat2sensors
Definition: VP1SoMaterialMixer.cxx:46
VP1SoMaterialMixer::m_d
Imp * m_d
Definition: VP1SoMaterialMixer.h:48
VP1QtInventorUtils::sbcol2qcol
static QColor sbcol2qcol(const SbColor &)
Definition: VP1QtInventorUtils.cxx:1140
python.selection.number
number
Definition: selection.py:20
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
VP1SoMaterialMixer::Imp::defmat
SoMaterial * defmat
Definition: VP1SoMaterialMixer.cxx:33
python.PyAthena.v
v
Definition: PyAthena.py:157
VP1Msg::prefix_verbose
static const char * prefix_verbose()
Definition: VP1Msg.h:59
y
#define y
VP1SoMaterialMixer::Imp::monitorMaterial
void monitorMaterial(SoMaterial *)
Definition: VP1SoMaterialMixer.cxx:146
VP1Msg::message
static void message(const QString &, IVP1System *sys=0)
Definition: VP1Msg.cxx:30
VP1SoMaterialMixer::Imp::inputMaterialValid
static bool inputMaterialValid(SoMaterial *)
Definition: VP1SoMaterialMixer.cxx:118
VP1SoMaterialMixer::Imp::sensor2matmixerimp
static std::map< SoSensor *, VP1SoMaterialMixer::Imp * > sensor2matmixerimp
Definition: VP1SoMaterialMixer.cxx:27
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
str
Definition: BTagTrackIpAccessor.cxx:11
VP1SoMaterialMixer::Imp::theclass
VP1SoMaterialMixer * theclass
Definition: VP1SoMaterialMixer.cxx:20
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
VP1HelperClassBase::VP1HelperClassBase
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
Definition: VP1HelperClassBase.cxx:28
get_generator_info.error
error
Definition: get_generator_info.py:40
error
Definition: IImpactPoint3dEstimator.h:70
python.compressB64.c
def c
Definition: compressB64.py:93
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336