RawDrawingOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RawDrawingOption_plugin.cc
3 ///
4 /// \version $Id: RecoDrawingOptions_plugin.cc,v 1.1 2010/11/11 18:11:22 p-novaart Exp $
5 /// \author brebel@fnal.gov
6 
7 // Framework includes
8 
9 /// GArSoft includes
11 
12 #include <iostream>
13 #include <limits>
14 
15 namespace gar {
16 namespace evd {
17 
18  //......................................................................
20  art::ActivityRegistry& /* reg */)
21  {
22  this->reconfigure(pset);
23  }
24 
25  //......................................................................
27  {
28  }
29 
30  //......................................................................
32  {
33  fDrawRawOrReco = pset.get< int >("DrawRawOrReco", 0 );
34  fScaleDigitsByCharge = pset.get< int >("ScaleDigitsByCharge" );
35  fTicksPerPoint = pset.get< int >("TicksPerPoint" );
36  fMinSignal = pset.get< double >("MinimumSignal" );
37  fStartTick = pset.get< double >("StartTick", 0 );
38  fTicks = pset.get< double >("TotalTicks", 2048 );
39  fRawDataLabel = pset.get< art::InputTag>("RawDataLabel", "daq");
40  fMinChannelStatus = pset.get< unsigned int >("MinChannelStatus", 0 );
41  fMaxChannelStatus = pset.get< unsigned int >("MaxChannelStatus", std::numeric_limits<unsigned int>::max());
42  fUncompressWithPed = pset.get< bool >("UncompressWithPed", false);
43  fSeeBadChannels = pset.get< bool >("SeeBadChannels", false);
44  fChannel = pset.get< unsigned int >("Channel", 0);
45 
46  }
47 }
48 
49 namespace evd {
50 
52 
53 } // namespace evd
54 }
55 ////////////////////////////////////////////////////////////////////////
art::InputTag fRawDataLabel
module label that made the raw digits, default is daq
bool fSeeBadChannels
Allow "bad" channels to be viewed.
double fTicks
number of TDC ticks to display, ie # fTicks past fStartTick
unsigned int fMinChannelStatus
Display channels with this status and above.
LArSoft includes.
Definition: InfoTransfer.h:33
int fDrawRawOrReco
0 = draw raw, 1 = draw reco
T get(std::string const &key) const
Definition: ParameterSet.h:271
static int max(int a, int b)
int fScaleDigitsByCharge
scale the size of the digit by the charge
bool fUncompressWithPed
Option to uncompress with pedestal. Turned off by default.
General GArSoft Utilities.
#define DEFINE_ART_SERVICE(svc)
RawDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
unsigned int fChannel
Channel to display in time/charge histogram.
double fMinSignal
minimum ADC count to display a time bin
void reconfigure(fhicl::ParameterSet const &pset)
int fTicksPerPoint
number of ticks to include in one point
unsigned int fMaxChannelStatus
Display channels with this status and below.
double fStartTick
Starting tick for the display.
Display parameters for the raw data.