ATLAS Offline Software
IBPhysBlindingTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
14 #ifndef BPHYSTOOLS_IBPHYSBLINDINGTOOL_H
15 #define BPHYSTOOLS_IBPHYSBLINDINGTOOL_H
16 
17 // Framework includes
18 #include "AsgTools/IAsgTool.h"
19 
20 // System include(s):
21 #include <string>
22 #include <vector>
23 
24 // EDM includes
26 
27 namespace xAOD {
35  class IBPhysBlindingTool : virtual public asg::IAsgTool {
36 
37  public:
40 
41 
42  virtual StatusCode finalize() = 0;
43 
49  virtual float doBlind(const float& val) = 0;
50 
53  virtual float doUnblind(const float& val) = 0;
54 
57  virtual float doBlind(const float& val, const bool& negativeSign,
58  const float& offset, const float& factor) = 0;
59 
62  virtual float doUnblind(const float& val, const bool& negativeSign,
63  const float& offset, const float& factor) = 0;
64 
67  virtual StatusCode doBlind() = 0;
68 
71  virtual StatusCode doUnblind() = 0;
72 
74 
75  }; // class IBPhysBlindingTool
76 
77 } // namespace xAOD
78 
79 #endif // BPHYSTOOLS_IBPHYSBLINDINGTOOL_H
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
xAOD::IBPhysBlindingTool::doUnblind
virtual StatusCode doUnblind()=0
Perform unblinding of requested variables.
xAOD::IBPhysBlindingTool::finalize
virtual StatusCode finalize()=0
Declare the correct interface for Athena.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
xAOD::IBPhysBlindingTool
Interface for dual-use tool for blinding and unblinding certain float values provided as variables in...
Definition: IBPhysBlindingTool.h:35
xAOD::IBPhysBlindingTool::doBlind
virtual StatusCode doBlind()=0
Perform blinding of requested variables.
VertexContainer.h
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71