ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleHandle_Jet.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class IParticleHandle_TrackParticle //
9// //
10// Description: Handles for track particles. //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: May 2008 //
14// //
16
17#ifndef IPARTICLEHANDLE_JET_H
18#define IPARTICLEHANDLE_JET_H
19
20#include "IParticleHandleBase.h"
21
22#include "xAODJet/Jet.h"
23
25
26#include <string>
27
28// FWD declarations
29class SoSwitch;
30
31
33public:
34
36 virtual ~IParticleHandle_Jet();
37
38 virtual bool has3DObjects();
39 virtual void clear3DObjects();
40 virtual SoNode* nodes();
41
42 // This fills the Jet specific information, and is needed in addition to the parent method.
43 void fillObjectBrowser( QList<QTreeWidgetItem *>& listOfItems) ;
44
45 // Setters
46 void setScale( const double& sc, bool useEt);
47 void setMaxR(const double& maxR);
48
49 void updateHeight();
50
51 // set/update random material
53
54
55 virtual QStringList clicked() const;
56 //virtual Amg::Vector3D momentum() const;
57 const xAOD::IParticle& iParticle() const;
58
59 virtual double charge() const ;
60 double phi() const;
61 double eta() const;
62 double energy() const;
63 double transverseEnergy() const;
64 double energyForCuts() const;
65
66 virtual QString type() const { return QString("Jet"); }
67
69 QString shortInfo() const;
70
71 void updateMaterial(bool);
72 void updateBTagging(const std::string& bTaggingTagger, const double& bTaggingCut);
73 void updateBTaggingSwitch(SoSwitch *bTaggingSwitch);
74
75 virtual void dumpToJSON( std::ofstream& ) const ;
76
77
78protected:
79
80private:
81
82 class Imp;
85 double getBTaggingWeight(const std::string& tagger);
86
87};
88
89#endif
static Double_t sc
void updateMaterial()
Called after some configuration related to material changes.
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
IParticleHandleBase(IParticleCollHandleBase *)
virtual void clear3DObjects()
Delete objects.
virtual double charge() const
Returns unknown() in case of trouble.
double getBTaggingWeight(const std::string &tagger)
void updateBTagging(const std::string &bTaggingTagger, const double &bTaggingCut)
IParticleHandle_Jet(IParticleCollHandleBase *, const xAOD::Jet *)
void setMaxR(const double &maxR)
void ensureInitSubSysHitInfo() const
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
virtual void dumpToJSON(std::ofstream &) const
virtual SoNode * nodes()
Returns the 3Dobjects.
virtual QString type() const
return very short word with type (maybe link with collection type?)
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
This gives the list of object's properties, shown in the 'Information' field in the Browser,...
void updateBTaggingSwitch(SoSwitch *bTaggingSwitch)
QString shortInfo() const
This returns the information shown about the object in the object browser.
void setScale(const double &sc, bool useEt)
const xAOD::IParticle & iParticle() const
virtual QStringList clicked() const
This gives the complete information about the object, shown in the main Message Box.
Class providing the definition of the 4-vector interface.
Jet_v1 Jet
Definition of the current "jet version".