LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ScanOptions.h
Go to the documentation of this file.
1 // $Id: ScanOptions.h,v 1.4 2011-02-21 22:34:19 brebel Exp $
3 //
4 // Display parameters for scanning
5 //
6 // \author brebel@fnal.gov
8 #ifndef EVDB_SCANOPTIONS_H
9 #define EVDB_SCANOPTIONS_H
10 
11 #include "TGScrollBar.h"
12 #include "TGCanvas.h"
13 
14 #ifndef __CINT__ // root 5
15 #include <string>
16 #include <vector>
17 
18 #include "fhiclcpp/ParameterSet.h"
22 
23 namespace evdb {
24  class ScanOptions
25  {
26  public:
28  ~ScanOptions();
29 
31  std::string fScanFileBase;
32 
33  // below are vectors to describe the different categories that are
34  // important to the scan. fCategories are the broad categories you want
35  // to describe, ie, tracks, neutrinos, etc. fFieldsPerCategory tells
36  // the ScanWindow how many fields are in the categories. fFieldTypes
37  // and fFieldLabels tell the ScanWindow the type of each field and
38  // what to call each field
39 
40  std::vector<std::string> fCategories;
41  std::vector<unsigned int> fFieldsPerCategory;
42  std::vector<std::string> fFieldTypes;
43  std::vector<std::string> fFieldLabels;
44 
45  };
46 }//namespace
47 #endif // __CINT__
49 #endif
50 
std::vector< unsigned int > fFieldsPerCategory
names of the various categories for the scan
Definition: ScanOptions.h:41
ScanOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
Definition: ScanOptions.cc:17
std::string fScanFileBase
true if MC information is to be included in scan output
Definition: ScanOptions.h:31
Manage all things related to colors for the event display.
std::vector< std::string > fFieldLabels
types of the fields, ie TextEntry, Buttons, NumberEntry, etc
Definition: ScanOptions.h:43
std::vector< std::string > fFieldTypes
number of fields in each category
Definition: ScanOptions.h:42
#define DECLARE_ART_SERVICE(svc, scope)
std::vector< std::string > fCategories
base file name for scanning
Definition: ScanOptions.h:40