All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InputSeeker.h
Go to the documentation of this file.
1 #ifndef INPUTSEEKER_H
2 #define INPUTSEEKER_H
3 
4 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
5 
6 namespace art{class InputSource; class RootInput; class Worker;}
7 
8 namespace evd
9 {
10  /// This is obviously a hack, but it's modeled on what EventDisplayBase does
12  {
13  public:
14  InputSeeker(const fhicl::ParameterSet& pset, art::ActivityRegistry& reg);
15 
16  void seekToEvent(int offset);
17  void seekToEvent(art::EventID evt);
18 
19  protected:
20  void postBeginJobWorkers(art::InputSource* src,
21  const std::vector<art::Worker*>& workers);
22 
23  art::RootInput* fSrc;
24  };
25 
26 }
27 
28 DECLARE_ART_SERVICE(evd::InputSeeker, LEGACY)
29 
30 #endif
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
Definition: CORSIKAGen.fcl:7
InputSeeker(const fhicl::ParameterSet &pset, art::ActivityRegistry &reg)
Definition: InputSeeker.cc:10
art::RootInput * fSrc
Definition: InputSeeker.h:23
void seekToEvent(int offset)
Definition: InputSeeker.cc:27
This is obviously a hack, but it&#39;s modeled on what EventDisplayBase does.
Definition: InputSeeker.h:11
void postBeginJobWorkers(art::InputSource *src, const std::vector< art::Worker * > &workers)
Definition: InputSeeker.cc:17
TCEvent evt
Definition: DataStructs.cxx:8