ATLAS Offline Software
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
Analysis::MuonAssociation Class Reference

#include <MuonAssociation.h>

Inheritance diagram for Analysis::MuonAssociation:
Collaboration diagram for Analysis::MuonAssociation:

Public Types

typedef JetKeyDescriptor::key_t name_t
 
typedef name_t NameType
 
typedef typename NavigationDefaults::DefaultChildColl< MuonContainer, double >::type constituent_coll
 
typedef constituent_coll::iterator constituent_iter
 
typedef constituent_coll::const_iterator constituent_const_iter
 
typedef MuonContainer container_type
 Object container type. More...
 
typedef double parameter_type
 \ brief Relational parameter type More...
 
typedef NavigationDefaults::DefaultChildColl< container_type, parameter_typenavhelper_t
 Collection manager type. More...
 
typedef CONT::base_value_type constituent_type
 
typedef CONT::reference constituent_ptr_ref
 
typedef CONT::const_reference constituent_const_ptr_ref
 
typedef CONT::value_type constituent_ptr
 
typedef SG::GenerateIndexingPolicy< MuonContainer >::type::index_type external_index_type
 
typedef NavigableIterator< MuonContainer, double, typename NavigationDefaults::DefaultChildColl< MuonContainer, double >::type > object_iter
 

Public Member Functions

 MuonAssociation ()
 constructor More...
 
 MuonAssociation (const NameType &name)
 constructor More...
 
 ~MuonAssociation ()=default
 
virtual JetAssociationBaseclone () const
 a clone method for the proper workings of the copy constructor More...
 
const Muonmuon () const
 get muon directly without token
More...
 
void fillToken (INavigationToken &) const
 
void fillToken (INavigationToken &, const std::any &) const
 
void set_muon (const MuonContainer *theContainer, const Muon *the_muon, double weight=1)
 
void set_muon (const MuonContainer *theContainer, const index_type &theIndex, double weight=1)
 
void set_association (const MuonContainer *theContainer, const Muon *the_muon, double weight=1)
 
void set_association (const MuonContainer *theContainer, const index_type &theIndex, double weight=1)
 
double getMuonWeight (const Muon *the_muon) const
 
double getMuonWeight (const MuonContainer *theContainer, const index_type &theIndex) const
 
void setName (const name_t &name)
 
const name_tname () const
 
size_t keyIndex () const
 
void putElement (const MuonContainer *objectContainer, const constituent_type *constituentObject, const double &objectParameter=double(), size_t sizeHint=0)
 
void putElement (const MuonContainer *objectContainer, const external_index_type &theIndex, const double &objectParameter=double(), size_t sizeHint=0)
 
void insertElement (const MuonContainer *objectContainer, const constituent_type *constituentObject, const double &objectParameter=double(), size_t sizeHint=0)
 
void insertElement (const MuonContainer *objectContainer, const external_index_type &theIndex, const double &objectParameter=double(), size_t sizeHint=0)
 
void insertElement (const MuonContainer *objectContainer, const external_index_type &theIndex, IProxyDict *sg, const double &objectParameter=double(), size_t sizeHint=0)
 
void insertElement (const ElementLink< MuonContainer > &el, const double &objectParameter=double(), size_t sizeHint=0)
 
void reweight (const constituent_type *constituentObject, const double &objectParameter=double())
 
void reweight (const MuonContainer *objectContainer, const external_index_type &theIndex, const double &objectParameter=double())
 
void reweight (object_iter &objectIter, const double &objectParameter=double())
 
bool remove (const constituent_type *aConstituent)
 
bool remove (const MuonContainer *objectContainer, const external_index_type &theIndex)
 
bool removeAll ()
 
bool replace (const MuonContainer *newObjectContainer)
 replace old object container with a new container assumes that all objects have been or will be inserted to the new container
More...
 
bool contains (const constituent_type *aConstituent) const
 
bool contains (const MuonContainer *objectContainer, const external_index_type &theIndex) const
 
virtual object_iter begin () const
 
virtual object_iter end () const
 
virtual unsigned int size () const
 
double getParameter (const constituent_type *aConstituent) const
 
double getParameter (const MuonContainer *objectContainer, const external_index_type &theIndex) const
 
double getParameter (object_iter &theIter) const
 
