LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evdb::ScanOptions Class Reference

#include "ScanOptions.h"

Public Member Functions

 ScanOptions (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
 ~ScanOptions ()
 

Public Attributes

bool fIncludeMCInfo
 
std::string fScanFileBase
 

true if MC information is to be included in scan output

More...
 
std::vector< std::string > fCategories
 

base file name for scanning

More...
 
std::vector< unsigned int > fFieldsPerCategory
 

names of the various categories for the scan

More...
 
std::vector< std::string > fFieldTypes
 

number of fields in each category

More...
 
std::vector< std::string > fFieldLabels
 

types of the fields, ie TextEntry, Buttons, NumberEntry, etc

More...
 

Detailed Description

Definition at line 24 of file ScanOptions.h.

Constructor & Destructor Documentation

evdb::ScanOptions::ScanOptions ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)

Definition at line 17 of file ScanOptions.cc.

References fCategories, fFieldLabels, fFieldsPerCategory, fFieldTypes, fIncludeMCInfo, fScanFileBase, and fhicl::ParameterSet::get().

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  }
std::vector< unsigned int > fFieldsPerCategory
names of the various categories for the scan
Definition: ScanOptions.h:41
std::string fScanFileBase
true if MC information is to be included in scan output
Definition: ScanOptions.h:31
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
evdb::ScanOptions::~ScanOptions ( )

Definition at line 28 of file ScanOptions.cc.

29  {
30  }

Member Data Documentation

std::vector<std::string> evdb::ScanOptions::fCategories

base file name for scanning

Definition at line 40 of file ScanOptions.h.

Referenced by evdb::ScanWindow::OpenOutputFile(), evdb::ScanFrame::ScanFrame(), and ScanOptions().

std::vector<std::string> evdb::ScanOptions::fFieldLabels

types of the fields, ie TextEntry, Buttons, NumberEntry, etc

Definition at line 43 of file ScanOptions.h.

Referenced by evdb::ScanWindow::OpenOutputFile(), evdb::ScanFrame::ScanFrame(), and ScanOptions().

std::vector<unsigned int> evdb::ScanOptions::fFieldsPerCategory

names of the various categories for the scan

Definition at line 41 of file ScanOptions.h.

Referenced by evdb::ScanWindow::OpenOutputFile(), evdb::ScanFrame::ScanFrame(), and ScanOptions().

std::vector<std::string> evdb::ScanOptions::fFieldTypes

number of fields in each category

Definition at line 42 of file ScanOptions.h.

Referenced by evdb::ScanFrame::ClearFields(), evdb::ScanFrame::Record(), evdb::ScanFrame::ScanFrame(), and ScanOptions().

bool evdb::ScanOptions::fIncludeMCInfo
std::string evdb::ScanOptions::fScanFileBase

true if MC information is to be included in scan output

Definition at line 31 of file ScanOptions.h.

Referenced by evdb::ScanWindow::OpenOutputFile(), and ScanOptions().


The documentation for this class was generated from the following files: