219 Log(2,
"EdbShowAlg_NN::Execute",
"Execute() DOING MAIN SHOWER RECONSTRUCTION HERE");
226 Bool_t StillToLoop=kTRUE;
230 Int_t NLoopedPattern=0;
232 if (
gEDBDEBUGLEVEL>3) cout <<
"EdbShowAlg_NN::Execute--- STEP for patternloop direction = " << STEP << endl;
244 if (
gEDBDEBUGLEVEL==2)
if ((i%1)==0) cout <<
eInBTArrayN <<
" InBT in total, still to do:"<<Form(
"%4d",i)<<
"\r\r\r\r"<<flush;
295 RecoShower -> AddSegment(InBT);
296 cout <<
"Segment (InBT) " << InBT <<
" was added to RecoShower." << endl;
308 ActualPID= InBT->
PID() ;
309 newActualPID= InBT->
PID() ;
311 while (StillToLoop) {
312 if (
gEDBDEBUGLEVEL>3) cout <<
"EdbShowAlg_NN::Execute--- --- Doing patterloop " << ActualPID << endl;
315 int patterloop_cnt=ActualPID;
318 for (Int_t btloop_cnt=0; btloop_cnt<
eAli->
GetPattern(ActualPID)->GetN(); ++btloop_cnt) {
435 cout <<
"Inputvalues: ";
436 for (
int hj=0; hj<5; hj++) cout <<
" " <<
params[hj];
437 cout <<
" , Value= " << value <<
" eParaValue= " <<
eParaValue[1] << endl;
445 if (Segment->
X()==InBT->
X()&&Segment->
Y()==InBT->
Y()) {
449 RecoShower -> AddSegment(Segment);
451 cout <<
"Segment " << Segment <<
" was added to &RecoShower : " << &RecoShower << endl;
455 newActualPID=ActualPID+STEP;
458 if (
gEDBDEBUGLEVEL>3) cout <<
"EdbShowAlg_NN::Execute--- --- newActualPID= " << newActualPID << endl;
459 if (
gEDBDEBUGLEVEL>3) cout <<
"EdbShowAlg_NN::Execute--- --- NLoopedPattern= " << NLoopedPattern << endl;
461 if (
gEDBDEBUGLEVEL>3) cout <<
"EdbShowAlg_NN::Execute--- --- StillToLoop= " << StillToLoop << endl;
466 if (newActualPID>
eLastPlate_eAliPID) cout <<
"EdbShowAlg_NN::Execute--- ---Stopp Loop since: newActualPID>eLastPlate_eAliPID"<<endl;
471 if (newActualPID<
eLastPlate_eAliPID) cout <<
"EdbShowAlg_NN::Execute--- ---Stopp Loop since: newActualPID<eLastPlate_eAliPID"<<endl;
475 if (NLoopedPattern>
eNumberPlate_eAliPID) cout <<
"EdbShowAlg_NN::Execute--- ---Stopp Loop since: NLoopedPattern>eNumberPlate_eAliPID"<<endl;
477 ActualPID=newActualPID;
499 cout <<
"EdbShowAlg_NN::eRecoShowerArray() Entries: " <<
eRecoShowerArray->GetEntries() << endl;
500 Log(2,
"EdbShowAlg_NN::Execute",
"Execute() DOING MAIN SHOWER RECONSTRUCTION HERE...done.");
EdbPattern * GetPattern(int id) const
Definition: EdbPattern.cxx:1887
Float_t X() const
Definition: EdbSegP.h:170
Float_t Z() const
Definition: EdbSegP.h:150
Float_t Y() const
Definition: EdbSegP.h:171
void PrintNice() const
Definition: EdbSegP.cxx:418
Int_t PID() const
Definition: EdbSegP.h:145
EdbSegP * GetSegment(int i) const
Definition: EdbPattern.h:66
TMultiLayerPerceptron * eTMlpANN
Definition: EdbShowAlg_NN.h:53
Int_t GetMinsBeforeAndAfter(Float_t &min_dT, Float_t &min_dR, EdbPVRec *local_gAli, Int_t patterloop_cnt, EdbSegP *seg, Int_t n_patterns, Int_t BeforeOrAfter)
Definition: EdbShowAlg_NN.cxx:585
Int_t GetNSegBeforeAndAfter(EdbPVRec *local_gAli, Int_t patterloop_cnt, EdbSegP *seg, Int_t n_patterns, Int_t BeforeOrAfter)
Definition: EdbShowAlg_NN.cxx:523
Float_t eANN_var_dT_InBT_To_TestBT
Definition: EdbShowAlg_NN.h:58
Int_t GetMeansBeforeAndAfter(Float_t &mean_dT, Float_t &mean_dR, EdbPVRec *local_gAli, Int_t patterloop_cnt, EdbSegP *seg, Int_t n_patterns, Int_t BeforeOrAfter)
Definition: EdbShowAlg_NN.cxx:672
void Transform_eAli(EdbSegP *InitiatorBT, Float_t ExtractSize)
Definition: EdbShowAlg.cxx:107
Float_t eParaValue[10]
Definition: EdbShowAlg.h:52
Double_t GetSpatialDist(EdbSegP *s1, EdbSegP *s2)
Definition: EdbShowAlg.cxx:463
void SetRecoShowerArrayN(Int_t RecoShowerArrayN)
Definition: EdbShowAlg.h:117
Double_t DeltaThetaSingleAngles(EdbSegP *s1, EdbSegP *s2)
Definition: EdbShowAlg.cxx:455
TObjArray * eRecoShowerArray
Definition: EdbShowAlg.h:70
Int_t eAlgValue
Definition: EdbShowAlg.h:50
Int_t eFirstPlate_eAliPID
Definition: EdbShowAlg.h:65
Int_t eLastPlate_eAliPID
Definition: EdbShowAlg.h:66
Int_t eInBTArrayN
Definition: EdbShowAlg.h:63
Double_t DeltaR_WithPropagation(EdbSegP *s, EdbSegP *stest)
Definition: EdbShowAlg.cxx:411
TObjArray * eInBTArray
Definition: EdbShowAlg.h:62
EdbPVRec * eAli
Definition: EdbShowAlg.h:59
Int_t eNumberPlate_eAliPID
Definition: EdbShowAlg.h:68
Definition: EdbShowerP.h:28
Int_t N() const
Definition: EdbShowerP.h:412
void Update()
Definition: EdbShowerP.cxx:975
Double_t params[3]
Definition: testBGReduction_By_ANN.C:84