|
ATLAS Offline Software
|
#include <IParticleHandle_Jet.h>
Definition at line 32 of file IParticleHandle_Jet.h.
◆ IParticleHandle_Jet()
◆ ~IParticleHandle_Jet()
IParticleHandle_Jet::~IParticleHandle_Jet |
( |
| ) |
|
|
virtual |
◆ attach3DObjects()
void AODHandleBase::attach3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ baseInfo()
QStringList IParticleHandleBase::baseInfo |
( |
| ) |
const |
|
virtualinherited |
◆ browserTreeItem()
QTreeWidgetItem * AODHandleBase::browserTreeItem |
( |
| ) |
const |
|
inherited |
◆ charge()
double IParticleHandle_Jet::charge |
( |
| ) |
const |
|
virtual |
◆ clear3DObjects()
void IParticleHandle_Jet::clear3DObjects |
( |
| ) |
|
|
virtual |
◆ clicked()
QStringList IParticleHandle_Jet::clicked |
( |
| ) |
const |
|
virtual |
This gives the complete information about the object, shown in the main Message Box.
Implements AODHandleBase.
Definition at line 455 of file IParticleHandle_Jet.cxx.
480 l +=
" - AlgorithmType: " + QString::fromStdString(
algName );
484 l +=
" - InputType: " + QString::fromStdString(
inputType );
◆ collHandle()
◆ common()
◆ currentMaterial()
SoMaterial* AODHandleBase::currentMaterial |
( |
| ) |
const |
|
inlineinherited |
Returns the current material of the handle.
Definition at line 76 of file AODHandleBase.h.
◆ currentMaterialChanged()
virtual void AODHandleBase::currentMaterialChanged |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ detach3DObjects()
void AODHandleBase::detach3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ determineMaterial()
SoMaterial * IParticleHandleBase::determineMaterial |
( |
| ) |
|
|
virtualinherited |
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 71 of file IParticleHandleBase.cxx.
◆ dumpToJSON()
void IParticleHandle_Jet::dumpToJSON |
( |
std::ofstream & |
str | ) |
const |
|
virtual |
◆ energy()
double IParticleHandle_Jet::energy |
( |
| ) |
const |
◆ energyForCuts()
double IParticleHandle_Jet::energyForCuts |
( |
| ) |
const |
◆ ensureInitSubSysHitInfo()
void IParticleHandle_Jet::ensureInitSubSysHitInfo |
( |
| ) |
const |
|
private |
◆ eta()
double IParticleHandle_Jet::eta |
( |
| ) |
const |
◆ fillObjectBrowser()
void IParticleHandle_Jet::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.
'Jet0')
Reimplemented from AODHandleBase.
Definition at line 522 of file IParticleHandle_Jet.cxx.
529 TSOSitem->setText(0, QString(
"Info:" ) );
531 QString dParameters(
"(");
540 dParameters+=
", e: ";
542 dParameters+=
", eta: ";
544 dParameters+=
", phi: ";
546 dParameters+=
", m: ";
548 dParameters+=
", rapidity: ";
555 dParameters +=
" [more info in the main Message Box]";
557 TSOSitem->setText(1, dParameters );
◆ getBTaggingWeight()
double IParticleHandle_Jet::getBTaggingWeight |
( |
std::string |
tagger | ) |
|
|
private |
Definition at line 719 of file IParticleHandle_Jet.cxx.
726 if (myBTag ==
nullptr) {
727 VP1Msg::messageWarningRed(
"It was not possible to access the pointer to b-tagging info, for the selected collection! Returning 'weight': 0.0");
757 if (tagger==
"MV2c20")
759 else if (tagger==
"MV2c10")
761 else if (tagger==
"MV2c00")
764 VP1Msg::message(
"Tagger '" + QString::fromStdString(tagger) +
"' not found! Returning weight=0.0 ...");
◆ has3DObjects()
bool IParticleHandle_Jet::has3DObjects |
( |
| ) |
|
|
virtual |
◆ hasCharge()
bool IParticleHandleBase::hasCharge |
( |
| ) |
const |
|
inlineinherited |
◆ hasMass()
bool IParticleHandleBase::hasMass |
( |
| ) |
const |
|
inlineinherited |
◆ iParticle()
◆ mass()
double IParticleHandleBase::mass |
( |
| ) |
const |
|
virtualinherited |
◆ momentum()
◆ nodes()
SoNode * IParticleHandle_Jet::nodes |
( |
| ) |
|
|
virtual |
◆ numberOfInstances()
int AODHandleBase::numberOfInstances |
( |
| ) |
|
|
staticinherited |
◆ phi()
double IParticleHandle_Jet::phi |
( |
| ) |
const |
◆ rebuild3DObjects()
void AODHandleBase::rebuild3DObjects |
( |
| ) |
|
|
virtualinherited |
◆ rerandomiseMaterial()
void IParticleHandle_Jet::rerandomiseMaterial |
( |
| ) |
|
◆ setMaxR()
void IParticleHandle_Jet::setMaxR |
( |
const double & |
maxR | ) |
|
◆ setScale()
void IParticleHandle_Jet::setScale |
( |
const double & |
sc, |
|
|
bool |
useEt |
|
) |
| |
◆ setVisible()
void AODHandleBase::setVisible |
( |
bool |
vis | ) |
|
|
inherited |
use by the collection handle.
Definition at line 99 of file AODHandleBase.cxx.
101 QString
tmp = (vis==
true)?
"True":
"False";
◆ shortInfo()
QString IParticleHandle_Jet::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.
'Jet0')
Reimplemented from AODHandleBase.
Definition at line 501 of file IParticleHandle_Jet.cxx.
◆ transverseEnergy()
double IParticleHandle_Jet::transverseEnergy |
( |
| ) |
const |
◆ type()
virtual QString IParticleHandle_Jet::type |
( |
| ) |
const |
|
inlinevirtual |
◆ unknown()
static double AODHandleBase::unknown |
( |
| ) |
|
|
inlinestaticinherited |
◆ 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.
◆ updateBTagging()
void IParticleHandle_Jet::updateBTagging |
( |
const std::string & |
bTaggingTagger, |
|
|
const double & |
bTaggingCut |
|
) |
| |
Definition at line 695 of file IParticleHandle_Jet.cxx.
703 std::cout <<
"B-TAG UPDATE - jet eta: " <<
m_d->
eta() <<
", phi: " <<
m_d->
phi() <<
" - tagger: " << bTaggingTagger <<
" - cut: " << bTaggingCut <<
" - weight: " << bTaggingWeight;
705 if (bTaggingWeight > bTaggingCut) {
707 std::cout <<
" ON" << std::endl;
711 std::cout <<
" OFF" << std::endl;
◆ updateBTaggingSwitch()
void IParticleHandle_Jet::updateBTaggingSwitch |
( |
SoSwitch * |
bTaggingSwitch | ) |
|
◆ updateHeight()
void IParticleHandle_Jet::updateHeight |
( |
| ) |
|
◆ updateMaterial() [1/2]
void AODHandleBase::updateMaterial |
( |
| ) |
|
|
inherited |
Called after some configuration related to material changes.
Definition at line 208 of file AODHandleBase.cxx.
◆ updateMaterial() [2/2]
void IParticleHandle_Jet::updateMaterial |
( |
bool |
isRandomColors | ) |
|
◆ updateObjectBrowser()
void AODHandleBase::updateObjectBrowser |
( |
| ) |
|
|
inlineinherited |
◆ visible()
bool AODHandleBase::visible |
( |
| ) |
const |
|
inlineinherited |
◆ 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.
329 itemFont.setStrikeOut(!
visible());
◆ m_collhandle
◆ m_currentmaterial
SoMaterial* AODHandleBase::m_currentmaterial |
|
privateinherited |
◆ m_d
Imp* IParticleHandle_Jet::m_d |
|
private |
◆ m_visible
bool AODHandleBase::m_visible |
|
privateinherited |
The documentation for this class was generated from the following files:
void createShapeFromJetParameters(const IParticleCollHandle_Jet *collHandleJet, const double &coneR, const double &eta, const double &phi, const double &energy, const SbVec3f &origin)
SoMaterial * material() const
virtual void detach3DObjects()
Remove from the scene graph.
const T * getAssociatedObject(const std::string &name) const
get a single associated object this compact form throws an exception if the object is not existing
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
AODCollHandleBase * m_collhandle
const AODCollHandleBase * collHandle() const
virtual SoMaterial * determineMaterial()=0
Should be implemented by children, in order to change the material depending on the interface etc.
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
void updateConeHeightParameters(SoCone *, SoTranslation *, const double &energy) const
const Amg::Vector3D & position() const
Returns the 3-pos.
double transverseEnergy() const
JetAlgorithmType::ID getAlgorithmType() const
JetInput::Type getInputType() const
virtual double charge() const =0
static QString str(const QString &s)
virtual void currentMaterialChanged()
double getBTaggingWeight(std::string tagger)
const AODSysCommonData * common() const
double m_JetFitterCombNN_pb
void incrementNShownHandles()
static double phiFromXY(const double &x, const double &y)
virtual void attach3DObjects()
Connect to the scene graph.
float pz() const
The z-component of the jet's momentum.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
float getSizeParameter() const
IParticleHandle_Jet * theclass
static std::atomic< int > nobjhandles
void rerandomiseMaterial()
virtual Amg::Vector3D momentum() const
double energyForLengthAndCuts() const
virtual void visibleStateChanged()
Dummy implementation does nothing.
void deregisterHandle(AODHandleBase *h)
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
double m_JetFitterCombNN_pc
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
float py() const
The y-component of the jet's momentum.
void decrementNShownHandles()
virtual double rapidity() const
The true rapidity (y) of the particle.
bool considerTransverseEnergies
void rerandomiseMaterial()
float px() const
The x-component of the jet's momentum.
double m_JetFitterCombNN_pu
double m_bTagWeightMV2c10
IParticleHandleBase(IParticleCollHandleBase *)
static void messageVerbose(const QString &)
virtual SoNode * nodes()=0
Returns the 3Dobjects.
Eigen::Matrix< double, 3, 1 > Vector3D
SoSwitch * m_bTaggingCollSwitch
const VP1ExtraSepLayerHelper * sepHelper() const
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
virtual double mass() const
Returns unknown() in case of trouble.
virtual double m() const
The invariant mass of the particle.
static void messageDebug(const QString &)
Class describing a Vertex.
static void message(const QString &, IVP1System *sys=0)
double m_bTagWeightMV2c20
virtual void rebuild3DObjects()
QTreeWidgetItem * m_objBrowseTree
static void messageWarningRed(const QString &str, IVP1System *sys=0)
void registerHandle(AODHandleBase *h)
size_t numConstituents() const
Number of constituents in this jets (this is valid even when reading a file where the constituents ha...
SoMaterial * m_currentmaterial
bool MVx_discriminant(const std::string &taggername, double &value) const
virtual void clear3DObjects()=0
Delete objects.