ATLAS Offline Software
JetParticleCenterOfMassAssociation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // author: jie.yu@cern.ch
6 
7 #ifndef PARTICLEJETTOOLS_JETPARTICLECENTEROFMASSASSOCIATION_H
8 #define PARTICLEJETTOOLS_JETPARTICLECENTEROFMASSASSOCIATION_H
9 
11 
12 #include <vector>
13 #include <string>
14 
17  public:
18 
19  JetParticleCenterOfMassAssociation(const std::string& name);
20 
21  virtual const std::vector<std::vector<ElementLink<xAOD::IParticleContainer> > >*
22  match(const xAOD::JetContainer&, const xAOD::IParticleContainer&) const override;
23 
24  inline double getAngleSize(const double& par_R) const{
25  double result = acos(1-par_R*0.5);
26  return result;
27  }
28 
29 
30  private:
33 };
34 
35 #endif
get_generator_info.result
result
Definition: get_generator_info.py:21
JetParticleAssociation
Definition: JetParticleAssociation.h:22
IJetDecorator
Interface for adding a decoration to a jet container.
Definition: IJetDecorator.h:21
JetParticleAssociation.h
JetParticleCenterOfMassAssociation::m_parentJetCone
double m_parentJetCone
Definition: JetParticleCenterOfMassAssociation.h:32
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetParticleCenterOfMassAssociation::getAngleSize
double getAngleSize(const double &par_R) const
Definition: JetParticleCenterOfMassAssociation.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
JetParticleCenterOfMassAssociation::m_partMatchCone
double m_partMatchCone
Definition: JetParticleCenterOfMassAssociation.h:31
JetParticleCenterOfMassAssociation::match
virtual const std::vector< std::vector< ElementLink< xAOD::IParticleContainer > > > * match(const xAOD::JetContainer &, const xAOD::IParticleContainer &) const override
Definition: JetParticleCenterOfMassAssociation.cxx:26
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
JetParticleCenterOfMassAssociation::JetParticleCenterOfMassAssociation
JetParticleCenterOfMassAssociation(const std::string &name)
Definition: JetParticleCenterOfMassAssociation.cxx:15
JetParticleCenterOfMassAssociation
Definition: JetParticleCenterOfMassAssociation.h:15