const MuonContainergetContainer (const constituent_type *aConstituent) const
 
const MuonContainergetContainer (constituent_const_iter anIter) const
 
const MuonContainergetContainer (object_iter objectIter) const
 
bool getIndex (const constituent_type *aConstituent, external_index_type &theIndex) const
 
bool getIndex (constituent_const_iter anIter, external_index_type &theIndex) const
 
bool getIndex (object_iter objectIter, external_index_type &theIndex) const
 

Protected Member Functions

const constituent_collgetConstituents () const
 
constituent_collgetConstituents ()
 
const constituent_collgetPtrToConstituents () const
 
constituent_collgetPtrToConstituents ()
 
virtual const constituent_typegetConstituentPtr (constituent_iter iter) const
 
virtual const constituent_typegetConstituentPtr (constituent_const_iter iter) const
 
virtual double getConstituentPar (constituent_iter iter) const
 
virtual double getConstituentPar (constituent_const_iter iter) const
 
void dumpStore () const
 

Protected Attributes

size_t m_keyIndex
 
JetKeyDescriptorInstancem_jetKeyDescr
 

Private Types

typedef Navigable< MuonContainer, double >::external_index_type index_type
 
typedef Navigable< MuonContainer, double >::constituent_iter iter_type
 

Private Member Functions

virtual void apply (NavigationToken< constituent_type > &navToken) const
 
virtual void apply (NavigationToken< constituent_type, double > &navToken, const double &aParameter) const
 
virtual void toKidsAfterAccept (INavigationToken &navToken) const
 
virtual void toKidsAfterAccept (INavigationToken &navToken, const std::any &aParameter) const
 
virtual void toKidsAfterReject (INavigationToken &navToken) const
 
virtual void toKidsAfterReject (INavigationToken &navToken, const std::any &aParameter) const
 

Private Attributes

constituent_coll m_constituents
 

Detailed Description

Definition at line 23 of file MuonAssociation.h.

Member Typedef Documentation

◆ constituent_coll

typedef typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_coll
inherited

Definition at line 101 of file Navigable.h.

◆ constituent_const_iter

typedef constituent_coll::const_iterator Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_const_iter
inherited

Definition at line 103 of file Navigable.h.

◆ constituent_const_ptr_ref

typedef CONT::const_reference Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_const_ptr_ref
inherited

Definition at line 151 of file Navigable.h.

◆ constituent_iter

typedef constituent_coll::iterator Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_iter
inherited

Definition at line 102 of file Navigable.h.

◆ constituent_ptr

typedef CONT::value_type Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_ptr
inherited

Definition at line 152 of file Navigable.h.

◆ constituent_ptr_ref

typedef CONT::reference Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_ptr_ref
inherited

Definition at line 150 of file Navigable.h.

◆ constituent_type

typedef CONT::base_value_type Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::constituent_type
inherited

Definition at line 149 of file Navigable.h.

◆ container_type

typedef MuonContainer Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::container_type
inherited

Object container type.

Definition at line 110 of file Navigable.h.

◆ external_index_type

Definition at line 156 of file Navigable.h.

◆ index_type

Definition at line 27 of file MuonAssociation.h.

◆ iter_type

Definition at line 28 of file MuonAssociation.h.

◆ name_t

Definition at line 28 of file JetAssociationBase.h.

◆ NameType

Definition at line 29 of file JetAssociationBase.h.

◆ navhelper_t

Collection manager type.

Definition at line 114 of file Navigable.h.

◆ object_iter

Definition at line 159 of file Navigable.h.

◆ parameter_type

typedef double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::parameter_type
inherited

\ brief Relational parameter type

Definition at line 112 of file Navigable.h.

Constructor & Destructor Documentation

◆ MuonAssociation() [1/2]

Analysis::MuonAssociation::MuonAssociation ( )

constructor

Definition at line 12 of file MuonAssociation.cxx.

13  { }

◆ MuonAssociation() [2/2]

Analysis::MuonAssociation::MuonAssociation ( const NameType name)

constructor

Definition at line 15 of file MuonAssociation.cxx.

16  { this->setName(name); }

◆ ~MuonAssociation()

Analysis::MuonAssociation::~MuonAssociation ( )
default

Member Function Documentation

◆ apply() [1/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::apply ( NavigationToken< constituent_type > &  navToken) const
privatevirtualinherited

◆ apply() [2/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::apply ( NavigationToken< constituent_type, double > &  navToken,
const double &  aParameter 
) const
privatevirtualinherited

◆ begin()

virtual object_iter Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::begin
virtualinherited

◆ clone()

JetAssociationBase * Analysis::MuonAssociation::clone ( ) const
virtual

a clone method for the proper workings of the copy constructor

Implements JetAssociationBase.

Definition at line 18 of file MuonAssociation.cxx.

19  { return new MuonAssociation( *this );}

◆ contains() [1/2]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::contains ( const constituent_type aConstituent) const
inherited

◆ contains() [2/2]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::contains ( const MuonContainer *  objectContainer,
const external_index_type theIndex 
) const
inherited

◆ dumpStore()

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::dumpStore
protectedinherited

◆ end()

virtual object_iter Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::end
virtualinherited

◆ fillToken() [1/2]

void Analysis::MuonAssociation::fillToken ( INavigationToken ) const
inlinevirtual

Reimplemented from Navigable< MuonContainer, double >.

Definition at line 41 of file MuonAssociation.h.

41 { };

◆ fillToken() [2/2]

void Analysis::MuonAssociation::fillToken ( INavigationToken ,
const std::any &   
) const
inlinevirtual

Reimplemented from Navigable< MuonContainer, double >.

Definition at line 43 of file MuonAssociation.h.

43 { };

◆ getConstituentPar() [1/2]

virtual double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituentPar ( constituent_const_iter  iter) const
protectedvirtualinherited

◆ getConstituentPar() [2/2]

virtual double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituentPar ( constituent_iter  iter) const
protectedvirtualinherited

◆ getConstituentPtr() [1/2]

virtual const constituent_type* Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituentPtr ( constituent_const_iter  iter) const
protectedvirtualinherited

◆ getConstituentPtr() [2/2]

virtual const constituent_type* Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituentPtr ( constituent_iter  iter) const
protectedvirtualinherited

◆ getConstituents() [1/2]

constituent_coll& Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituents
inlineprotectedinherited

Definition at line 291 of file Navigable.h.

291 { return m_constituents; }

◆ getConstituents() [2/2]

const constituent_coll& Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getConstituents
inlineprotectedinherited

Definition at line 290 of file Navigable.h.

290 { return m_constituents; }

◆ getContainer() [1/3]

const MuonContainer * Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getContainer ( const constituent_type aConstituent) const
inherited

◆ getContainer() [2/3]

const MuonContainer * Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getContainer ( constituent_const_iter  anIter) const
inherited

◆ getContainer() [3/3]

const MuonContainer * Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getContainer ( object_iter  objectIter) const
inherited

◆ getIndex() [1/3]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getIndex ( const constituent_type aConstituent,
external_index_type theIndex 
) const
inherited

◆ getIndex() [2/3]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getIndex ( constituent_const_iter  anIter,
external_index_type theIndex 
) const
inherited

◆ getIndex() [3/3]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getIndex ( object_iter  objectIter,
external_index_type theIndex 
) const
inherited

◆ getMuonWeight() [1/2]

double Analysis::MuonAssociation::getMuonWeight ( const Muon the_muon) const

Definition at line 71 of file MuonAssociation.cxx.

72  {
73  // from Navigable
74  return (this->contains(the_muon) )
75  ? this->getParameter(the_muon)
76  : 0.;
77  }

◆ getMuonWeight() [2/2]

double Analysis::MuonAssociation::getMuonWeight ( const MuonContainer theContainer,
const index_type theIndex 
) const

Definition at line 79 of file MuonAssociation.cxx.

81  {
82  // from Navigable
83  return (this->contains(theContainer,theIndex))
84  ? this->getParameter(theContainer,theIndex)
85  : 0.;
86  }

◆ getParameter() [1/3]

double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getParameter ( const constituent_type aConstituent) const
inherited

◆ getParameter() [2/3]

double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getParameter ( const MuonContainer *  objectContainer,
const external_index_type theIndex 
) const
inherited

◆ getParameter() [3/3]

double Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getParameter ( object_iter theIter) const
inherited

◆ getPtrToConstituents() [1/2]

constituent_coll* Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getPtrToConstituents
inlineprotectedinherited

Definition at line 296 of file Navigable.h.

297  { return &m_constituents; }

◆ getPtrToConstituents() [2/2]

const constituent_coll* Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::getPtrToConstituents
inlineprotectedinherited

Definition at line 294 of file Navigable.h.

295  { return &m_constituents; }

◆ insertElement() [1/4]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::insertElement ( const ElementLink< MuonContainer > &  el,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ insertElement() [2/4]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::insertElement ( const MuonContainer *  objectContainer,
const constituent_type constituentObject,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ insertElement() [3/4]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::insertElement ( const MuonContainer *  objectContainer,
const external_index_type theIndex,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ insertElement() [4/4]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::insertElement ( const MuonContainer *  objectContainer,
const external_index_type theIndex,
IProxyDict sg,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ keyIndex()

size_t JetAssociationBase::keyIndex ( ) const
inlineinherited

Definition at line 35 of file JetAssociationBase.h.

35 { return m_keyIndex; }

◆ muon()

const Muon * Analysis::MuonAssociation::muon ( ) const

get muon directly without token

Definition at line 21 of file MuonAssociation.cxx.

22  {
23  //get muon from Navigable
24  if (this->size() ==0)
25  return 0;
26  else if (this->size() > 1)
27  return 0;
28  // this shouldn't happen
29  else
30  return getConstituentPtr((this->getConstituents()).begin());
31  }

◆ name()

const JetAssociationBase::name_t & JetAssociationBase::name ( ) const
inherited

Definition at line 20 of file JetAssociationBase.cxx.

◆ putElement() [1/2]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::putElement ( const MuonContainer *  objectContainer,
const constituent_type constituentObject,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ putElement() [2/2]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::putElement ( const MuonContainer *  objectContainer,
const external_index_type theIndex,
const double &  objectParameter = RPAR(),
size_t  sizeHint = 0 
)
inherited

◆ remove() [1/2]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::remove ( const constituent_type aConstituent)
inherited

◆ remove() [2/2]

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::remove ( const MuonContainer *  objectContainer,
const external_index_type theIndex 
)
inherited

◆ removeAll()

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::removeAll
inlineinherited

Definition at line 237 of file Navigable.h.

237 { m_constituents.clear(); return this->size() == 0 ; }

◆ replace()

bool Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::replace ( const MuonContainer *  newObjectContainer)
inherited

replace old object container with a new container assumes that all objects have been or will be inserted to the new container

◆ reweight() [1/3]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::reweight ( const constituent_type constituentObject,
const double &  objectParameter = RPAR() 
)
inherited

◆ reweight() [2/3]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::reweight ( const MuonContainer *  objectContainer,
const external_index_type theIndex,
const double &  objectParameter = RPAR() 
)
inherited

◆ reweight() [3/3]

void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::reweight ( object_iter objectIter,
const double &  objectParameter = RPAR() 
)
inherited

◆ set_association() [1/2]

void Analysis::MuonAssociation::set_association ( const MuonContainer theContainer,
const index_type theIndex,
double  weight = 1 
)
inline

Definition at line 58 of file MuonAssociation.h.

60  {
61  set_muon(theContainer, theIndex, weight);
62  }

◆ set_association() [2/2]

void Analysis::MuonAssociation::set_association ( const MuonContainer theContainer,
const Muon the_muon,
double  weight = 1 
)
inline

Definition at line 52 of file MuonAssociation.h.

54  {
55  set_muon(theContainer, the_muon, weight);
56  }

◆ set_muon() [1/2]

void Analysis::MuonAssociation::set_muon ( const MuonContainer theContainer,
const index_type theIndex,
double  weight = 1 
)

Definition at line 52 of file MuonAssociation.cxx.

55  {
56  double newWeight = weight;
57  // muon already in collection
58  if ( this->contains(theContainer,theIndex) )
59  {
60  // update weight
61  newWeight *= this->getMuonWeight(theContainer,theIndex);
62  // remove the previous muon
63  this->remove(theContainer,theIndex);
64  }
65 
66  // from Navigable base
67  this->putElement(theContainer,theIndex,newWeight);
68 
69  }

◆ set_muon() [2/2]

void Analysis::MuonAssociation::set_muon ( const MuonContainer theContainer,
const Muon the_muon,
double  weight = 1 
)

Definition at line 33 of file MuonAssociation.cxx.

36  {
37  double newWeight = weight;
38  // muon already in collection
39  if ( this->contains(the_muon) )
40  {
41  // update weight
42  newWeight *= this->getMuonWeight(the_muon);
43  // remove the previous muon
44  this->remove(the_muon);
45  }
46 
47  // from Navigable base
48  this->putElement(theContainer,the_muon,newWeight);
49 
50  }

◆ setName()

void JetAssociationBase::setName ( const name_t name)
inherited

Definition at line 15 of file JetAssociationBase.cxx.

◆ size()

virtual unsigned int Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::size
virtualinherited

◆ toKidsAfterAccept() [1/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::toKidsAfterAccept ( INavigationToken navToken) const
privatevirtualinherited

◆ toKidsAfterAccept() [2/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::toKidsAfterAccept ( INavigationToken navToken,
const std::any &  aParameter 
) const
privatevirtualinherited

◆ toKidsAfterReject() [1/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::toKidsAfterReject ( INavigationToken navToken) const
privatevirtualinherited

◆ toKidsAfterReject() [2/2]

virtual void Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::toKidsAfterReject ( INavigationToken navToken,
const std::any &  aParameter 
) const
privatevirtualinherited

Member Data Documentation

◆ m_constituents

constituent_coll Navigable< MuonContainer , double , typename NavigationDefaults::DefaultChildColl<MuonContainer , double >::type >::m_constituents
privateinherited

Definition at line 345 of file Navigable.h.

◆ m_jetKeyDescr

JetKeyDescriptorInstance* JetAssociationBase::m_jetKeyDescr
protectedinherited

Definition at line 57 of file JetAssociationBase.h.

◆ m_keyIndex

size_t JetAssociationBase::m_keyIndex
protectedinherited

Definition at line 56 of file JetAssociationBase.h.


The documentation for this class was generated from the following files:
Navigable< MuonContainer, double >::m_constituents
constituent_coll m_constituents
Definition: Navigable.h:345
Navigable< MuonContainer, double >::getConstituentPtr
virtual const constituent_type * getConstituentPtr(constituent_iter iter) const
Navigable< MuonContainer, double >::putElement
void putElement(const MuonContainer *objectContainer, const constituent_type *constituentObject, const double &objectParameter=double(), size_t sizeHint=0)
Analysis::MuonAssociation::MuonAssociation
MuonAssociation()
constructor
Definition: MuonAssociation.cxx:12
Navigable< MuonContainer, double >::begin
virtual object_iter begin() const
Navigable< MuonContainer, double >::contains
bool contains(const constituent_type *aConstituent) const
JetAssociationBase::setName
void setName(const name_t &name)
Definition: JetAssociationBase.cxx:15
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
JetKeyConstants::AssoCat
static const key_t AssoCat
Index category for jet associations.
Definition: JetKeyDescriptor.h:90
Navigable< MuonContainer, double >::getConstituents
const constituent_coll & getConstituents() const
Definition: Navigable.h:290
Navigable< MuonContainer, double >::remove
bool remove(const constituent_type *aConstituent)
JetKeyDescriptorInstance::getKey
const key_t & getKey(const category_t &cat, size_t index) const
Definition: JetKeyDescriptor.cxx:161
Navigable< MuonContainer, double >::getParameter
double getParameter(const constituent_type *aConstituent) const
Navigable< MuonContainer, double >::size
virtual unsigned int size() const
JetAssociationBase::m_keyIndex
size_t m_keyIndex
Definition: JetAssociationBase.h:56
Analysis::MuonAssociation::set_muon
void set_muon(const MuonContainer *theContainer, const Muon *the_muon, double weight=1)
Definition: MuonAssociation.cxx:33
JetAssociationBase::m_jetKeyDescr
JetKeyDescriptorInstance * m_jetKeyDescr
Definition: JetAssociationBase.h:57
JetKeyDescriptorInstance::getIndex
size_t getIndex(const category_t &cat, const key_t &key, bool createIfMissing=true)
Definition: JetKeyDescriptor.cxx:47
Analysis::MuonAssociation::getMuonWeight
double getMuonWeight(const Muon *the_muon) const
Definition: MuonAssociation.cxx:71
JetAssociationBase::name
const name_t & name() const
Definition: JetAssociationBase.cxx:20