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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HPSEventProcessor.h
Go to the documentation of this file.
1#ifndef _HPSEVENT_HEADER_PROCESSOR_H__
2#define _HPSEVENT_HEADER_PROCESSOR_H__
3
4#include "TClonesArray.h"
5
6#include "Processor.h"
7#include "HpsEvent.h"
8#include "TTree.h"
9
10
16
17 public:
24 HPSEventProcessor(const std::string& name, Process& process);
26
34 virtual bool process(IEvent* ievent);
35
41 virtual void initialize(TTree* tree);
42
47 virtual void finalize();
48
49 private:
50 TClonesArray* header_{nullptr};
51
52};
53
54#endif
Base classes for all user event processing components to extend.
Insert description here. more details.
TClonesArray * header_
description
virtual void finalize()
description
virtual void initialize(TTree *tree)
description
Definition IEvent.h:7
Base class for all event processing components.
Definition Processor.h:34
virtual bool process()
Process the histograms and generate analysis output.
Definition Processor.h:95