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
RefittedTracksProcessor.h
Go to the documentation of this file.
1#ifndef __REFITTEDTRACKS_PROCESSOR_H__
2#define __REFITTEDTRACKS_PROCESSOR_H__
3
4//-----------------//
5// C++ StdLib //
6//-----------------//
7#include <iostream>
8#include <string>
9
10//----------//
11// LCIO //
12//----------//
13#include <EVENT/LCCollection.h>
14#include <EVENT/Track.h>
15#include <EVENT/TrackerHit.h>
16#include <EVENT/TrackState.h>
17#include <EVENT/TrackerRawData.h>
18#include <IMPL/LCGenericObjectImpl.h>
19#include <IMPL/TrackerHitImpl.h>
20#include <UTIL/LCRelationNavigator.h>
21#include <UTIL/BitField64.h>
22
23//----------//
24// ROOT //
25//----------//
26#include "TClonesArray.h"
27
28//-----------//
29// hpstr //
30//-----------//
31#include "Collections.h"
32#include "Processor.h"
33#include "Track.h"
34#include "Vertex.h"
35#include "Event.h"
36#include "TrackHistos.h"
37#include "TrackerHit.h"
38#include "RawSvtHit.h"
39
40// Forward declarations
41class TTree;
42
48
49 public:
50
58 RefittedTracksProcessor(const std::string& name, Process& process);
59
62
68 virtual bool process(IEvent* ievent);
69
76 virtual void initialize(TTree* tree);
77
82 virtual void finalize();
83
89 virtual void configure(const ParameterSet& parameters);
90
91 private:
92
94 std::vector<Track*> tracks_{};
95
97 std::vector<Track*> refit_tracks_{};
98
100 std::vector<TrackerHit*> hits_{};
101
103 std::vector<RawSvtHit*> raw_hits_{};
104
106 std::vector<Vertex*> vertices_{};
108 std::vector<Vertex*> vertices_refit_{};
109
110 bool _debug{false};
111
116 std::string histoCfg_;
117
118}; // Refitted Tracks Processor
119
120#endif // __REFITTEDTRACKS_PROCESSOR_
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 raw svt hit information.
Class used to encapsulate track information.
Class used to encapsulate tracker hit information.
Class used to encapsulate Vertex 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 histoCfg_
description
std::vector< Vertex * > vertices_
std::vector< Vertex * > vertices_refit_
virtual void configure(const ParameterSet &parameters)
description
std::vector< Track * > refit_tracks_
virtual void finalize()
Callback for the Processor to take any necessary action when the processing of events finishes.
std::vector< Track * > tracks_
virtual void initialize(TTree *tree)
Callback for the Processor to take any necessary action when the processing of events starts.
TrackHistos * _OriginalTrkHistos
description
TrackHistos * _RefitTrkHistos
description
std::vector< RawSvtHit * > raw_hits_
std::vector< TrackerHit * > hits_
TrackHistos * _RefitTrkHistos_z0cut
description
TrackHistos * _RefitTrkHistos_chi2cut
description
description
Definition TrackHistos.h:17