JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Warning Message of variable definition in THcDC.cxx #478

Closed Yero1990 closed 2 years ago

Yero1990 commented 2 years ago

While preparing a replay script for upcoming experiment, I found a warning message from HCANA concerning the definition of the variable "H.dc.track_hitpos", stating it had not being defined, apparently due to a potential typo in the definition.

Warning in <THaVarList::DefineVariables [called from THcDC("H.dc")::DefineVarsFromList]>: Too many dots in definition of variable H.dc.track_hitpos (Position of each hit in track). Variable not defined.

MarkKJones commented 2 years ago

I removed the tree variable for THcDC::DefineVariables since it was not being used. I found another way to get the hit position info for the track to use in diagnostics.