We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e040241 commit 4c1904dCopy full SHA for 4c1904d
1 file changed
PWGCF/Flow/Tasks/pidFlowPtCorr.cxx
@@ -553,7 +553,7 @@ struct PidFlowPtCorr {
553
554
// init fFCPID
555
// note that need to add c22pure and c32pure
556
- TObjArray* oba4PID = reinterpret_cast<TObjArray*>(oba4Ch->Clone());
+ TObjArray* oba4PID = dynamic_cast<TObjArray*>(oba4Ch->Clone());
557
oba4PID->Add(new TNamed("c22pure", "c22pure"));
558
oba4PID->Add(new TNamed("c32pure", "c32pure"));
559
oba4PID->Add(new TNamed("covV2PtPID", "covV2PtPID"));
0 commit comments