ATLAS Offline Software
IHIPileupTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // HIPileupTool.h
6 
7 #ifndef HIEVENTUTILS_IHIPILEUPTOOL_H
8 #define HIEVENTUTILS_IHIPILEUPTOOL_H
9 
10 #include "AsgTools/IAsgTool.h"
13 
14 //R.Longo - 12/10/2019 - Replacing PATCore/TAccept (inherited from 21.0 HI-equalization)
15 #include "PATCore/AcceptInfo.h"
16 #include "PATCore/AcceptData.h"
17 
18 namespace HI
19 {
20 
21  class IHIPileupTool : virtual public asg::IAsgTool {
23 
24  public:
25 
26  virtual const asg::AcceptInfo& getAcceptInfo(const xAOD::HIEventShapeContainer& evShCont, const xAOD::ZdcModuleContainer& ZdcCont) const = 0;
27  //Added by R.Longo and S.Tapia on 14-10-2019 to bypass an error in including 21.0 missing commits
28  virtual bool is_pileup(const xAOD::HIEventShapeContainer&, const xAOD::ZdcModuleContainer& ) const = 0;
29 
30  };
31 }
32 #endif
HI::IHIPileupTool::getAcceptInfo
virtual const asg::AcceptInfo & getAcceptInfo(const xAOD::HIEventShapeContainer &evShCont, const xAOD::ZdcModuleContainer &ZdcCont) const =0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
asg::AcceptInfo
Definition: AcceptInfo.h:28
HIEventShapeContainer.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AcceptData.h
HI::IHIPileupTool::is_pileup
virtual bool is_pileup(const xAOD::HIEventShapeContainer &, const xAOD::ZdcModuleContainer &) const =0
HI
Definition: HIEventDefs.h:14
HI::IHIPileupTool
Definition: IHIPileupTool.h:21
AcceptInfo.h
ZdcModuleContainer.h