Public Types | Public Member Functions | Public Attributes | List of all members
WiredAdcChannelDataMap Class Reference

#include <WiredAdcChannelDataMap.h>

Public Types

typedef std::string Name
 
typedef std::vector< NameNameVector
 
typedef std::vector< recob::WireWireContainer
 

Public Member Functions

 WiredAdcChannelDataMap ()=default
 
 WiredAdcChannelDataMap (const NameVector names, AdcChannel nchmax)
 
bool hasData (Name sname)
 
bool hasWires (Name sname)
 

Public Attributes

std::map< Name, AdcChannelDataMapdataMaps
 
std::map< Name, WireContainer * > wires
 

Detailed Description

Definition at line 20 of file WiredAdcChannelDataMap.h.

Member Typedef Documentation

Definition at line 24 of file WiredAdcChannelDataMap.h.

Definition at line 25 of file WiredAdcChannelDataMap.h.

Definition at line 26 of file WiredAdcChannelDataMap.h.

Constructor & Destructor Documentation

WiredAdcChannelDataMap::WiredAdcChannelDataMap ( )
default
WiredAdcChannelDataMap::WiredAdcChannelDataMap ( const NameVector  names,
AdcChannel  nchmax 
)
inline

Definition at line 35 of file WiredAdcChannelDataMap.h.

35  {
36  for ( Name name : names ) {
37  dataMaps[name];
38  WireContainer* pwires = new WireContainer;
39  wires[name] = pwires;
40  pwires->reserve(nchmax);
41  }
42  }
static QCString name
Definition: declinfo.cpp:673
ChannelGroupService::Name Name
std::map< Name, AdcChannelDataMap > dataMaps
std::map< Name, WireContainer * > wires
static std::vector< std::string > const names
Definition: FragmentType.hh:8
std::vector< recob::Wire > WireContainer

Member Function Documentation

bool WiredAdcChannelDataMap::hasData ( Name  sname)
inline

Definition at line 45 of file WiredAdcChannelDataMap.h.

45  {
46  return dataMaps.find(sname) != dataMaps.end();
47  }
std::map< Name, AdcChannelDataMap > dataMaps
bool WiredAdcChannelDataMap::hasWires ( Name  sname)
inline

Definition at line 50 of file WiredAdcChannelDataMap.h.

50  {
51  return wires.find(sname) != wires.end();
52  }
std::map< Name, WireContainer * > wires

Member Data Documentation

std::map<Name, AdcChannelDataMap> WiredAdcChannelDataMap::dataMaps

Definition at line 29 of file WiredAdcChannelDataMap.h.

std::map<Name, WireContainer*> WiredAdcChannelDataMap::wires

Definition at line 30 of file WiredAdcChannelDataMap.h.


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