Skip to content
Snippets Groups Projects
Commit 9dc7843a authored by Carla Marin Benito's avatar Carla Marin Benito :fast_forward: Committed by Rosen Matev
Browse files

Add EmptyProducer class

parent 58319760
No related branches found
No related tags found
2 merge requests!3702merge counter decoder into Louis' original branch,!3273Add EmptyProducer class
/*****************************************************************************\
* (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration *
* *
* This software is distributed under the terms of the GNU General Public *
* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
* *
* In applying this licence, CERN does not waive the privileges and immunities *
* granted to it by virtue of its status as an Intergovernmental Organization *
* or submit itself to any jurisdiction. *
\*****************************************************************************/
#include "LHCbAlgs/Producer.h"
template <typename Out>
class EmptyProducer final : public LHCb::Algorithm::Producer<Out()> {
public:
EmptyProducer( const std::string& name, ISvcLocator* pSvcLocator )
: LHCb::Algorithm::Producer<Out()>{name, pSvcLocator, {"Output", ""}} {}
Out operator()() const override { return {}; }
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment