ScanOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // $Id: ScanOptions.cxx,v 1.3 2011-01-20 16:43:29 p-nusoftart Exp $
3 //
4 // Display parameters for the hand scan view
5 //
6 // \author brebel@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 // Framework includes
9 
10 #include "nutools/EventDisplayBase/ScanOptions.h"
11 
12 #include <iostream>
13 
14 namespace evdb {
15 
16  //......................................................................
18  {
19  fIncludeMCInfo = pset.get< bool >("IncludeMCInfo");
20  fScanFileBase = pset.get< std::string >("FileNameBase");
21  fCategories = pset.get< std::vector<std::string> >("Categories");
22  fFieldLabels = pset.get< std::vector<std::string> >("FieldLabels");
23  fFieldTypes = pset.get< std::vector<std::string> >("FieldTypes");
24  fFieldsPerCategory = pset.get< std::vector<unsigned int> >("FieldsPerCategory");
25  }
26 
27  //......................................................................
29  {
30  }
31 
32 }
33 
34 namespace evdb {
35 
37 
38 } // namespace evd
39 ////////////////////////////////////////////////////////////////////////
40 
41 ////////////////////////////////////////////////////////////////////////
std::vector< unsigned int > fFieldsPerCategory
names of the various categories for the scan
Definition: ScanOptions.h:41
std::string string
Definition: nybbler.cc:12
#define DEFINE_ART_SERVICE(svc)
Definition: ServiceMacros.h:88
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
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
T get(std::string const &key) const
Definition: ParameterSet.h:231
std::vector< std::string > fCategories
base file name for scanning
Definition: ScanOptions.h:40