ATLAS Offline Software
IdentityManipulator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MAGFIELDUTILS_IDENTITYMANIPULATOR_H
6 #define MAGFIELDUTILS_IDENTITYMANIPULATOR_H
7 
9 
11 
12 namespace MagField {
13 
15  {
16  public:
17  IdentityManipulator(const std::string& name,
18  const std::string& type,
19  const IInterface* parent);
20 
22  virtual StatusCode initialize();
23 
25  virtual StatusCode finalize();
26 
28  virtual void modifyPosition(const double *xyz_old, double *xyz_new);
29 
31  virtual void modifyField(double *bxyz, double *deriv = 0);
32 
33  virtual ~IdentityManipulator();
34 
35  protected:
36  };
37 
38 }
39 
40 
41 #endif
MagField::IdentityManipulator
Definition: IdentityManipulator.h:15
MagField::IdentityManipulator::IdentityManipulator
IdentityManipulator(const std::string &name, const std::string &type, const IInterface *parent)
Definition: IdentityManipulator.cxx:7
MagField::IdentityManipulator::finalize
virtual StatusCode finalize()
Finalize AlgTool.
Definition: IdentityManipulator.cxx:26
MagField::IdentityManipulator::initialize
virtual StatusCode initialize()
Initialize AlgTool.
Definition: IdentityManipulator.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
MagField::IdentityManipulator::modifyField
virtual void modifyField(double *bxyz, double *deriv=0)
Correct field (input field must have been evaluated in the point indicated by modifyPosition)
Definition: IdentityManipulator.cxx:39
MagField::IdentityManipulator::~IdentityManipulator
virtual ~IdentityManipulator()
Definition: IdentityManipulator.cxx:16
MagField
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: ForwardRegionFieldSvc.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
IMagFieldManipulator.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
MagField::IMagFieldManipulator
@ class IMagFieldManipulator
Definition: IMagFieldManipulator.h:29
AthAlgTool
Definition: AthAlgTool.h:26
MagField::IdentityManipulator::modifyPosition
virtual void modifyPosition(const double *xyz_old, double *xyz_new)
Change the position at which the field is evaluated.
Definition: IdentityManipulator.cxx:32