ATLAS Offline Software
Loading...
Searching...
No Matches
TrackAnalysis.cxx File Reference
#include "TrigInDetAnalysisExample/ChainString.h"
#include "xAODEventInfo/EventInfo.h"
#include "TrackAnalysisStore.h"
#include "MsgMacros.h"
#include "TrackView.h"
#include "VertexView.h"
#include "TrackAnalysis.h"
#include "TBestMatch.h"
#include "TrackRoiSelector.h"
#include "TagNProbe.h"
#include <algorithm>
#include <limits>
#include <cmath>
#include <utility>
#include <cstdlib>
#include <fenv.h>

Go to the source code of this file.

Functions

void printtracks (const std::vector< const TrackView * > &ars, const std::string &sht="")
template<typename T>
std::ostream & operator<< (std::ostream &s, std::vector< T > &v)

Detailed Description

Author
sutt
Date
Mon 17 Nov 2025 21:09:16 GMT
Id
TrackAnalysis.cxx, v0.0 Mon 17 Nov 2025 21:09:16 GMT sutt

Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration

Definition in file TrackAnalysis.cxx.

Function Documentation

◆ operator<<()

template<typename T>
std::ostream & operator<< ( std::ostream & s,
std::vector< T > & v )

Definition at line 215 of file TrackAnalysis.cxx.

215 {
216 for ( size_t i=0 ; i<v.size() ; i++ ) s << "\t" << v[i];
217 return s;
218}

◆ printtracks()

void printtracks ( const std::vector< const TrackView * > & ars,
const std::string & sht = "" )

Definition at line 207 of file TrackAnalysis.cxx.

207 {
208 std::cout << "\nSUTT printtracks: " << sht << "\tsize: " << ars.size() << std::endl;
209 for ( size_t i=0 ; i<ars.size() && i<10 ; i++ ) std::cout << "\t" << i << "\t" << *ars[i] << std::endl;
210 std::cout << std::endl;
211}