RawDrawingOptions.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // $Id: RawDrawingOption.h,v 1.15 2010/08/30 21:33:24 spitz7 Exp $
3 //
4 // Display parameters for the raw data
5 //
6 // \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef RAWDRAWINGOPTIONS_H
9 #define RAWDRAWINGOPTIONS_H
10 #ifndef __CINT__
11 #include <string>
12 #include <vector>
13 
14 #include "fhiclcpp/ParameterSet.h"
20 
21 namespace gar {
22 namespace evd {
23  /**
24  * @brief Display parameters for the raw data
25  *
26  * Configuration parameters
27  * -------------------------
28  *
29  * This is an incomplete list of the supported parameters:
30  * - *RoIthresholds* (list of real numbers, default: empty): threshold in ADC
31  * counts for a tick on a wire to be "interesting", thus extending the
32  * region of interest to include it. The thresholds are specified one per
33  * plane; if no threshold is specified for a plane, the threshold for the
34  * last plane is used instead (therefore specifying just one threshold will
35  * apply the same threshold to all planes). If no threshold is specified
36  * at all, the value of 'MinSignal' parameter is used as threshold for all
37  * planes
38  *
39  */
41  {
42  public:
45 
46  void reconfigure(fhicl::ParameterSet const& pset);
47 
48  int fDrawRawOrReco; ///< 0 = draw raw, 1 = draw reco
49  int fTicksPerPoint; ///< number of ticks to include in one point
50  int fScaleDigitsByCharge; ///< scale the size of the digit by the charge
51  double fMinSignal; ///< minimum ADC count to display a time bin
52  double fStartTick; ///< Starting tick for the display
53  double fTicks; ///< number of TDC ticks to display, ie # fTicks past fStartTick
54  unsigned int fMinChannelStatus; ///< Display channels with this status and above
55  unsigned int fMaxChannelStatus; ///< Display channels with this status and below
56  unsigned int fChannel; ///< Channel to display in time/charge histogram
57  art::InputTag fRawDataLabel; ///< module label that made the raw digits, default is daq
58 
59  bool fUncompressWithPed; ///< Option to uncompress with pedestal. Turned off by default
60  bool fSeeBadChannels; ///< Allow "bad" channels to be viewed
61 
62  };
63 }
64 }//namespace
65 #endif // __CINT__
67 #endif
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
#define DECLARE_ART_SERVICE(svc, scope)
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.
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.