|
ATLAS Offline Software
|
Go to the documentation of this file.
5 static constexpr
int TRKCUT_N_HITS_INNER = 1;
6 static constexpr
int TRKCUT_N_HITS_PIX = 2;
7 static constexpr
float TRKCUT_A0BEAM = 2.5;
8 static constexpr
int TRKCUT_N_HITS = 4;
10 if (
track->perigeeParameters()==
nullptr )
return false;
11 if (
track->trackSummary()==
nullptr )
return false;
17 if( theTrackInfo.
n_hits_inner < TRKCUT_N_HITS_INNER )
return false;
18 if( theTrackInfo.
n_hits_pix < TRKCUT_N_HITS_PIX )
return false;
20 theTrackInfo.
eta =
track->perigeeParameters()->eta();
22 if( theTrackInfo.
ptGeV < trkcut_ptgev )
return false;
26 if( std::abs(theTrackInfo.
a0beam) > TRKCUT_A0BEAM ) {
return false;}
36 double tiltXZ = beamSpotHandle.
beamTilt(0);
37 double tiltYZ = beamSpotHandle.
beamTilt(1);
38 shift_x = xVTX - tiltXZ*zVTX;
39 shift_y = yVTX - tiltYZ*zVTX;
bool isGoodTrackUTT(const Trk::Track *track, trackInfo &theTrackInfo, const float shift_x, const float shift_y, float trkcut_ptgev)
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
void getBeamSpotShift(float &shift_x, float &shift_y, const InDet::BeamSpotData &beamSpotHandle)
const Amg::Vector3D & beamPos() const noexcept
@ numberOfNextToInnermostPixelLayerHits
these are the hits in the 1st pixel barrel layer
Eigen::Matrix< double, 3, 1 > Vector3D
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
float beamTilt(int i) const noexcept
Returns the beam sigma for the i+3-th error matrix element (the 'tilt')