DuneServiceAccess.h
Go to the documentation of this file.
1 // DuneServiceAccess.h
2 
3 // David Adams
4 // January 2017
5 //
6 // Add ArtServicePointer specializations for DUNE services so they
7 // can be accessed from the Root command line.
8 //
9 // Usage example:
10 // root> gSystem->SetBuildDir(".aclic");
11 // root> gSystem->AddLinkedLibs(gSystem->ExpandPathName("$DUNETPC_LIB/libdune_ArtSupport.so"));
12 // root> gSystem->AddLinkedLibs(gSystem->ExpandPathName("$DUNETPC_LIB/libdune_DuneServiceAccess.so"));
13 // root> .L $DUNETPC_INC/dunecore/ArtSupport/ArtServiceHelper.h+
14 // root> .L $DUNETPC_INC/dunecore/DuneServiceAccess/DuneServiceAccess.h+
15 // root> ArtServiceHelper& ash = ArtServiceHelper::load("standard_reco_dune35tdata.fcl");
16 // root> ChannelGroupService* pcgs = ArtServicePointer<ChannelGroupService>();
17 // root> pcgs->print();
18 
19 #ifndef DuneServiceAccess_H
20 #define DuneServiceAccess_H
21 
23 
26 
35 
47 
49 
50 template<class T> T* ArtServicePointer();
51 
54 
62 
74 
76 
77 #endif
AdcRoiBuildingService * ArtServicePointer< AdcRoiBuildingService >()
RawDigitPrepService * ArtServicePointer< RawDigitPrepService >()
PedestalAdditionService * ArtServicePointer< PedestalAdditionService >()
AdcChannelDataCopyService * ArtServicePointer< AdcChannelDataCopyService >()
AdcDeconvolutionService * ArtServicePointer< AdcDeconvolutionService >()
AdcSuppressService * ArtServicePointer< AdcSuppressService >()
ChannelGroupService * ArtServicePointer< ChannelGroupService >()
SignalShapingService * ArtServicePointer< SignalShapingService >()
AdcCompressService * ArtServicePointer< AdcCompressService >()
AdcWireBuildingService * ArtServicePointer< AdcWireBuildingService >()
AdcMitigationService * ArtServicePointer< AdcMitigationService >()
AdcChannelNoiseRemovalService * ArtServicePointer< AdcChannelNoiseRemovalService >()
BaseTriggerService * ArtServicePointer< BaseTriggerService >()
RawDigitExtractService * ArtServicePointer< RawDigitExtractService >()
AdcSignalFindingService * ArtServicePointer< AdcSignalFindingService >()
PedestalEvaluationService * ArtServicePointer< PedestalEvaluationService >()
ChannelNoiseService * ArtServicePointer< ChannelNoiseService >()
AdcNoiseRemovalService * ArtServicePointer< AdcNoiseRemovalService >()
SimChannelExtractService * ArtServicePointer< SimChannelExtractService >()
ChannelMappingService * ArtServicePointer< ChannelMappingService >()
AdcDistortionService * ArtServicePointer< AdcDistortionService >()
T * ArtServicePointer()