hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
processors
src
HPSEventProcessor.cxx
Go to the documentation of this file.
1
#include "
HPSEventProcessor.h
"
2
#include <iostream>
3
4
HPSEventProcessor::HPSEventProcessor
(
const
std::string& name,
Process
& process)
5
:
Processor
(name,process) {
6
}
7
8
HPSEventProcessor::~HPSEventProcessor
(){
9
}
10
11
void
HPSEventProcessor::initialize
(TTree*) {
12
}
13
14
bool
HPSEventProcessor::process
(
IEvent
* ievent) {
15
HpsEvent
*
event
=
static_cast<
HpsEvent
*
>
(ievent);
16
17
std::cout<<
"This is the HPSEventProcessor"
<<std::endl;
18
return
true
;
19
20
}
21
22
23
void
HPSEventProcessor::finalize
() {
24
}
25
26
27
DECLARE_PROCESSOR
(
HPSEventProcessor
);
HPSEventProcessor.h
DECLARE_PROCESSOR
#define DECLARE_PROCESSOR(CLASS)
Macro which allows the framework to construct a producer given its name during configuration.
Definition
Processor.h:139
HPSEventProcessor
Insert description here. more details.
Definition
HPSEventProcessor.h:15
HPSEventProcessor::HPSEventProcessor
HPSEventProcessor(const std::string &name, Process &process)
Constructor.
Definition
HPSEventProcessor.cxx:4
HPSEventProcessor::finalize
virtual void finalize()
description
Definition
HPSEventProcessor.cxx:23
HPSEventProcessor::initialize
virtual void initialize(TTree *tree)
description
Definition
HPSEventProcessor.cxx:11
HPSEventProcessor::~HPSEventProcessor
~HPSEventProcessor()
Definition
HPSEventProcessor.cxx:8
HpsEvent
Definition
HpsEvent.h:9
IEvent
Definition
IEvent.h:7
Process
Definition
Process.h:29
Processor
Base class for all event processing components.
Definition
Processor.h:34
Processor::process
virtual bool process()
Process the histograms and generate analysis output.
Definition
Processor.h:95
Generated by
1.9.8