ALSO, IF first (two) plate information shall be used... DONE IN THE WEIGHTFILE (weight of pl1&2 is then zero), so dont have to do it here...
4644 if (
gEDBDEBUGLEVEL>2) cout <<
"EdbShowerAlgIDSimple::DoRun(EdbTrackP* shower)" << endl;
4667 int check_Npl_index =0;
4678 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() ANN_MLP_ARRAY[check_Npl_index]="<<
ANN_MLP_ARRAY[check_Npl_index] << endl;
4679 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() Using the following layout: " << endl;
4681 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() And the following weightfile: " << endl;
4687 for (
int k=0; k<70; k++) {
4701 for (
int ii=0; ii<57; ii++) {
4719 cout <<
"EdbShowerAlgIDSimple::DoRun() ------- TODO HERE: INTERFACE WITH VERTEX TO CALCULATE VTXIP AND VTXDELTAZ TO SHOWER ----------"<<endl;
4722 cout <<
"EdbShowerAlgIDSimple::DoRun() ------- TODO HERE: INTERFACE WITH VERTEX TO CALCULATE VTXIP AND VTXDELTAZ TO SHOWER ----------"<<endl;
4730 for (Int_t j=1; j<=
ANN_n_InputNeurons; ++j) cout <<
"EdbShowerAlgIDSimple::DoRun() : j params[j-1]=inANN[j] " << j<<
" " <<
params[j-1] << endl;
4733 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() Print Inputvariables...done." << endl;
4734 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() Evaluate Neural Network Output:" << endl;
4741 if ( ::isnan(val) ) {
4742 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() ERROR! ANN_MLP->Evaluate(0,params) is NAN! Setting value to -1. " << endl;
4746 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() After Correction: ANN_MLP->Evaluate(0,params)= " << val <<
" (Inputvar=" <<
inANN[0] <<
")." << endl;
4764 if (
gEDBDEBUGLEVEL >2) cout <<
"EdbShowerAlgIDSimple::DoRun() ...Done." << endl;
Float_t eANN_MLP_CORR_0[15]
Definition: EdbShowerAlg.h:373
void GetPara(EdbTrackP *track)
Definition: EdbShowerAlg.cxx:3301
void GetNplIndexNr(Int_t sh_npl, Int_t &check_Npl_index, Int_t ePlateNumberType)
Definition: EdbShowerAlg.cxx:2993
Float_t eParaShowerAxisAngle
Definition: EdbShowerAlg.h:379
Float_t eParaBT_deltaR_mean
Definition: EdbShowerAlg.h:381
Int_t ePlateNumberType
Definition: EdbShowerAlg.h:340
Float_t eCalibrationOffset
Definition: EdbShowerAlg.h:337
Float_t eParaBT_deltaT_mean
Definition: EdbShowerAlg.h:383
Float_t eANN_MLP_CORR_1[15]
Definition: EdbShowerAlg.h:374
Float_t eCalibrationSlope
Definition: EdbShowerAlg.h:338
Int_t eParanseg
Definition: EdbShowerAlg.h:380
Float_t eParaBT_deltaT_rms
Definition: EdbShowerAlg.h:384
Float_t eParaBT_deltaR_rms
Definition: EdbShowerAlg.h:382
Int_t eParalongprofile[57]
Definition: EdbShowerAlg.h:385
TString ANN_WeightFile_ARRAY[15]
Definition: EdbShowerAlg.h:370
TString eWeightFileString
Definition: EdbShowerAlg.h:346
Int_t DetermineIDFlag(Int_t IDType)
Definition: EdbShowerAlg.cxx:4782
Int_t DetermineIDType(Double_t val, Int_t SpecificationType)
Definition: EdbShowerAlg.cxx:4770
Int_t Npl() const
Definition: EdbPattern.h:176
Int_t type
Definition: testBGReduction_By_ANN.C:15
Double_t params[3]
Definition: testBGReduction_By_ANN.C:84