4#include "KVIdentificationResult.h"
22 id.IDquality = IDquality;
26 id.deltaEpedestal = deltaEpedestal;
27 id.Rejecting_Cut = Rejecting_Cut;
64 printf(
" => not attempted\n\n");
67 if (
IDOK) printf(
" => SUCCESS\n");
68 else printf(
" => FAILURE\n");
72 if (
Zident) printf(
" Z identified = %d",
Z);
73 else printf(
" Z returned = %d",
Z);
74 if (
Aident) printf(
" A identified = %d",
A);
75 else printf(
" A returned = %d",
A);
81 printf(
" delta-E pedestal : NO\n");
85 printf(
" delta-E pedestal : YES\n");
92 if (
auto nflags =
flags.size()) {
93 printf(
" Info flags:\n");
94 for (
auto& fv :
flags) {
95 printf(
" %s : ", fv.first.c_str());
97 auto nflags = fv.second.size();
98 for (uint i = 0; i < nflags; ++i) {
99 if (i) fmt_flags +=
"|";
100 fmt_flags += fv.second[i];
102 printf(
"%s\n", fmt_flags.
Data());
virtual void Copy(TObject &) const
Make a copy of this object.
Full result of one attempted particle identification.
Bool_t IDattempted
=kTRUE if identification was attempted
const Char_t * GetComment() const
const Char_t * GetIDType() const
Bool_t IDOK
general quality of identification, =kTRUE if acceptable identification made
void SetGridName(const Char_t *n)
void Print(Option_t *opt="") const
void SetComment(const Char_t *c)
const Char_t * GetGridName() const
void Clear(Option_t *opt="")
Reset to initial values.
TString Rejecting_Cut
name of cut in grid which rejected particle for identification
Bool_t Aident
= kTRUE if A of particle established
Double_t PID
= "real" Z if Zident==kTRUE and Aident==kFALSE, "real" A if Zident==Aident==kTRUE
Int_t deltaEpedestal
special code for handling particles which give no signal in deltaE
Int_t A
A of particle found (if Aident==kTRUE)
Int_t Z
Z of particle found (if Zident==kTRUE)
Int_t IDquality
specific quality code returned by identification procedure
Int_t IDcode
a general identification code for this type of identification
void SetIDType(const Char_t *t)
Bool_t Zident
=kTRUE if Z of particle established
const char * Data() const