Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
LHCb
Commits
9dc7843a
Commit
9dc7843a
authored
3 years ago
by
Carla Marin Benito
Committed by
Rosen Matev
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add EmptyProducer class
parent
58319760
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!3702
merge counter decoder into Louis' original branch
,
!3273
Add EmptyProducer class
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Kernel/LHCbAlgs/include/LHCbAlgs/EmptyProducer.h
+20
-0
20 additions, 0 deletions
Kernel/LHCbAlgs/include/LHCbAlgs/EmptyProducer.h
with
20 additions
and
0 deletions
Kernel/LHCbAlgs/include/LHCbAlgs/EmptyProducer.h
0 → 100644
+
20
−
0
View file @
9dc7843a
/*****************************************************************************\
* (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
{};
}
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment