Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions TrkDiag/data/TrackPID_v1.dat
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
tensor_sequential1dense1BiasAddReadVariableOp0 5
3.95117021 0 -4.19677019 -0.242374584 0
0.67720902 -0.069714874 -0.694897473 -0.390859604 -0.520138502
tensor_sequential1dense12CastReadVariableOp0 50
-0.705076814 -0.432341874 -0.553150296 0.21540308 -0.351793796 0.476246953 -0.106644973 -0.417871863 -0.0440464132 0.177883551 -0.16141963 -0.47916162 0.606347501 0.366820812 -0.230519354 -0.472491771 0.313038588 0.386520803 0.371591628 -0.224177033 0.457869917 -0.171457827 0.519692957 -0.278755456 -0.38365525 -0.329625219 0.141675428 -0.350409567 0.103589013 -0.0581277721 0.432253748 -0.301287413 -0.615136921 0.0705423355 0.448004067 -2.0370698 -0.893573642 -0.030412674 0.35889414 -0.297698051 -0.367111266 0.301380754 -0.571814477 -0.362872422 0.073617816 0.193396747 0.336626947 0.388768613 -0.599104285 0.534656346
0.423877656 0.00515525788 -0.0492455959 0.0618200749 0.954318166 -0.604066908 0.720992923 0.797571242 0.188263789 0.821694672 0.0712498724 -1.47822523 -0.0212162137 -0.74622488 -0.798371017 -0.768375695 -0.531521499 -0.0368613712 -0.179116294 0.0123269027 0.983402967 0.564578056 -0.296996564 -1.52724409 -0.7494542 0.185713574 0.663779736 0.236173511 -1.05086386 0.494367659 -0.369194329 0.0828162059 -0.342357725 0.472442687 1.30193877 0.348389268 -0.699540198 -1.2993387 0.42568168 0.99106276 -0.429250211 -1.27230895 -0.330463171 -0.248296201 1.03471065 -0.0554589368 -0.583253503 -0.0872679353 0.451856405 -1.0176909
tensor_sequential1dense12BiasAddReadVariableOp0 10
-2.48500657 0 -3.64792609 0 0 4.17723703 -2.36129212 0 2.68298984 2.38057661
0.360056847 0.393950015 0 0.914983153 -0.501553297 -0.233833224 0.253284663 0.0172187667 0.731160939 0.163516104
tensor_sequential1dense21BiasAddReadVariableOp0 5
3.48705363 -3.67133808 -0.0374668688 -3.27729893 -3.68775105
0.347450912 0.387974828 -0.184288666 -0.10895285 0.235439435
tensor_sequential1dense1CastReadVariableOp0 20
0.836482465 -0.212255061 0.0658833757 -0.730508149 0.558905005 0.485133708 -0.564192295 0.523953795 -0.0750864968 -0.673678458 1.23919535 0.296814561 -0.67768687 -3.03104234 -0.0644903779 -5.03836155 0.609472513 3.84570956 -5.23402023 -0.525624335
1.28559923 2.32776809 2.48449874 -0.832492709 -0.711716473 -0.254594088 0.0412935913 -0.0256965607 -0.28075251 0.273529559 0.619013488 -0.114196911 0.06435287 -4.25883675 -5.56657028 -0.356506407 -0.542718291 0.180514976 -2.02528548 0.602497101
tensor_sequential1dense21CastReadVariableOp0 50
0.115136102 -0.436833829 0.30147469 0.27063179 0.270309329 0.197524309 -0.497536033 0.0962924361 0.301537275 -0.469570994 -0.300404757 0.271288723 -0.328934014 0.600233972 0.0958410427 -0.342013776 0.460635483 -0.492932588 0.0162852407 0.40738827 0.369479835 -0.610442698 0.217112422 -0.558332384 0.355603456 0.753055334 -0.311895877 0.441717386 0.203458861 -0.0115984064 -0.00314931269 -0.259888023 -0.360559404 0.32812199 0.161191747 -0.248590976 0.301618695 0.0615119934 -0.583952665 -0.0536812544 0.148783773 0.110628158 -0.348669648 -0.313134849 0.324738473 0.23614575 0.276106864 -0.546891332 -0.116325177 -0.168601051
0.782625318 0.205530673 -0.229301631 -0.530559421 1.08883691 -0.696652055 -0.829344809 0.399743646 -0.416170895 -1.41417921 -0.576976597 0.318252385 0.397290647 -0.38962242 -0.126767218 3.39918113 0.797734439 0.49670127 -0.0584926009 2.68833351 -0.91740644 -2.2402432 -0.672245562 0.0128413225 -0.707842648 0.307995051 -0.036977753 0.519744575 0.22346288 -0.360910714 0.824952066 0.168633327 -0.547800422 0.0286999047 -0.00679685175 0.0468300357 -0.18069458 -0.427938163 -0.396098584 0.859228551 -1.05733216 -2.06048298 -0.579410791 -0.375878483 -0.973983347 0.0930191353 0.818828642 0.291658878 0.354209214 0.44286707
tensor_sequential1dense31AddReadVariableOp0 1
3.68641305
-8.2496891
tensor_sequential1dense31CastReadVariableOp0 5
0.151621565 -0.436080575 -0.779650092 -0.385260344 -0.245328888
2.08103108 1.69884634 -0.421817899 -0.895168364 1.36597729
12 changes: 6 additions & 6 deletions TrkDiag/inc/TrackPID.hxx → TrkDiag/inc/TrackPID_v0.hxx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//Code generated automatically by TMVA for Inference of Model file [TrackPID.onnx] at [Fri Sep 26 15:44:22 2025]

#ifndef ROOT_TMVA_SOFIE_TRACKPID
#define ROOT_TMVA_SOFIE_TRACKPID
#ifndef ROOT_TMVA_SOFIE_TRACKPID_V0
#define ROOT_TMVA_SOFIE_TRACKPID_V0

#include <algorithm>
#include <cmath>
#include <vector>
#include "TMVA/SOFIE_common.hxx"
#include <fstream>

namespace TMVA_SOFIE_TrackPID{
namespace TMVA_SOFIE_TrackPID_v0{
namespace BLAS{
extern "C" void sgemv_(const char * trans, const int * m, const int * n, const float * alpha, const float * A,
const int * lda, const float * X, const int * incx, const float * beta, const float * Y, const int * incy);
Expand Down Expand Up @@ -62,7 +62,7 @@ std::vector<float> fTensor_sequential1dense1BiasAddReadVariableOp0bcast = std::v
float * tensor_sequential1dense1BiasAddReadVariableOp0bcast = fTensor_sequential1dense1BiasAddReadVariableOp0bcast.data();


Session(std::string filename ="TrackPID.dat") {
Session(std::string filename ="TrackPID_v0.dat") {

//--- reading weights from file
std::ifstream f;
Expand Down Expand Up @@ -263,6 +263,6 @@ std::vector<float> infer(float* tensor_inputlayer){
return fTensor_output;
}
};
} //TMVA_SOFIE_TrackPID
} //TMVA_SOFIE_TrackPID_V0

#endif // ROOT_TMVA_SOFIE_TRACKPID
#endif // ROOT_TMVA_SOFIE_TRACKPID_V0
Loading