ATLAS Offline Software
TBBeamQualityTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //#####################################################
6 //# #
7 //# File : TBBeamQualityTool.cxx #
8 //# Package: TBRec #
9 //# #
10 //# Author : Marco Bieri <mbieri@sfu.ca> #
11 //# based on TBEventStreamer #
12 //# Last Modified: Nov 18/2004 #
13 //#####################################################
14 
15 
16 #include "TBBeamQualityTool.h"
17 
18 #include <string>
19 #include <vector>
20 
22  const std::string& type,
23  const IInterface* parent)
25 { }
26 
28 {}
29 
31 
32 {
33  return this->initializeTool();
34 }
35 
37 {
38  return StatusCode::SUCCESS;
39 }
40 
41 StatusCode TBBeamQualityTool::reject(const std::vector<std::string>& particles)
42 {
43  return this->accept(particles).isFailure()
44  ? StatusCode::SUCCESS
45  : StatusCode::FAILURE;
46 }
47 
48 
TBBeamQualityTool::initialize
virtual StatusCode initialize() override
Definition: TBBeamQualityTool.cxx:30
TBBeamQualityTool::TBBeamQualityTool
TBBeamQualityTool(const std::string &name, const std::string &type, const IInterface *parent)
Definition: TBBeamQualityTool.cxx:21
TBBeamQualityTool::reject
virtual StatusCode reject(const std::vector< std::string > &)
Definition: TBBeamQualityTool.cxx:41
TBBeamQualityTool::initializeTool
virtual StatusCode initializeTool()
Definition: TBBeamQualityTool.cxx:36
TBBeamQualityTool::~TBBeamQualityTool
virtual ~TBBeamQualityTool()
Definition: TBBeamQualityTool.cxx:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TBBeamQualityTool::accept
virtual StatusCode accept(const std::vector< std::string > &)=0
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TBBeamQualityTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4FSStartPointFilter.particles
list particles
Definition: LArG4FSStartPointFilter.py:84
AthAlgTool
Definition: AthAlgTool.h:26