LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
EventDisplay.h
Go to the documentation of this file.
1 #ifndef EVDB_EVENTDISPLAY_H
9 #define EVDB_EVENTDISPLAY_H
10 
12 namespace fhicl { class ParameterSet; }
13 namespace art { class ActivityRegistry; }
14 namespace art { class Worker; }
15 namespace art { class InputSource; }
16 namespace art { class EventID; }
17 namespace art { class Event; }
18 
19 namespace evdb
20 {
25  {
26  public:
27 
29  void reconfigure(fhicl::ParameterSet const& pset);
30 
31  private:
32 
33  void postBeginJob();
34  void postBeginJobWorkers(art::InputSource* inputs,
35  std::vector<art::Worker*> const& workers);
36  void preProcessEvent(art::Event const&);
37  void postProcessEvent(art::Event const&);
38 
39  private:
41 
42  public:
43  unsigned int fAutoAdvanceInterval;
46  std::string fAutoPrintPattern;
47  bool fEchoPrint;
48  std::string fEchoPrintFile;
49  std::string fEchoPrintTempFile;
50  };
51 }
52 
54 #endif // EVDB_EVENTDISPLAY_H
55 
int fAutoPrintMax
How many events to print (zero = disable printing).
Definition: EventDisplay.h:45
std::string fEchoPrintFile
The file to dump that .gif to. Only one file, if you want a different file for each event...
Definition: EventDisplay.h:48
unsigned int fAutoAdvanceInterval
Wait time in milliseconds.
Definition: EventDisplay.h:43
bool fEchoPrint
Copy what you see in X to a .gif for each event.
Definition: EventDisplay.h:47
#define DECLARE_ART_SERVICE(svc, scope)
Definition: ServiceMacros.h:91
std::string fEchoPrintTempFile
a temporary file to enable atomic writes
Definition: EventDisplay.h:49
Manage all things related to colors for the event display.
ART event display service.
Definition: EventDisplay.h:24
parameter set interface
HLT enums.
int fAutoPrintCount
Number of events printed so far.
Definition: EventDisplay.h:44
std::string fAutoPrintPattern
Pattern for printing output filenames. Must contain "%s" and "%d", in that order. ...
Definition: EventDisplay.h:46
art::InputSource * fInputSource
Input source of events.
Definition: EventDisplay.h:40