ATLAS Offline Software
MBTSTimeFilterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PrimaryDPDMaker_MBTSTimeFilterTool_H
6 #define PrimaryDPDMaker_MBTSTimeFilterTool_H
7 
9 #include "AsgTools/AsgTool.h"
11 
12 class MBTSTimeFilterTool : public asg::AsgTool, virtual public IMBTSTimeFilterTool
13 {
14  public:
15  MBTSTimeFilterTool( const std::string& tool_name);
17 
18 
20 
21 
23  virtual StatusCode initialize() override;
24 
26  const SG::ReadHandleKey<TileCellContainer>& key,
27  const EventContext& ctx) const override;
28 
29  virtual StatusCode getTimeDifference(TimingFilterInformation& time_info) override;
30  protected:
33 
36 
37  // Value in pC, from T2MbtsFex.cxx
38  Gaudi::Property<float> m_chargethreshold{this, "ChargeThreshold", 60.0/222.0};
39  Gaudi::Property<int> m_minhitsperside{this, "MinHitsPerSide", 2 };
40  Gaudi::Property<float> m_maxtimediff{this, "MaxTimeDifference", 10.0 };
41  Gaudi::Property<std::string> m_mbtsContainerName{this, "MBTSContainerName", "MBTSContainer"};
42 
43 };
44 
45 #endif
46 
MBTSTimeFilterTool::m_mbtsContainerName
Gaudi::Property< std::string > m_mbtsContainerName
Definition: MBTSTimeFilterTool.h:41
TimingFilterInformation
Simple helper struct used to obtain the timing information by the IMBTSTimeFilter and ICaloTimerFilte...
Definition: TimingFilterInformation.h:10
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
MBTSTimeFilterTool::m_maxtimediff
Gaudi::Property< float > m_maxtimediff
Definition: MBTSTimeFilterTool.h:40
MBTSTimeFilterTool::MBTSTimeFilterTool
MBTSTimeFilterTool(const std::string &tool_name)
Definition: MBTSTimeFilterTool.cxx:13
MBTSTimeFilterTool::m_tileTBID
const TileTBID * m_tileTBID
For access to the tile test beam identifiers.
Definition: MBTSTimeFilterTool.h:35
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
MBTSTimeFilterTool
Definition: MBTSTimeFilterTool.h:13
MBTSTimeFilterTool::initialize
virtual StatusCode initialize() override
Overriding initialize and finalize.
Definition: MBTSTimeFilterTool.cxx:16
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
IMBTSTimeFilterTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IMBTSTimeFilterTool
Definition: IMBTSTimeFilterTool.h:13
MBTSTimeFilterTool::m_minhitsperside
Gaudi::Property< int > m_minhitsperside
Definition: MBTSTimeFilterTool.h:39
MBTSTimeFilterTool::m_chargethreshold
Gaudi::Property< float > m_chargethreshold
Definition: MBTSTimeFilterTool.h:38
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
MBTSTimeFilterTool::fillTimeDifference
void fillTimeDifference(TimingFilterInformation &time_info, const TileCellContainer *container) const
Once the container is retrieve the filling mechanism is the same.
Definition: MBTSTimeFilterTool.cxx:41
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
TileTBID.h
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
AsgTool.h
TileContainer
Definition: TileContainer.h:38
MBTSTimeFilterTool::getTimeDifference
virtual StatusCode getTimeDifference(TimingFilterInformation &time_info, const SG::ReadHandleKey< TileCellContainer > &key, const EventContext &ctx) const override
Caching method using the ReadHandles.
Definition: MBTSTimeFilterTool.cxx:29
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37