Classes | Typedefs | Functions
hdf5 Namespace Reference

Classes

class  HDF5Beam
 HDF5 encoding of SRBeam. More...
 
class  HDF5Bpf
 HDF5 encoding of SRBpf. More...
 
class  HDF5BPFEnergy
 HDF5 encoding of SRBPFEnergy. More...
 
class  HDF5BpfId
 HDF5 encoding of SRBpfId. More...
 
class  HDF5BpfTrack
 HDF5 encoding of SRBpfTrack. More...
 
class  HDF5Contain
 HDF5 encoding of SRContain. More...
 
class  HDF5Cosmic
 HDF5 encoding of SRCosmic. More...
 
class  HDF5CosmicCVN
 HDF5 encoding of SRCosmicCVN. More...
 
class  HDF5CosRej
 HDF5 encoding of SRCosRej. More...
 
class  HDF5CVNFeatures
 HDF5 encoding of SRCVNFeatures. More...
 
class  HDF5CVNParticleResult
 HDF5 encoding of SRCVNParticleResult. More...
 
class  HDF5CVNResult
 HDF5 encoding of SRCVNResult. More...
 
class  HDF5Elastic
 HDF5 encoding of SRElastic. More...
 
class  HDF5ELid
 HDF5 encoding of SRELid. More...
 
class  HDF5Energy
 HDF5 encoding of SREnergy. More...
 
class  HDF5EnergyBranch
 HDF5 encoding of SREnergyBranch. More...
 
class  HDF5FluxWeights
 HDF5 encoding of SRFluxWeights. More...
 
class  HDF5FuzzyK
 HDF5 encoding of SRFuzzyK. More...
 
class  HDF5FuzzyKProng
 HDF5 encoding of SRFuzzyKProng. More...
 
class  HDF5GenieWeights
 HDF5 encoding of SRGenieWeights. More...
 
class  HDF5GlobalTruth
 HDF5 encoding of SRGlobalTruth. More...
 
class  HDF5HadClust
 HDF5 encoding of SRHadClust. More...
 
class  HDF5Header
 HDF5 encoding of SRHeader. More...
 
class  HDF5HoughVertex
 HDF5 encoding of SRHoughVertex. More...
 
class  HDF5IDBranch
 HDF5 encoding of SRIDBranch. More...
 
class  HDF5JMEid
 HDF5 encoding of SRJMEid. More...
 
class  HDF5JMShower
 HDF5 encoding of SRJMShower. More...
 
class  HDF5Kalman
 HDF5 encoding of SRKalman. More...
 
class  HDF5KalmanTrack
 HDF5 encoding of SRKalmanTrack. More...
 
class  HDF5Lem
 HDF5 encoding of SRLem. More...
 
class  HDF5Maker
 
class  HDF5MCReweight
 HDF5 encoding of SRMCReweight. More...
 
class  HDF5MichelE
 HDF5 encoding of SRMichelE. More...
 
class  HDF5MRCCParent
 HDF5 encoding of SRMRCCParent. More...
 
class  HDF5MRProperties
 HDF5 encoding of SRMRProperties. More...
 
class  HDF5MuId
 HDF5 encoding of SRMuId. More...
 
class  HDF5NCCosRej
 HDF5 encoding of SRNCCosRej. More...
 
class  HDF5NCPi0BkgRej
 HDF5 encoding of SRNCPi0BkgRej. More...
 
class  HDF5NDSandbox
 HDF5 encoding of SRNDSandbox. More...
 
class  HDF5Neutrino
 HDF5 encoding of SRNeutrino. More...
 
class  HDF5NueCosRej
 HDF5 encoding of SRNueCosRej. More...
 
class  HDF5NueEnergy
 HDF5 encoding of SRNueEnergy. More...
 
class  HDF5NueSandbox
 HDF5 encoding of SRNueSandbox. More...
 
class  HDF5NumuEnergy
 HDF5 encoding of SRNumuEnergy. More...
 
class  HDF5NumuSandbox
 HDF5 encoding of SRNumuSandbox. More...
 
class  HDF5NusSandbox
 HDF5 encoding of SRNusSandbox. More...
 
class  HDF5ParentBranch
 HDF5 encoding of SRParentBranch. More...
 
class  HDF5ParticleTruth
 HDF5 encoding of SRParticleTruth. More...
 
class  HDF5PixelMap
 HDF5 encoding of SRPixelMap. More...
 
class  HDF5PixelObjMap
 HDF5 encoding of SRPixelObjMap. More...
 
class  HDF5Presel
 HDF5 encoding of SRPresel. More...
 
class  HDF5Prong
 HDF5 encoding of SRProng. More...
 
class  HDF5ProngTrainingData
 HDF5 encoding of SRProngTrainingData. More...
 
class  HDF5ProngXSec
 HDF5 encoding of SRProngXSec. More...
 
class  HDF5Qepid
 HDF5 encoding of SRQepid. More...
 
class  HDF5Record
 HDF5 encoding of StandardRecord. More...
 
class  HDF5RegCVNResult
 HDF5 encoding of SRRegCVNResult. More...
 
class  HDF5Remid
 HDF5 encoding of SRRemid. More...
 
class  HDF5Rvp
 HDF5 encoding of SRRvp. More...
 
class  HDF5Sandbox
 HDF5 encoding of SRSandbox. More...
 
class  HDF5Shower
 HDF5 encoding of SRShower. More...
 
