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

#include <Dune35tChannelMappingService.h>

Inheritance diagram for Dune35tChannelMappingService:
ChannelMappingService

Public Member Functions

 Dune35tChannelMappingService (fhicl::ParameterSet const &pset)
 
 Dune35tChannelMappingService (fhicl::ParameterSet const &pset, art::ActivityRegistry &)
 
Channel offline (Channel onlineChannel) const
 
Channel online (Channel offlineChannel) const
 
std::ostream & print (std::ostream &out=std::cout, std::string prefix="") const
 
- Public Member Functions inherited from ChannelMappingService
virtual ~ChannelMappingService ()=default
 

Private Types

typedef std::vector< ChannelChannelMap
 

Private Attributes

int m_LogLevel
 
art::ServiceHandle< lbne::ChannelMapService > hlbnesvc
 

Additional Inherited Members

- Public Types inherited from ChannelMappingService
typedef unsigned int Channel
 

Detailed Description

Definition at line 27 of file Dune35tChannelMappingService.h.

Member Typedef Documentation

Definition at line 29 of file Dune35tChannelMappingService.h.

Constructor & Destructor Documentation

Dune35tChannelMappingService::Dune35tChannelMappingService ( fhicl::ParameterSet const &  pset)

Definition at line 20 of file Dune35tChannelMappingService_service.cc.

21 : m_LogLevel(1) {
22  pset.get_if_present<int>("LogLevel", m_LogLevel);
23  if ( m_LogLevel > 0 ) {
24  print(cout, "Dune35tChannelMappingService::ctor: ");
25  }
26 }
std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const
Dune35tChannelMappingService::Dune35tChannelMappingService ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry  
)

Definition at line 31 of file Dune35tChannelMappingService_service.cc.

Dune35tChannelMappingService(fhicl::ParameterSet const &pset)

Member Function Documentation

Channel Dune35tChannelMappingService::offline ( Channel  onlineChannel) const
virtual

Implements ChannelMappingService.

Definition at line 36 of file Dune35tChannelMappingService_service.cc.

36  {
37  return hlbnesvc->Offline(chin);
38 }
art::ServiceHandle< lbne::ChannelMapService > hlbnesvc
Channel Dune35tChannelMappingService::online ( Channel  offlineChannel) const
virtual

Implements ChannelMappingService.

Definition at line 42 of file Dune35tChannelMappingService_service.cc.

42  {
43  return hlbnesvc->Online(chin);
44 }
art::ServiceHandle< lbne::ChannelMapService > hlbnesvc
ostream & Dune35tChannelMappingService::print ( std::ostream &  out = std::cout,
std::string  prefix = "" 
) const
virtual

Implements ChannelMappingService.

Definition at line 48 of file Dune35tChannelMappingService_service.cc.

48  {
49  string myname = prefix + " ";
50  cout << myname << " LogLevel: " << m_LogLevel << endl;
51  return out;
52 }
QTextStream & endl(QTextStream &s)

Member Data Documentation

art::ServiceHandle<lbne::ChannelMapService> Dune35tChannelMappingService::hlbnesvc
private

Definition at line 52 of file Dune35tChannelMappingService.h.

int Dune35tChannelMappingService::m_LogLevel
private

Definition at line 50 of file Dune35tChannelMappingService.h.


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