ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleHandle_CaloCluster.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class IParticleHandle_CaloCluster //
9// //
10// Description: Handles for xAOD calorimeter clusters //
11// //
12// Author: Riccardo Maria BIANCHI (rbianchi@cern.ch) //
13// Initial version: Jun 2015 //
14// //
16
17#ifndef VP1AODSYSTEMS_IParticleHandle_CaloCluster_H
18#define VP1AODSYSTEMS_IParticleHandle_CaloCluster_H
19
20// local
21#include "IParticleHandleBase.h"
22
23// VP1
25
26// xAOD
27#include "xAODJet/Jet.h"
29
30// ATLAS
32
33// C++
34#include <string>
35
36// FWD declarations
37class SoSwitch;
39//class SoGenericBox;
40
41
43public:
44
47
48 virtual bool has3DObjects();
49 virtual void clear3DObjects();
50 virtual SoNode* nodes();
51
52 // This fills the Jet specific information, and is needed in addition to the parent method.
53 void fillObjectBrowser( QList<QTreeWidgetItem *>& listOfItems) ;
54
55 // Setters
57 // void setScale( const double& sc);
58 // void setMaxR(const double& maxR);
59
60
61 // set/update random material
63
64
65 virtual QStringList clicked() const;
66 //virtual Amg::Vector3D momentum() const;
67 const xAOD::IParticle& iParticle() const;
68
69//<<<<<<< .working
70// SoGenericBox * genericBox() const;
71// virtual double charge() const ;//!< Returns unknown() in case of trouble.
72// double phi() const;
73// double eta() const;
74// double energy() const;
75// double transverseEnergy() const;
76// double energyForCuts() const;
77//=======
79 virtual double charge() const ;
80 double phi() const;
81 double eta() const;
82 double e() const;
83 double et() const;
84 double energyForCuts() const;
85//>>>>>>> .merge-right.r712981
87
88 virtual QString type() const { return QString("CaloCluster"); }
89
91 QString shortInfo() const;
92
93 // void updateMaterial(bool);
94 void updateMaterial();
95 // void updateBTagging(const std::string& bTaggingTagger, const double& bTaggingCut);
96 // void updateBTaggingSwitch(SoSwitch *bTaggingSwitch);
97 virtual void dumpToJSON( std::ofstream& ) const ;
98
99
100
101private:
102
103 class Imp;
106 // double getBTaggingWeight(std::string tagger);
107
108
109
110};
111
112#endif
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
IParticleHandleBase(IParticleCollHandleBase *)
virtual SoNode * nodes()
Returns the 3Dobjects.
IParticleHandle_CaloCluster(IParticleCollHandleBase *, const xAOD::CaloCluster *)
virtual QString type() const
return very short word with type (maybe link with collection type?)
virtual void dumpToJSON(std::ofstream &) const
virtual void clear3DObjects()
Delete objects.
void ensureInitSubSysHitInfo() const
QString shortInfo() const
This returns the information shown about the object in the object browser.
virtual QStringList clicked() const
This gives the complete information about the object, shown in the main Message Box.
const xAOD::IParticle & iParticle() const
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
void updateShape(IParticleCollHandle_CaloCluster *coll)
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
This gives the list of object's properties, shown in the 'Information' field in the Browser,...
virtual double charge() const
Returns unknown() in case of trouble.
Class providing the definition of the 4-vector interface.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.