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
Tracker3DHitProcessor.h
Go to the documentation of this file.
1#ifndef __TRACKER3DHIT_PROCESSOR_H__
2#define __TRACKER3DHIT_PROCESSOR_H__
3
4//-----------------//
5// C++ StdLib //
6//-----------------//
7#include <iostream>
8#include <string>
9#include <vector>
10
11//----------//
12// LCIO //
13//----------//
14#include <EVENT/LCCollection.h>
15#include <EVENT/TrackerHit.h>
16#include <IMPL/LCGenericObjectImpl.h>
17#include <IMPL/TrackerHitImpl.h>
18#include <IMPL/MCParticleImpl.h>
19#include <UTIL/LCRelationNavigator.h>
20
21//-----------//
22// hpstr //
23//-----------//
24#include "Collections.h"
25#include "Processor.h"
26#include "Track.h"
27#include "TrackerHit.h"
28#include "Event.h"
29
30// Forward declarations
31class TTree;
32
38
39 public:
47 Tracker3DHitProcessor(const std::string& name, Process& process);
48
51
57 virtual void configure(const ParameterSet& parameters);
58
65 virtual void initialize(TTree* tree);
66
72 virtual bool process(IEvent* ievent);
73
78 virtual void finalize();
79
80 private:
82 std::vector<TrackerHit*> hits_;
83 std::string hitCollLcio_{"RotatedHelicalTrackHits"};
84 std::string hitCollRoot_{"RotatedHelicalTrackHits"};
85
86 std::string mcPartRelLcio_{"RotatedHelicalTrackMCRelations"};
87
88 int debug_{0};
89
90}; // Tracker3DHitProcessor
91
92#endif // __TRACKER3DHIT_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
Insert description here. more details.
std::string mcPartRelLcio_
description
virtual void configure(const ParameterSet &parameters)
Callback for the Processor to configure itself from the given set of parameters.
virtual void finalize()
Callback for the Processor to take any necessary action when the processing of events finishes.
virtual void initialize(TTree *tree)
Callback for the Processor to take any necessary action when the processing of events starts.
std::vector< TrackerHit * > hits_
std::string hitCollRoot_
description
std::string hitCollLcio_
description