ATLAS Offline Software
|
: FPGATrackSim-specific class to represent an hit in the detector. More...
#include <vector>
#include <ostream>
#include <memory>
#include "FPGATrackSimObjects/FPGATrackSimTypes.h"
#include "FPGATrackSimObjects/FPGATrackSimMultiTruth.h"
#include <Rtypes.h>
#include "TMath.h"
#include "GeneratorObjects/HepMcParticleLink.h"
Go to the source code of this file.
Classes | |
class | FPGATrackSimHit |
Enumerations | |
enum | HitType { HitType::unmapped, HitType::mapped, HitType::clustered, HitType::wildcard, HitType::guessed, HitType::undefined, HitType::extrapolated, HitType::spacepoint } |
Functions | |
template<class Container > | |
std::vector< std::vector< std::shared_ptr< const FPGATrackSimHit > > > | sortByLayer (Container const &hits) |
std::ostream & | operator<< (std::ostream &os, HitType t) |
std::string | to_string (HitType t) |
: FPGATrackSim-specific class to represent an hit in the detector.
Pay close attention to the enum HitType below. Several members of the class will be invalid until the hit is put through some step of the processing, like mapping or clustering. Calling a get function on the wrong type will throw std::domain_error.
Definition in file FPGATrackSimHit.h.
|
strong |
Enumerator | |
---|---|
unmapped | |
mapped | |
clustered | |
wildcard | |
guessed | |
undefined | |
extrapolated | |
spacepoint |
Definition at line 38 of file FPGATrackSimHit.h.
std::ostream& operator<< | ( | std::ostream & | os, |
HitType | t | ||
) |
Definition at line 174 of file FPGATrackSimHit.cxx.
std::vector<std::vector<std::shared_ptr<const FPGATrackSimHit> > > sortByLayer | ( | Container const & | hits | ) |
Definition at line 270 of file FPGATrackSimHit.h.
std::string to_string | ( | HitType | t | ) |
Definition at line 158 of file FPGATrackSimHit.cxx.