4#ifndef __KVIDZAFROMZGRID_H
5#define __KVIDZAFROMZGRID_H
9#include "KVUniqueNameList.h"
10#include "KVIdentificationResult.h"
11#include "KVMultiGaussIsotopeFit.h"
185 interval(
int zz,
int aa,
double pid,
double pidmin = -1.,
double pidmax = -1.)
299 void add(
int aa,
double pid,
double pidmin = -1.,
double pidmax = -1.);
#define ClassDef(name, id)
char * Form(const char *fmt,...)
virtual void SetOnlyZId(Bool_t yes=kTRUE)
Hybrid charge & mass identification grid.
Bool_t fHasMassIDRegion
set to true if grid has a limited region for mass identification, indicated by an info "MassID"
KVList * GetIntervalSets()
bool MassIdentificationFromMultiGaussFit(KVMultiGaussIsotopeFit *, KVIdentificationResult *) const
KVList fTables
intervals for mass id
KVMultiGaussIsotopeFit * GetMultiGaussFit(int z) const
interval_set * GetIntervalSet(int zint) const
virtual void WriteToAsciiFile(std::ofstream &gridfile)
void SetOnlyZId(Bool_t=kTRUE)
Bool_t HasMassIDCapability() const
void Copy(TObject &obj) const
virtual double DeduceAfromPID(KVIdentificationResult *idr) const
KVUniqueNameList fFits
multi-gaussian fits for mass id
virtual void ReadFromAsciiFile(std::ifstream &gridfile)
int is_inside(double pid) const
virtual void Identify(Double_t x, Double_t y, KVIdentificationResult *) const
Identification grid with lines corresponding to different nuclear isotopes (KVIDZALine)
Full result of one attempted particle identification.
Extended TList class which owns its objects by default.
Function for fitting PID mass spectra.
virtual TObject * FindObject(const char *name) const
virtual void Copy(TObject &obj) const
virtual Int_t GetSize() const
Optimised list in which named objects can only be placed once.
virtual Int_t GetEntries() const
void Copy(TObject &named) const override
virtual void SetName(const char *name)
TString GetListOfMasses()
bool is_inside(double pid)
bool is_above(double pid)
void add(int aa, double pid, double pidmin=-1., double pidmax=-1.)
double eval(KVIdentificationResult *idr)
void Copy(TObject &o) const
bool is_right_of(double pid)
bool is_left_of(double pid)
void Copy(TObject &o) const
void SetPIDmin(double pidmin)
void SetPIDmax(double pidmax)
bool is_inside(double pid)