ScanOptions.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // $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
7 ////////////////////////////////////////////////////////////////////////
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 
30  bool fIncludeMCInfo; ///> true if MC information is to be included in scan output
31  std::string fScanFileBase; ///> base file name for scanning
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; ///> names of the various categories for the scan
41  std::vector<unsigned int> fFieldsPerCategory; ///> number of fields in each category
42  std::vector<std::string> fFieldTypes; ///> types of the fields, ie TextEntry, Buttons, NumberEntry, etc
43  std::vector<std::string> fFieldLabels; ///> labels for each of the fields, whatever you want to call them
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
std::string string
Definition: nybbler.cc:12
ScanOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
std::string fScanFileBase
true if MC information is to be included in scan output
Definition: ScanOptions.h:31
#define DECLARE_ART_SERVICE(svc, scope)
Definition: ServiceMacros.h:86
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
std::vector< std::string > fCategories
base file name for scanning
Definition: ScanOptions.h:40