ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1AODSystems
src
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
24
#include "
VP1HEPVis/nodes/SoGenericBox.h
"
25
26
// xAOD
27
#include "
xAODJet/Jet.h
"
28
#include "
xAODCaloEvent/CaloCluster.h
"
29
30
// ATLAS
31
#include "
GeoPrimitives/GeoPrimitives.h
"
32
33
// C++
34
#include <string>
35
36
// FWD declarations
37
class
SoSwitch;
38
class
IParticleCollHandle_CaloCluster
;
39
//class SoGenericBox;
40
41
42
class
IParticleHandle_CaloCluster
:
public
IParticleHandleBase
{
43
public
:
44
45
IParticleHandle_CaloCluster
(
IParticleCollHandleBase
*,
const
xAOD::CaloCluster
* );
46
virtual
~IParticleHandle_CaloCluster
();
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
56
void
updateShape
(
IParticleCollHandle_CaloCluster
* coll);
57
// void setScale( const double& sc);
58
// void setMaxR(const double& maxR);
59
60
61
// set/update random material
62
void
rerandomiseMaterial
();
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
//=======
78
SoGenericBox
*
genericBox
();
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
86
bool
isConsiderTransverseEnergies
()
const
;
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
101
private
:
102
103
class
Imp;
104
Imp
*
m_d
;
105
void
ensureInitSubSysHitInfo
()
const
;
106
// double getBTaggingWeight(std::string tagger);
107
108
109
110
};
111
112
#endif
CaloCluster.h
Jet.h
GeoPrimitives.h
IParticleHandleBase.h
SoGenericBox.h
IParticleCollHandleBase
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
Definition
IParticleCollHandleBase.h:50
IParticleCollHandle_CaloCluster
Definition
IParticleCollHandle_CaloCluster.h:35
IParticleHandleBase::IParticleHandleBase
IParticleHandleBase(IParticleCollHandleBase *)
Definition
IParticleHandleBase.cxx:59
IParticleHandle_CaloCluster::Imp
Definition
IParticleHandle_CaloCluster.cxx:48
IParticleHandle_CaloCluster::eta
double eta() const
Definition
IParticleHandle_CaloCluster.cxx:535
IParticleHandle_CaloCluster::phi
double phi() const
Definition
IParticleHandle_CaloCluster.cxx:528
IParticleHandle_CaloCluster::nodes
virtual SoNode * nodes()
Returns the 3Dobjects.
Definition
IParticleHandle_CaloCluster.cxx:170
IParticleHandle_CaloCluster::IParticleHandle_CaloCluster
IParticleHandle_CaloCluster(IParticleCollHandleBase *, const xAOD::CaloCluster *)
Definition
IParticleHandle_CaloCluster.cxx:80
IParticleHandle_CaloCluster::type
virtual QString type() const
return very short word with type (maybe link with collection type?)
Definition
IParticleHandle_CaloCluster.h:88
IParticleHandle_CaloCluster::e
double e() const
Definition
IParticleHandle_CaloCluster.cxx:542
IParticleHandle_CaloCluster::m_d
Imp * m_d
Definition
IParticleHandle_CaloCluster.h:104
IParticleHandle_CaloCluster::dumpToJSON
virtual void dumpToJSON(std::ofstream &) const
Definition
IParticleHandle_CaloCluster.cxx:593
IParticleHandle_CaloCluster::~IParticleHandle_CaloCluster
virtual ~IParticleHandle_CaloCluster()
Definition
IParticleHandle_CaloCluster.cxx:99
IParticleHandle_CaloCluster::genericBox
SoGenericBox * genericBox()
Definition
IParticleHandle_CaloCluster.cxx:110
IParticleHandle_CaloCluster::clear3DObjects
virtual void clear3DObjects()
Delete objects.
Definition
IParticleHandle_CaloCluster.cxx:146
IParticleHandle_CaloCluster::rerandomiseMaterial
void rerandomiseMaterial()
IParticleHandle_CaloCluster::ensureInitSubSysHitInfo
void ensureInitSubSysHitInfo() const
IParticleHandle_CaloCluster::isConsiderTransverseEnergies
bool isConsiderTransverseEnergies() const
Definition
IParticleHandle_CaloCluster.cxx:117
IParticleHandle_CaloCluster::shortInfo
QString shortInfo() const
This returns the information shown about the object in the object browser.
Definition
IParticleHandle_CaloCluster.cxx:478
IParticleHandle_CaloCluster::clicked
virtual QStringList clicked() const
This gives the complete information about the object, shown in the main Message Box.
Definition
IParticleHandle_CaloCluster.cxx:405
IParticleHandle_CaloCluster::updateMaterial
void updateMaterial()
Definition
IParticleHandle_CaloCluster.cxx:561
IParticleHandle_CaloCluster::iParticle
const xAOD::IParticle & iParticle() const
Definition
IParticleHandle_CaloCluster.cxx:440
IParticleHandle_CaloCluster::has3DObjects
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
Definition
IParticleHandle_CaloCluster.cxx:138
IParticleHandle_CaloCluster::updateShape
void updateShape(IParticleCollHandle_CaloCluster *coll)
Definition
IParticleHandle_CaloCluster.cxx:205
IParticleHandle_CaloCluster::fillObjectBrowser
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
This gives the list of object's properties, shown in the 'Information' field in the Browser,...
Definition
IParticleHandle_CaloCluster.cxx:508
IParticleHandle_CaloCluster::energyForCuts
double energyForCuts() const
Definition
IParticleHandle_CaloCluster.cxx:546
IParticleHandle_CaloCluster::et
double et() const
Definition
IParticleHandle_CaloCluster.cxx:553
IParticleHandle_CaloCluster::charge
virtual double charge() const
Returns unknown() in case of trouble.
Definition
IParticleHandle_CaloCluster.cxx:447
SoGenericBox
Definition
SoGenericBox.h:26
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
Generated on
for ATLAS Offline Software by
1.17.0