class  HDF5ShowerBranch
 HDF5 encoding of SRShowerBranch. More...
 
class  HDF5ShowerLID
 HDF5 encoding of SRShowerLID. More...
 
class  HDF5SlcME
 HDF5 encoding of SRSlcME. More...
 
class  HDF5Slice
 HDF5 encoding of SRSlice. More...
 
class  HDF5SliceLID
 HDF5 encoding of SRSliceLID. More...
 
class  HDF5SliceMap
 HDF5 encoding of SRSliceMap. More...
 
class  HDF5SLid
 HDF5 encoding of SRSLid. More...
 
class  HDF5SLidEnergy
 HDF5 encoding of SRSLidEnergy. More...
 
class  HDF5SPid
 HDF5 encoding of SRSPid. More...
 
class  HDF5Spill
 HDF5 encoding of SRSpill. More...
 
class  HDF5Track
 HDF5 encoding of SRTrack. More...
 
class  HDF5TrackBase
 HDF5 encoding of SRTrackBase. More...
 
class  HDF5TrackBranch
 HDF5 encoding of SRTrackBranch. More...
 
class  HDF5TrainingBranch
 HDF5 encoding of SRTrainingBranch. More...
 
class  HDF5TrainingData
 HDF5 encoding of SRTrainingData. More...
 
class  HDF5TrkME
 HDF5 encoding of SRTrkME. More...
 
class  HDF5TrueMichelE
 HDF5 encoding of SRTrueMichelE. More...
 
class  HDF5TrueNumuEnergy
 HDF5 encoding of SRTrueNumuEnergy. More...
 
class  HDF5TrueParticle
 HDF5 encoding of SRTrueParticle. More...
 
class  HDF5Truth
 HDF5 encoding of SRTruth. More...
 
class  HDF5TruthBranch
 HDF5 encoding of SRTruthBranch. More...
 
class  HDF5Vertex
 HDF5 encoding of SRVertex. More...
 
class  HDF5VertexBranch
 HDF5 encoding of SRVertexBranch. More...
 
class  HDF5VertexDT
 HDF5 encoding of SRVertexDT. More...
 
class  HDF5Veto
 HDF5 encoding of SRVeto. More...
 
class  HDF5Xnue
 HDF5 encoding of SRXnue. More...
 
class  Wrapped
 Wrap a basic datatype up as if it's a class with a single member. More...
 

Typedefs

using plist = std::initializer_list< hep_hpc::hdf5::PropertyList >
 
typedef std::initializer_list< hep_hpc::hdf5::PropertyList > plist_init
 

Functions

std::string Join (const std::string &a, const std::string &b)
 
template<class T >
hep_hpc::hdf5::Column< Tmake_col (const plist_init &cprop, const std::string &name, std::enable_if_t<!std::is_array< T >::value, void * > dummy=0)
 Helper for make_cols() - specialized for regular fields. More...
 
template<class T >
hep_hpc::hdf5::Column< std::remove_extent_t< T > > make_col (const plist_init &cprop, const std::string &name, std::enable_if_t< std::is_array< T >::value, void * > dummy=0)
 Helper for make_cols() - specialized for arrays. More...
 
template<class... Types, class... Names>
static auto make_cols (const plist_init &cprop, Names...names)
 Return a tuple of hdf5 columns, with the given names and types. More...
 

Typedef Documentation

using hdf5::plist = typedef std::initializer_list<hep_hpc::hdf5::PropertyList>

Definition at line 25 of file HDF5Maker_module.cc.

typedef std::initializer_list<hep_hpc::hdf5::PropertyList> hdf5::plist_init

Definition at line 23 of file HDF5Record.h.

Function Documentation

std::string hdf5::Join ( const std::string &  a,
const std::string &  b 
)
inline

Definition at line 17 of file HDF5Record.h.

References b.

18 {
19  if(a.empty()) return b;
20  return a+"."+b;
21 }
const double a
const hit & b
Definition: hits.cxx:21
template<class T >
hep_hpc::hdf5::Column<T> hdf5::make_col ( const plist_init cprop,
const std::string &  name,
std::enable_if_t<!std::is_array< T >::value, void * >  dummy = 0 
)

Helper for make_cols() - specialized for regular fields.

Definition at line 27 of file HDF5Record.h.

30 {
31  return hep_hpc::hdf5::make_scalar_column<T>(name, cprop);
32 }
const XML_Char * name
Definition: expat.h:151
template<class T >
hep_hpc::hdf5::Column<std::remove_extent_t<T> > hdf5::make_col ( const plist_init cprop,
const std::string &  name,
std::enable_if_t< std::is_array< T >::value, void * >  dummy = 0 
)

Helper for make_cols() - specialized for arrays.

Definition at line 36 of file HDF5Record.h.

39 {
40  return hep_hpc::hdf5::make_column<std::remove_extent_t<T>>(name, std::extent<T>::value, cprop);
41 }
const XML_Char * name
Definition: expat.h:151
const XML_Char int const XML_Char * value
Definition: expat.h:331
template<class... Types, class... Names>
static auto hdf5::make_cols ( const plist_init cprop,
Names...  names 
)
static

Return a tuple of hdf5 columns, with the given names and types.

Definition at line 45 of file HDF5Record.h.

References gen_hdf5record::names.

47 {
48  static_assert(sizeof...(Names) == sizeof...(Types),
49  "Must specify same number of column types and column names");
50  return std::make_tuple(make_col<Types>(cprop, names)...);
51 }