ATLAS Offline Software
Loading...
Searching...
No Matches
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)
24 : AthAlgTool(name,type,parent)
25{ }
26
29
31
32{
33 return this->initializeTool();
34}
35
37{
38 return StatusCode::SUCCESS;
39}
40
41StatusCode TBBeamQualityTool::reject(const std::vector<std::string>& particles)
42{
43 return this->accept(particles).isFailure()
44 ? StatusCode::SUCCESS
45 : StatusCode::FAILURE;
46}
47
48
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
virtual StatusCode reject(const std::vector< std::string > &)
virtual StatusCode accept(const std::vector< std::string > &)=0
TBBeamQualityTool(const std::string &name, const std::string &type, const IInterface *parent)
virtual StatusCode initializeTool()