ANNIEsoft / ToolAnalysis

Other
10 stars 53 forks source link

Unit Mismatch for MC True Track Lengths #249

Open jminock opened 1 year ago

jminock commented 1 year ago

On lines 165-166 in MCRecoEventLoader.cpp, the MC True Track length for the MRD is multipled by 100, while the Tank's MC True Track length is not. According to the comment, the water track is already in cm, but that doesn't seem to be the case looking into the primarymuon's data class: MCParticle. One lines 259 and 430 in MCParticleProperties.cpp, both MC True track lengths are set for the MRD and Tank, respectively, but both are divided by 100. Doing my own quick check including the MCRecoEventLoader Tool and PhaseIITreeMaker Tool indicates the true tank track length is off by 2 orders of magnitude. Is there something I'm missing or is there a mismatch in MCRecoEventLoader? Or I guess a better question is why do we have units in meters for the tank but units are in cm for the MRD?