ATLAS Offline Software
INSWCalibSmearingTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef INSWCalibSmearingTool_h
5 #define INSWCalibSmearingTool_h
6 
7 #include "GaudiKernel/IAlgTool.h"
8 
9 #include "CLHEP/Random/RandomEngine.h"
10 
11 class Identifier;
12 
13 namespace Muon {
14 
15  class INSWCalibSmearingTool : virtual public IAlgTool {
16 
17  public: // static methods
18 
19  static const InterfaceID& interfaceID() {static const InterfaceID IID_INSWCalibSmearingTool("Muon::INSWCalibSmearingTool",1,0); return IID_INSWCalibSmearingTool;}
20 
21  public: // interface methods
22 
23  virtual StatusCode isAccepted(const Identifier id, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const = 0;
24 
25  virtual StatusCode smearTimeAndCharge(const Identifier id, float& time, float& charge, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const = 0;
26 
27  virtual StatusCode smearCharge(const Identifier id, float& charge, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const = 0;
28 
29  virtual StatusCode getGainFraction(const Identifier id, float& gainFraction) = 0;
30 
31 
32  };
33 
34 }
35 
36 
37 #endif
Muon::INSWCalibSmearingTool::smearTimeAndCharge
virtual StatusCode smearTimeAndCharge(const Identifier id, float &time, float &charge, bool &accepted, CLHEP::HepRandomEngine *rndmEngine) const =0
Muon::INSWCalibSmearingTool::smearCharge
virtual StatusCode smearCharge(const Identifier id, float &charge, bool &accepted, CLHEP::HepRandomEngine *rndmEngine) const =0
Muon::INSWCalibSmearingTool
Definition: INSWCalibSmearingTool.h:15
Muon::INSWCalibSmearingTool::isAccepted
virtual StatusCode isAccepted(const Identifier id, bool &accepted, CLHEP::HepRandomEngine *rndmEngine) const =0
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::INSWCalibSmearingTool::getGainFraction
virtual StatusCode getGainFraction(const Identifier id, float &gainFraction)=0
charge
double charge(const T &p)
Definition: AtlasPID.h:756
Muon::INSWCalibSmearingTool::interfaceID
static const InterfaceID & interfaceID()
Definition: INSWCalibSmearingTool.h:19
Identifier
Definition: IdentifierFieldParser.cxx:14