Public Types | Static Public Member Functions | List of all members
art::IDNumber< Level::SubRun > Struct Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Provenance/IDNumber.h"

Public Types

using type = std::uint32_t
 

Static Public Member Functions

static constexpr type invalid ()
 
static constexpr type max_valid ()
 
static constexpr type flush_value ()
 
static constexpr type max_natural ()
 
static constexpr type first ()
 

Detailed Description

template<>
struct art::IDNumber< Level::SubRun >

Definition at line 48 of file IDNumber.h.

Member Typedef Documentation

using art::IDNumber< Level::SubRun >::type = std::uint32_t

Definition at line 49 of file IDNumber.h.

Member Function Documentation

static constexpr type art::IDNumber< Level::SubRun >::first ( )
inlinestatic

Definition at line 71 of file IDNumber.h.

References submit_hadd::u.

72  {
73  return 0u;
74  }
static constexpr type art::IDNumber< Level::SubRun >::flush_value ( )
inlinestatic

Definition at line 61 of file IDNumber.h.

62  {
63  return max_valid();
64  }
static constexpr type max_valid()
Definition: IDNumber.h:56
static constexpr type art::IDNumber< Level::SubRun >::invalid ( )
inlinestatic

Definition at line 51 of file IDNumber.h.

References submit_hadd::u.

52  {
53  return -1u;
54  }
static constexpr type art::IDNumber< Level::SubRun >::max_natural ( )
inlinestatic

Definition at line 66 of file IDNumber.h.

References submit_hadd::u.

67  {
68  return flush_value() - 1u;
69  }
static constexpr type flush_value()
Definition: IDNumber.h:61
static constexpr type art::IDNumber< Level::SubRun >::max_valid ( )
inlinestatic

Definition at line 56 of file IDNumber.h.

References PandAna.reco_validation.prod5_pid_validation::invalid, and submit_hadd::u.

57  {
58  return invalid() - 1u;
59  }
static constexpr type invalid()
Definition: IDNumber.h:51

The documentation for this struct was generated from the following file: