Belle II Software
development
ReversedRange.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <tracking/trackFindingCDC/utilities/Range.h>
11
#include <tracking/trackFindingCDC/utilities/GetIterator.h>
12
13
namespace
Belle2
{
18
namespace
TrackFindingCDC {
19
20
template
<
class
Ts,
class
It = GetIterator<Ts> >
21
Range<std::reverse_iterator<It>
> reversedRange(Ts& ts)
22
{
23
return
{ std::rbegin(ts), std::rend(ts) };
24
}
25
}
27
}
Belle2::TrackFindingCDC::Range
A pair of iterators usable with the range base for loop.
Definition
Range.h:25
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
tracking
trackFindingCDC
utilities
include
ReversedRange.h
Generated on Mon Sep 1 2025 03:01:07 for Belle II Software by
1.13.2