Skip to content

MuonPRDTest: Fix CSC tester and CSC/TGC Digit Positions

Minlin Wu requested to merge (removed):CSCtester into master
  1. An error was reported in the CSC SDO tester previously: "No valid proxy for object CSC_SDO of type MuonSimDataCollection".

Fix it by using the CscSimDataCollection intead of MuonSimDataCollection in CSCSDOVariables.cxx.

The tests of Sim_tf.py, Digit_tf.py and Reco_tf.py are passed.

  1. CSCDigitVariables.cxx has used the truth position information from CscSimData before, change to use digit positions in order to avoid monitoring the same positon information in CSCSDOVariables.cxx/.h. Therefore, we have CSC digit positions in CSCDigitVariables.cxx/.h and we have position information from CscSimData in CSCSDOVariables.cxx/.h.

  2. The local digit position information will be loss after the localToGlobal transformation, the local and global position cannot be retrieved at the same time. Therefore, use another loop to fill the local digit positions in order to save the position information.

Merge request reports

Loading