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
Tracker2DHitProcessor.h
Go to the documentation of this file.
1
5#ifndef __TRACKER2DHIT_PROCESSOR_H__
6#define __TRACKER2DHIT_PROCESSOR_H__
7
8//-----------------//
9// C++ StdLib //
10//-----------------//
11#include <iostream>
12#include <string>
13#include <vector>
14
15//----------//
16// LCIO //
17//----------//
18#include <EVENT/LCCollection.h>
19#include <EVENT/TrackerHit.h>
20#include <IMPL/LCGenericObjectImpl.h>
21#include <IMPL/TrackerHitImpl.h>
22#include <IMPL/MCParticleImpl.h>
23#include <IMPL/SimTrackerHitImpl.h>
24#include <UTIL/LCRelationNavigator.h>
25
26//-----------//
27// hpstr //
28//-----------//
29#include "Collections.h"
30#include "Processor.h"
31#include "Track.h"
32#include "TrackerHit.h"
33#include "Event.h"
34
35// Forward declarations
36class TTree;
37
39
40 public:
41
49 Tracker2DHitProcessor(const std::string& name, Process& process);
50
53
58 virtual void configure(const ParameterSet& parameters);
59
64 virtual void initialize(TTree* tree);
65
70 virtual bool process(IEvent* ievent);
71
76 virtual void finalize();
77
78 private:
79
81 std::vector<TrackerHit*> hits_;
82 std::string hitCollLcio_{"RotatedHelicalTrackHits"};
83 std::string hitCollRoot_{"RotatedHelicalTrackHits"};
84 std::string hitFitCollLcio_{"SvtFittedRawTrackerHits"};
85
86 std::string mcPartRelLcio_{"RotatedHelicalTrackMCRelations"};
87
88 //Debug Level
89 int debug_{0};
90
91}; // Tracker2DHitProcessor
92
93#endif // __TRACKER2DHIT_PROCESSOR_H__
Class defining methods used to access event information and data collections.
Base classes for all user event processing components to extend.
Class used to encapsulate track information.
Class used to encapsulate tracker hit information.
Definition IEvent.h:7
description
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
virtual void configure(const ParameterSet &parameters)
virtual void initialize(TTree *tree)
std::vector< TrackerHit * > hits_