All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 21 of file SimulationDrawingOptions.h.

Constructor & Destructor Documentation

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

Definition at line 12 of file SimulationDrawingOptions.cc.

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

Member Function Documentation

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

Definition at line 19 of file SimulationDrawingOptions.cc.

20  {
21  fShowMCTruthText = pset.get< bool > ("ShowMCTruthText", true);
22  try {
23  fShowMCTruthVectors = pset.get< unsigned short >("ShowMCTruthVectors", 0);
24  } // try
25  catch (...) {
26  std::cout<<"ShowMCTruthVectors changed to unsigned short. Please update your fcl configuration\n";
27  fShowMCTruthVectors = pset.get< bool >("ShowMCTruthVectors",0);
28  } // catch
29  fShowMCTruthTrajectories = pset.get< bool > ("ShowMCTruthTrajectories", true);
30  fShowSimChannelInfo = pset.get< bool > ("ShowSimChannelInfo", true);
31  fShowSimEnergyInfo = pset.get< bool > ("ShowSimEnergyInfo", true);
32  fShowSimPhotonInfo = pset.get< bool > ("ShowSimPhotonInfo", true);
33  fShowMCTruthColors = pset.get< bool > ("ShowMCTruthColors", true);
34  fShowMCTruthFullSize = pset.get< bool > ("ShowMCTruthFullSize", true);
35  fShowScintillationLight = pset.get< bool > ("ShowScintillationLight", false);
36  fMinEnergyDeposition = pset.get< double > ("MinimumEnergyDeposition" );
37  fG4ModuleLabel = pset.get< art::InputTag > ("G4ModuleLabel" );
38  fSimChannelLabel = pset.get< art::InputTag > ("SimChannelLabel" );
39  fSimEnergyLabel = pset.get< art::InputTag > ("SimEnergyLabel" );
40  fSimPhotonLabel = pset.get< art::InputTag > ("SimPhotonLabel" );
41 
42  f3DDrawerParams = pset.get< fhicl::ParameterSet >("Draw3DTools" );
43  }
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
bool fShowScintillationLight
Whether to draw low energy light (default: no).
art::InputTag fSimChannelLabel
SimChannels may be independent of MC stuff.
BEGIN_PROLOG could also be cout
art::InputTag fSimEnergyLabel
Also for SimEnergyDeposits.

Member Data Documentation

fhicl::ParameterSet evd::SimulationDrawingOptions::f3DDrawerParams

FHICL paramegers for the 3D drawers.

Definition at line 43 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fG4ModuleLabel

module label producing sim::SimChannel objects

Definition at line 38 of file SimulationDrawingOptions.h.

double evd::SimulationDrawingOptions::fMinEnergyDeposition

Definition at line 37 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthColors

Definition at line 34 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthFullSize

Definition at line 35 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthText

Definition at line 28 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowMCTruthTrajectories

Definition at line 30 of file SimulationDrawingOptions.h.

unsigned short evd::SimulationDrawingOptions::fShowMCTruthVectors

Definition at line 29 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowScintillationLight = false

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

Definition at line 36 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimChannelInfo

Definition at line 31 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimEnergyInfo

Definition at line 32 of file SimulationDrawingOptions.h.

bool evd::SimulationDrawingOptions::fShowSimPhotonInfo

Display SimPhoton info in 3D display.

Definition at line 33 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimChannelLabel

SimChannels may be independent of MC stuff.

Definition at line 39 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimEnergyLabel

Also for SimEnergyDeposits.

Definition at line 40 of file SimulationDrawingOptions.h.

art::InputTag evd::SimulationDrawingOptions::fSimPhotonLabel

and for SimPhotons

Definition at line 41 of file SimulationDrawingOptions.h.


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