ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
30
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
charge
double charge(const T &p)
Definition
AtlasPID.h:1003
iFatras::IParticlePropertyTool
Interface definition for a tool responsible for retrieving particle properties.
Definition
IParticlePropertyTool.h:32
iFatras::IParticlePropertyTool::DeclareInterfaceID
DeclareInterfaceID(IParticlePropertyTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
iFatras::IParticlePropertyTool::listOfParticles
virtual std::vector< std::pair< int, std::string > > listOfParticles() const =0
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)
iFatras::IParticlePropertyTool::~IParticlePropertyTool
virtual ~IParticlePropertyTool()
Virtual destructor.
Definition
IParticlePropertyTool.h:36
iFatras
Definition
ActsFatrasSimTool.h:63
Generated on
for ATLAS Offline Software by
1.17.0