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.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
c
d
f
i
j
l
m
n
p
r
s
u
Functions
c
d
f
i
m
n
r
s
u
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
processors
include
VertexProcessor.h
Go to the documentation of this file.
1
#ifndef __VERTEX_PROCESSOR_H__
2
#define __VERTEX_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 <EVENT/ReconstructedParticle.h>
18
#include <IMPL/LCGenericObjectImpl.h>
19
#include <UTIL/LCRelationNavigator.h>
20
#include <IMPL/MCParticleImpl.h>
21
#include <IMPL/SimTrackerHitImpl.h>
22
23
//-----------//
24
// hpstr //
25
//-----------//
26
#include "
Processor.h
"
27
#include "
Vertex.h
"
28
#include "
Particle.h
"
29
#include "
Event.h
"
30
#include "
TrackerHit.h
"
31
#include "
RawSvtHit.h
"
32
33
// Forward declarations
34
class
TTree;
35
40
class
VertexProcessor
:
public
Processor
{
41
42
public
:
50
VertexProcessor
(
const
std::string& name,
Process
&
process
);
51
53
~VertexProcessor
();
54
60
virtual
void
configure
(
const
ParameterSet
& parameters);
61
68
virtual
void
initialize
(TTree* tree);
69
75
virtual
bool
process
(
IEvent
* ievent);
76
81
virtual
void
finalize
();
82
83
private
:
84
86
std::vector<TrackerHit*>
hits_
{};
87
std::string
trkhitCollRoot_
{
"fspOnTrackHits"
};
88
std::vector<RawSvtHit*>
rawhits_
{};
89
std::string
rawhitCollRoot_
{
"fspOnTrackRawHits"
};
90
std::vector<Vertex*>
vtxs_
{};
91
std::vector<Particle*>
parts_
{};
92
std::string
vtxCollLcio_
{
"UnconstrainedV0Vertices"
};
93
std::string
vtxCollRoot_
{
"UnconstrainedV0Vertices"
};
94
std::string
partCollRoot_
{
"ParticlesOnVertices"
};
95
std::string
kinkRelCollLcio_
{
"GBLKinkDataRelations"
};
96
std::string
trkRelCollLcio_
{
"TrackDataRelations"
};
97
std::string
hitFitsCollLcio_
{
"SVTFittedRawTrackerHits"
};
98
std::string
mcPartRelLcio_
{
"RotatedHelicalTrackMCRelations"
};
99
std::string
trackStateLocation_
{
""
};
100
101
double
bfield_
{-1.};
102
103
int
useTrackerHits_
{1};
104
105
int
debug_
{0};
106
107
};
// VertexProcessor
40
class
VertexProcessor
:
public
Processor
{
…
};
108
109
#endif
// __VERTEX_PROCESSOR_H__
Event.h
Class defining methods used to access event information and data collections.
Particle.h
Class used to encapsulate information about a particle.
Processor.h
Base classes for all user event processing components to extend.
RawSvtHit.h
Class used to encapsulate raw svt hit information.
TrackerHit.h
Class used to encapsulate tracker hit information.
Vertex.h
Class used to encapsulate Vertex information.
IEvent
Definition
IEvent.h:7
ParameterSet
description
Definition
ParameterSet.h:22
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
VertexProcessor
Insert description here. more details.
Definition
VertexProcessor.h:40
VertexProcessor::mcPartRelLcio_
std::string mcPartRelLcio_
Definition
VertexProcessor.h:98
VertexProcessor::partCollRoot_
std::string partCollRoot_
description
Definition
VertexProcessor.h:94
VertexProcessor::trkRelCollLcio_
std::string trkRelCollLcio_
description
Definition
VertexProcessor.h:96
VertexProcessor::trackStateLocation_
std::string trackStateLocation_
select track state for tracks DEFAULT AtIP
Definition
VertexProcessor.h:99
VertexProcessor::debug_
int debug_
Debug Level.
Definition
VertexProcessor.h:105
VertexProcessor::trkhitCollRoot_
std::string trkhitCollRoot_
Definition
VertexProcessor.h:87
VertexProcessor::bfield_
double bfield_
magnetic field
Definition
VertexProcessor.h:101
VertexProcessor::useTrackerHits_
int useTrackerHits_
Load hit collections, otherwise get from getSubdetectorHitNumbers.
Definition
VertexProcessor.h:103
VertexProcessor::configure
virtual void configure(const ParameterSet ¶meters)
Callback for the Processor to configure itself from the given set of parameters.
Definition
VertexProcessor.cxx:16
VertexProcessor::finalize
virtual void finalize()
Callback for the Processor to take any necessary action when the processing of events finishes.
Definition
VertexProcessor.cxx:243
VertexProcessor::initialize
virtual void initialize(TTree *tree)
Callback for the Processor to take any necessary action when the processing of events starts.
Definition
VertexProcessor.cxx:41
VertexProcessor::hitFitsCollLcio_
std::string hitFitsCollLcio_
Definition
VertexProcessor.h:97
VertexProcessor::rawhits_
std::vector< RawSvtHit * > rawhits_
Definition
VertexProcessor.h:88
VertexProcessor::vtxs_
std::vector< Vertex * > vtxs_
description
Definition
VertexProcessor.h:90
VertexProcessor::hits_
std::vector< TrackerHit * > hits_
Definition
VertexProcessor.h:86
VertexProcessor::parts_
std::vector< Particle * > parts_
description
Definition
VertexProcessor.h:91
VertexProcessor::vtxCollRoot_
std::string vtxCollRoot_
description
Definition
VertexProcessor.h:93
VertexProcessor::~VertexProcessor
~VertexProcessor()
Definition
VertexProcessor.cxx:13
VertexProcessor::kinkRelCollLcio_
std::string kinkRelCollLcio_
description
Definition
VertexProcessor.h:95
VertexProcessor::vtxCollLcio_
std::string vtxCollLcio_
description
Definition
VertexProcessor.h:92
VertexProcessor::rawhitCollRoot_
std::string rawhitCollRoot_
Definition
VertexProcessor.h:89
Generated by
1.9.8