Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include <Inventor/nodes/SoLineSet.h>
26 #include <Inventor/nodes/SoPointSet.h>
27 #include <Inventor/nodes/SoVertexProperty.h>
28 #include <Inventor/nodes/SoMaterial.h>
30 #include <Inventor/nodes/SoSeparator.h>
31 #include <Inventor/nodes/SoTranslation.h>
32 #include <Inventor/nodes/SoRotationXYZ.h>
33 #include <Inventor/nodes/SoScale.h>
34 #include <Inventor/nodes/SoSwitch.h>
39 #include "GeoModelKernel/Units.h"
40 #define SYSTEM_OF_UNITS GeoModelKernelUnits // --> 'GeoModelKernelUnits::cm'
42 #include "GaudiKernel/SystemOfUnits.h"
43 #define SYSTEM_OF_UNITS Gaudi::Units // --> 'Gaudi::Units::cm'
56 SoSeparator *
sep =
nullptr;
120 if (not collHandleJet)
return false;
180 m_d->
sep =
new SoSeparator();
185 if (not coll_handle)
return m_d->
sep;
218 const double dEta = 0.05;
219 const double dPhi = 0.05;
220 const double theEta =
eta();
221 const double thePhi =
phi();
243 m_genericBox->drawEdgeLines = coll_handle->
showOutlines();
244 m_genericBox->forceEdgeLinesInBaseColour =
true;
249 updateShapePars(coll_handle);
256 sep->addChild(m_genericBox);
408 l <<
"--CaloCluster:";
480 QString dParameters(
"(");
484 dParameters +=
"pt: ";
487 dParameters +=
", et: ";
490 dParameters +=
", eta: ";
493 dParameters +=
", phi: ";
515 TSOSitem->setText(0, QString(
"CaloCluster Parameters " ) );
518 dParameters +=
" [more info in the main Message Box]";
520 TSOSitem->setText(1, dParameters );
596 str <<
"\"energy\":" <<
m_d->
e();
virtual double phi() const
The azimuthal angle ( ) of the particle.
static const double calo_start_r
IParticleHandle_CaloCluster(IParticleCollHandleBase *, const xAOD::CaloCluster *)
virtual void clear3DObjects()
Delete objects.
SoMaterial * material() const
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
This gives the list of object's properties, shown in the 'Information' field in the Browser,...
double energyToLength(const double &energy) const
virtual double charge() const
Returns unknown() in case of trouble.
const xAOD::CaloCluster * m_cluster
QString shortInfo() const
This returns the information shown about the object in the object browser.
void setParametersForEndCapEtaPhiCell(double etaMin, double etaMax, double phiMin, double phiMax, double cellDepth, double cellDistance, double etasqueezefact=1.0, double phisqueezefact=1.0)
void setParametersForBarrelEtaPhiCell(double etaMin, double etaMax, double phiMin, double phiMax, double cellDepth, double cellDistance, double etasqueezefact=1.0, double phisqueezefact=1.0)
bool isConsiderTransverseEnergies() const
virtual double m() const
The invariant mass of the particle.
SoGenericBox * genericBox()
const AODCollHandleBase * collHandle() const
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
Class providing the definition of the 4-vector interface.
IParticleHandle_CaloCluster * theclass
void updateShape(IParticleCollHandle_CaloCluster *coll)
static QString str(const QString &s)
const xAOD::IParticle & iParticle() const
ClusterSize clusterSize() const
Get cluster size.
SoGenericBox * genericBox()
Description of a calorimeter cluster.
bool inEndcap() const
Returns true if at least one clustered cell in the endcap.
virtual void dumpToJSON(std::ofstream &) const
virtual double eta() const
The pseudorapidity ( ) of the particle.
SoGenericBox * m_genericBox
virtual QStringList clicked() const
This gives the complete information about the object, shown in the main Message Box.
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
bool inBarrel() const
Returns true if at least one clustered cell in the barrel.
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
const IParticleCollHandle_CaloCluster * theCollHandle
void createShapeFromParameters(const IParticleCollHandle_CaloCluster *coll_handle)
double energyForLengthAndCuts()
virtual double pt() const
The transverse momentum ( ) of the particle (negative for negative-energy clusters)
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
virtual SoNode * nodes()
Returns the 3Dobjects.
double energyForCuts() const
static void messageVerbose(const QString &)
void updateShapePars(const IParticleCollHandle_CaloCluster *coll_handle)
bool showOutlines() const
double energyForLengthAndCuts(const IParticleCollHandle_CaloCluster *coll_handle)
bool isConsiderTransverseEnergy() const
virtual ~IParticleHandle_CaloCluster()
static void messageDebug(const QString &)
bool considerTransverseEnergies
static const double calo_crack_eta
const xAOD::CaloCluster * cluster() const
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
virtual double rapidity() const
The true rapidity (y) of the particle.
virtual double e() const
The total energy of the particle.
static const double calo_start_z