ATLAS Offline Software
Loading...
Searching...
No Matches
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
25
26
27// string to identify the constituent
28
29typedef std::string NameType;
30
32 public Navigable<INavigable4MomentumCollection, double>
33{
34
37
38
39public:
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
57 const INavigable4Momentum* the_inav4momentum, double weight=1)
58 {set_inav4momentum(theContainer, the_inav4momentum, weight);}
59
61 index_type& theIndex, double weight=1)
62 {set_inav4momentum(theContainer, theIndex, weight);}
63
64 double getinav4momentumWeight(const INavigable4Momentum* the_inav4momentum) const ;
65
67 index_type& theIndex) const;
68
69} ;
70
71
72
73#endif
unsigned int index_type
DataVector< INavigable4Momentum > INavigable4MomentumCollection
const name_t & name() const
Navigable< INavigable4MomentumCollection, double >::constituent_iter iter_type
double getinav4momentumWeight(const INavigable4Momentum *the_inav4momentum) const
JetINav4MomAssociation()
constructor
void set_inav4momentum(const INavigable4MomentumCollection *theContainer, const INavigable4Momentum *the_inav4momentum, double weight=1)
void set_association(const INavigable4MomentumCollection *theContainer, index_type &theIndex, double weight=1)
void set_association(const INavigable4MomentumCollection *theContainer, const INavigable4Momentum *the_inav4momentum, double weight=1)
virtual JetAssociationBase * clone() const
a clone method for the proper workings of the copy constructor
const INavigable4Momentum * inav4momentum() const
get jet directly without token
Navigable< INavigable4MomentumCollection, double >::external_index_type index_type
~JetINav4MomAssociation()=default
destructor
constituent_coll::iterator constituent_iter
Definition Navigable.h:102
SG::GenerateIndexingPolicy< CONT >::type::index_type external_index_type
Definition Navigable.h:156
std::string NameType
string to identify the constituent