ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetEvent
JetEvent
JetINav4MomAssociation.h
Go to the documentation of this file.
1
// emacs this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef JETEVENT_JETINAVIGABLE4MOMENTUMASSOCIATION_H
8
#define JETEVENT_JETINAVIGABLE4MOMENTUMASSOCIATION_H
18
#include<vector>
19
#include<string>
20
21
#include "
Navigation/Navigable.h
"
22
#include "
EventKernel/INavigable4Momentum.h
"
23
#include "
NavFourMom/INavigable4MomentumCollection.h
"
24
#include "
JetEvent/JetAssociationBase.h
"
25
26
27
// string to identify the constituent
28
29
typedef
std::string
NameType
;
30
31
class
JetINav4MomAssociation
:
public
JetAssociationBase
,
32
public
Navigable
<INavigable4MomentumCollection, double>
33
{
34
35
typedef
Navigable<INavigable4MomentumCollection,double>::external_index_type
index_type
;
36
typedef
Navigable<INavigable4MomentumCollection,double>::constituent_iter
iter_type
;
37
38
39
public
:
40
JetINav4MomAssociation
();
41
JetINav4MomAssociation
(
NameType
&
name
) ;
42
~JetINav4MomAssociation
() =
default
;
43
44
virtual
JetAssociationBase
*
clone
()
const
;
46
47
const
INavigable4Momentum
*
inav4momentum
()
const
;
48
49
// Set functions
50
void
set_inav4momentum
(
const
INavigable4MomentumCollection
* theContainer,
51
const
INavigable4Momentum
* the_inav4momentum,
double
weight=1);
52
53
void
set_inav4momentum
(
const
INavigable4MomentumCollection
* theContainer,
54
index_type
& theIndex,
double
weight=1);
55
56
void
set_association
(
const
INavigable4MomentumCollection
* theContainer,
57
const
INavigable4Momentum
* the_inav4momentum,
double
weight=1)
58
{
set_inav4momentum
(theContainer, the_inav4momentum, weight);}
59
60
void
set_association
(
const
INavigable4MomentumCollection
* theContainer,
61
index_type
& theIndex,
double
weight=1)
62
{
set_inav4momentum
(theContainer, theIndex, weight);}
63
64
double
getinav4momentumWeight
(
const
INavigable4Momentum
* the_inav4momentum)
const
;
65
66
double
getinav4momentumWeight
(
const
INavigable4MomentumCollection
* theContainer,
67
index_type
& theIndex)
const
;
68
69
} ;
70
71
72
73
#endif
index_type
unsigned int index_type
Definition
FPGATrackSimSGToRawHitsTool.h:36
INavigable4MomentumCollection.h
INavigable4MomentumCollection
DataVector< INavigable4Momentum > INavigable4MomentumCollection
Definition
INavigable4MomentumCollection.h:22
INavigable4Momentum.h
JetAssociationBase.h
Navigable.h
INavigable4Momentum
Definition
INavigable4Momentum.h:21
JetAssociationBase::NameType
name_t NameType
Definition
JetAssociationBase.h:29
JetAssociationBase::name
const name_t & name() const
Definition
JetAssociationBase.cxx:20
JetAssociationBase::JetAssociationBase
JetAssociationBase()
Definition
JetAssociationBase.cxx:10
JetINav4MomAssociation::iter_type
Navigable< INavigable4MomentumCollection, double >::constituent_iter iter_type
Definition
JetINav4MomAssociation.h:36
JetINav4MomAssociation::getinav4momentumWeight
double getinav4momentumWeight(const INavigable4Momentum *the_inav4momentum) const
Definition
JetINav4MomAssociation.cxx:68
JetINav4MomAssociation::JetINav4MomAssociation
JetINav4MomAssociation()
constructor
JetINav4MomAssociation::set_inav4momentum
void set_inav4momentum(const INavigable4MomentumCollection *theContainer, const INavigable4Momentum *the_inav4momentum, double weight=1)
Definition
JetINav4MomAssociation.cxx:32
JetINav4MomAssociation::set_association
void set_association(const INavigable4MomentumCollection *theContainer, index_type &theIndex, double weight=1)
Definition
JetINav4MomAssociation.h:60
JetINav4MomAssociation::set_association
void set_association(const INavigable4MomentumCollection *theContainer, const INavigable4Momentum *the_inav4momentum, double weight=1)
Definition
JetINav4MomAssociation.h:56
JetINav4MomAssociation::clone
virtual JetAssociationBase * clone() const
a clone method for the proper workings of the copy constructor
Definition
JetINav4MomAssociation.cxx:15
JetINav4MomAssociation::inav4momentum
const INavigable4Momentum * inav4momentum() const
get jet directly without token
Definition
JetINav4MomAssociation.cxx:20
JetINav4MomAssociation::index_type
Navigable< INavigable4MomentumCollection, double >::external_index_type index_type
Definition
JetINav4MomAssociation.h:35
JetINav4MomAssociation::~JetINav4MomAssociation
~JetINav4MomAssociation()=default
destructor
Navigable< INavigable4MomentumCollection, double >::Navigable
Navigable()
Navigable::constituent_iter
constituent_coll::iterator constituent_iter
Definition
Navigable.h:102
Navigable::external_index_type
SG::GenerateIndexingPolicy< CONT >::type::index_type external_index_type
Definition
Navigable.h:156
APRDefaults::WriteConfig::NameType
NameType
Definition
APRDefaults.h:27
Generated on
for ATLAS Offline Software by
1.17.0