Public Member Functions | Public Attributes | List of all members
evd::SimulationDrawingOptions Class Reference

#include <SimulationDrawingOptions.h>

Inheritance diagram for evd::SimulationDrawingOptions:

Public Member Functions

 SimulationDrawingOptions (fhicl::ParameterSet const &pset)
 
void reconfigure (fhicl::ParameterSet const &pset)
 

Public Attributes

bool fShowMCTruthText
 
unsigned short fShowMCTruthVectors
 
bool fShowMCTruthTrajectories
 
bool fShowSimChannelInfo
 
bool fShowSimEnergyInfo
 
bool fShowSimPhotonInfo
 Display SimPhoton info in 3D display. More...
 
bool fShowMCTruthColors
 
bool fShowMCTruthFullSize
 
bool fShowScintillationLight = false
 Whether to draw low energy light (default: no). More...
 
double fMinEnergyDeposition
 
art::InputTag fG4ModuleLabel
 module label producing sim::SimChannel objects More...
 
art::InputTag fSimChannelLabel
 SimChannels may be independent of MC stuff. More...
 
art::InputTag fSimEnergyLabel
 Also for SimEnergyDeposits. More...
 
art::InputTag fSimPhotonLabel
 and for SimPhotons More...
 
fhicl::ParameterSet f3DDrawerParams
 FHICL paramegers for the 3D drawers. More...
 

Detailed Description

Definition at line 22 of file SimulationDrawingOptions.h.

Constructor & Destructor Documentation

evd::SimulationDrawingOptions::SimulationDrawingOptions ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 14 of file SimulationDrawingOptions_service.cc.

15  : evdb::Reconfigurable{pset}
16  {
17  this->reconfigure(pset);
18  }
void reconfigure(fhicl::ParameterSet const &pset)

Member Function Documentation

void evd::SimulationDrawingOptions::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 21 of file SimulationDrawingOptions_service.cc.

22  {
23  fShowMCTruthText = pset.get< bool > ("ShowMCTruthText", true);
24  try {
25  fShowMCTruthVectors = pset.get< unsigned short >("ShowMCTruthVectors", 0);
26  } // try
27  catch (...) {
28  std::cout<<"ShowMCTruthVectors changed to unsigned short. Please update your fcl configuration\n";
29  fShowMCTruthVectors = pset.get< bool >("ShowMCTruthVectors",0);
30  } // catch
31  fShowMCTruthTrajectories = pset.get< bool > ("ShowMCTruthTrajectories", true);
32  fShowSimChannelInfo = pset.get< bool > ("ShowSimChannelInfo", true);
33  fShowSimEnergyInfo = pset.get< bool > ("ShowSimEnergyInfo", true);
34  fShowSimPhotonInfo = pset.get< bool > ("ShowSimPhotonInfo", true);
35  fShowMCTruthColors = pset.get< bool > ("ShowMCTruthColors", true);
36  fShowMCTruthFullSize = pset.get< bool > ("ShowMCTruthFullSize", true);
37  fShowScintillationLight = pset.get< bool > ("ShowScintillationLight", false);
38  fMinEnergyDeposition = pset.get< double > ("MinimumEnergyDeposition" );
39  fG4ModuleLabel = pset.get< art::InputTag > ("G4ModuleLabel" );
40  fSimChannelLabel = pset.get< art::InputTag > ("SimChannelLabel" );
41  fSimEnergyLabel = pset.get< art::InputTag > ("SimEnergyLabel" );
42  fSimPhotonLabel = pset.get< art::InputTag > ("SimPhotonLabel" );
43 
44  f3DDrawerParams = pset.get< fhicl::ParameterSet >("Draw3DTools" );
45  }
art::InputTag fG4ModuleLabel
module label producing sim::SimChannel objects
fhicl::ParameterSet f3DDrawerParams
FHICL paramegers for the 3D drawers.
bool fShowSimPhotonInfo
Display SimPhoton info in 3D display.
art::InputTag fSimPhotonLabel
and for SimPhotons
T get(std::string const &key) const
Definition: ParameterSet.h:271
bool fShowScintillationLight
Whether to draw low energy light (default: no).
art::InputTag fSimChannelLabel
SimChannels may be independent of MC stuff.
art::InputTag fSimEnergyLabel
Also for SimEnergyDeposits.

Member Data Documentation

fhicl::ParameterSet evd::SimulationDrawingOptions::f3DDrawerParams

FHICL paramegers for the 3D drawers.

Definition at line 44 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fG4ModuleLabel

module label producing sim::SimChannel objects

Definition at line 39 of file SimulationDrawingOptions.h.

double evd::SimulationDrawingOptions::fMinEnergyDeposition

Definition at line 38 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthColors

Definition at line 35 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthFullSize

Definition at line 36 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthText

Definition at line 29 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthTrajectories

Definition at line 31 of file SimulationDrawingOptions.h.

unsigned short evd::SimulationDrawingOptions::fShowMCTruthVectors

Definition at line 30 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowScintillationLight = false

Whether to draw low energy light (default: no).

Definition at line 37 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimChannelInfo

Definition at line 32 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimEnergyInfo

Definition at line 33 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimPhotonInfo

Display SimPhoton info in 3D display.

Definition at line 34 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimChannelLabel

SimChannels may be independent of MC stuff.

Definition at line 40 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimEnergyLabel

Also for SimEnergyDeposits.

Definition at line 41 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimPhotonLabel

and for SimPhotons

Definition at line 42 of file SimulationDrawingOptions.h.


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