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

a class for transporting photons in a roughly realistic way More...

Inheritance diagram for evd::EVD:
art::EDAnalyzer art::detail::Analyzer art::detail::LegacyModule art::Observer art::ModuleBase

Public Member Functions

 EVD (fhicl::ParameterSet const &pset)
 
virtual ~EVD ()
 
void analyze (art::Event const &evt)
 
void beginJob ()
 
- Public Member Functions inherited from art::EDAnalyzer
 EDAnalyzer (fhicl::ParameterSet const &pset)
 
template<typename Config >
 EDAnalyzer (Table< Config > const &config)
 
std::string workerType () const
 
- Public Member Functions inherited from art::detail::Analyzer
virtual ~Analyzer () noexcept
 
 Analyzer (fhicl::ParameterSet const &pset)
 
template<typename Config >
 Analyzer (Table< Config > const &config)
 
void doBeginJob (SharedResources const &resources)
 
void doEndJob ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenOutputFiles (FileBlock const &fb)
 
void doRespondToCloseOutputFiles (FileBlock const &fb)
 
bool doBeginRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doEndRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed)
 
- Public Member Functions inherited from art::Observer
 ~Observer () noexcept
 
 Observer (Observer const &)=delete
 
 Observer (Observer &&)=delete
 
Observeroperator= (Observer const &)=delete
 
Observeroperator= (Observer &&)=delete
 
void registerProducts (ProductDescriptions &, ModuleDescription const &)
 
void fillDescriptions (ModuleDescription const &)
 
fhicl::ParameterSetID selectorConfig () const
 
- Public Member Functions inherited from art::ModuleBase
virtual ~ModuleBase () noexcept
 
 ModuleBase ()
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables () const
 
void sortConsumables (std::string const &current_process_name)
 
template<typename T , BranchType BT>
ViewToken< T > consumesView (InputTag const &tag)
 
template<typename T , BranchType BT>
ViewToken< T > mayConsumeView (InputTag const &tag)
 

Private Attributes

bool fWindowsDrawn
 flag for whether windows are already drawn More...
 

Additional Inherited Members

- Public Types inherited from art::EDAnalyzer
using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 
- Protected Member Functions inherited from art::Observer
std::string const & processName () const
 
bool wantAllEvents () const noexcept
 
bool wantEvent (ScheduleID id, Event const &e) const
 
Handle< TriggerResultsgetTriggerResults (Event const &e) const
 
 Observer (fhicl::ParameterSet const &config)
 
 Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config)
 
- Protected Member Functions inherited from art::ModuleBase
ConsumesCollectorconsumesCollector ()
 
template<typename T , BranchType = InEvent>
ProductToken< T > consumes (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename T , BranchType = InEvent>
ProductToken< T > mayConsume (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 

Detailed Description

a class for transporting photons in a roughly realistic way

Definition at line 33 of file EVD_module.cc.

Constructor & Destructor Documentation

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

Definition at line 89 of file EVD_module.cc.

90  : EDAnalyzer(pset)
91  , fWindowsDrawn(false)
92  {
93 
94  }
EDAnalyzer(fhicl::ParameterSet const &pset)
Definition: EDAnalyzer.h:25
bool fWindowsDrawn
flag for whether windows are already drawn
Definition: EVD_module.cc:44
evd::EVD::~EVD ( )
virtual

Definition at line 97 of file EVD_module.cc.

98  {
99  }

Member Function Documentation

void evd::EVD::analyze ( art::Event const &  evt)
virtual

Implements art::EDAnalyzer.

void evd::EVD::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 102 of file EVD_module.cc.

103  {
104  // Register the list of windows used by the event display
105  evdb::DisplayWindow::Register("Time vs Wire, Charge View",
106  "Time vs Wire, Charge View",
107  700,
108  700,
110 
111  evdb::DisplayWindow::Register("Time vs Wire, Charge View, Multi-TPC",
112  "Time vs Wire, Charge View, Multi-TPC",
113  700,
114  700,
116 
117  evdb::DisplayWindow::Register("Display3D",
118  "Display3D",
119  700,
120  700,
122 
123  evdb::DisplayWindow::Register("Ortho3D",
124  "Ortho3D",
125  700,
126  700,
128 
129  evdb::DisplayWindow::Register("Calorimetry",
130  "Calorimetry",
131  700,
132  700,
134 
135  // evdb::ListWindow::Register("MC Particle List",
136  // "MC Particle List",
137  // 400,
138  // 800,
139  // mk_mctrue_canvas);
140 
141  // Open up the main display window and run
142  evdb::DisplayWindow::OpenWindow(0);
143  }
static evdb::Canvas * mk_display3d_canvas(TGMainFrame *mf)
Definition: EVD_module.cc:62
static evdb::Canvas * mk_twqmtpcprojectionview_canvas(TGMainFrame *mf)
Definition: EVD_module.cc:56
static evdb::Canvas * mk_twqprojectionview_canvas(TGMainFrame *mf)
Definition: EVD_module.cc:50
static evdb::Canvas * mk_ortho3d_canvas(TGMainFrame *mf)
Definition: EVD_module.cc:68
static evdb::Canvas * mk_calor_canvas(TGMainFrame *mf)
Definition: EVD_module.cc:74

Member Data Documentation

bool evd::EVD::fWindowsDrawn
private

flag for whether windows are already drawn

Definition at line 44 of file EVD_module.cc.


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