8#include <analysis/modules/CurlTagger/Bundle.h>
10#include <analysis/variables/VertexVariables.h>
15using namespace CurlTagger;
50 return TMath::Power(
m_Gamma * Variable::particleDRho(particle), 2) + TMath::Power(Variable::particleDZ(particle), 2);
62 unsigned int bundleSize =
size();
63 float lowestVal = 1e10;
64 unsigned int posLowestVal = 0;
65 for (
unsigned int i = 0; i < bundleSize; i++) {
72 for (
unsigned int i = 0; i < bundleSize; i++) {
75 if (i == posLowestVal) {
continue;}
82 unsigned int bundleSize =
size();
Bundle(bool isTruthBundle)
Constructor.
float scaledImpactParam(Particle *particle)
scaled impact parameter for selecting best track
void tagSizeInfo()
sets extraInfo with size of Bundle for particles in Bundle
std::string m_CurlLabel
label used to tag particles with curl info
unsigned int size()
gets Bundle size
bool m_IsTruthBundle
flag for if the bundle is based on truth info, changes which labels are used
bool compareParticles(Particle *iPart, Particle *jPart)
used to rank particles by scaledImpactParam - currently unused
Particle * getParticle(unsigned int i)
gets Particle from Bundle
std::vector< Particle * > m_Particles
particles in bundle
std::string m_SizeLabel
label used to tag particles with Bundle size
void addParticle(Particle *particle)
adds Particle to Bundle
double m_Gamma
dr scale factor
void tagCurlInfo()
sets curl extra info for particles in Bundle
Class to store reconstructed particles.
Abstract base class for different kinds of events.