ATLAS Offline Software
Simulation
ISF
ISF_Fatras
ISF_FatrasInterfaces
ISF_FatrasInterfaces
IParticlePropertyTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// IParticlePropertyTool.h, (c) ATLAS Detector Software
8
9
#ifndef FATRASINTERFACES_IPARTICLEPROPERTYTOOL_H
10
#define FATRASINTERFACES_IPARTICLEPROPERTYTOOL_H
11
12
// Gaudi
13
#include "GaudiKernel/IAlgTool.h"
14
15
// STL
16
#include <vector>
17
#include <string>
18
19
namespace
iFatras
20
{
21
31
class
IParticlePropertyTool
:
virtual
public
IAlgTool
32
{
33
public
:
34
36
virtual
~IParticlePropertyTool
(){}
37
39
DeclareInterfaceID
(
IParticlePropertyTool
, 1, 0);
40
41
virtual
std::vector<std::pair<int,std::string> >
42
listOfParticles
()
const
=0;
43
46
virtual
StatusCode
47
basicInfo
(
int
pdgCode,
int
*
charge
=0,
double
*
mass
=0)
const
= 0;
48
};
49
50
}
51
#endif // FATRASINTERFACES_IPARTICLEPROPERTYTOOL_H
Base_Fragment.mass
mass
Definition:
Sherpa_i/share/common/Base_Fragment.py:59
iFatras::IParticlePropertyTool::~IParticlePropertyTool
virtual ~IParticlePropertyTool()
Virtual destructor.
Definition:
IParticlePropertyTool.h:36
iFatras
Definition:
ActsFatrasSimTool.h:55
iFatras::IParticlePropertyTool::listOfParticles
virtual std::vector< std::pair< int, std::string > > listOfParticles() const =0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
iFatras::IParticlePropertyTool
Definition:
IParticlePropertyTool.h:32
iFatras::IParticlePropertyTool::basicInfo
virtual StatusCode basicInfo(int pdgCode, int *charge=0, double *mass=0) const =0
retrieve basic information of the particle (charge sign and mass in MeV)
charge
double charge(const T &p)
Definition:
AtlasPID.h:756
iFatras::IParticlePropertyTool::DeclareInterfaceID
DeclareInterfaceID(IParticlePropertyTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
Generated on Fri Jan 10 2025 21:11:45 for ATLAS Offline Software by
1.8.18