#include <Filters.h>
Definition at line 155 of file Filters.h.
◆ Filter_Vertex()
| Filter_Vertex::Filter_Vertex |
( |
double | d0Cut, |
|
|
double | z0Cut ) |
|
inline |
TDirectory* dir = gDirectory; dir->cd();
Definition at line 158 of file Filters.h.
159 std::cout <<
"Filter_Vertex::Filter_Vertex() with d0 cut " <<
m_d0Cut <<
"\tz0 cut " <<
m_z0Cut << std::endl;
162 }
◆ ~Filter_Vertex()
| virtual Filter_Vertex::~Filter_Vertex |
( |
| ) |
|
|
inlinevirtual |
◆ select()
calculate z, d0 with respect to vertex and then cut on them
tracks should already be corrected to the beam line now
calculate z
now test agreement
Implements TrackFilter.
Definition at line 176 of file Filters.h.
176 {
179
180
181
182 if (
m_v.size()==0 )
return true;
183
184 for (
unsigned int i=0 ;
i<
m_v.size() ;
i++ ) {
185
186 double*
v =
m_v[
i].position();
188
190
192
193 double theta = 2*std::atan(std::exp( -
t->eta() ));
194
196 double z0sin = (
z-
v[2])*std::sin(
theta);
197
198
199
200
201
202
203
206 }
207
208 return false;
209 }
Scalar theta() const
theta method
std::vector< TIDA::Vertex > m_v
◆ setVertex() [1/2]
| void Filter_Vertex::setVertex |
( |
const std::vector< TIDA::Vertex > & | vv | ) |
|
|
inline |
◆ setVertex() [2/2]
◆ m_d0Cut
| double Filter_Vertex::m_d0Cut |
|
private |
◆ m_v
◆ m_z0Cut
| double Filter_Vertex::m_z0Cut |
|
private |
The documentation for this class was generated from the following file: