|
@@ -89,7 +89,10 @@ void CreateExtendedAT(TString iFileName, TString oFileName)
|
|
|
out_mc_tracks.SetMutable();
|
|
|
out_fhcal_mods.SetMutable();
|
|
|
|
|
|
- //out_tpc_tracks.Freeze();
|
|
|
+ // Enable Freeze so input branches cannot be modified
|
|
|
+ in_tpc_tracks.Freeze();
|
|
|
+ in_mc_tracks.Freeze();
|
|
|
+ in_fhcal_mods.Freeze();
|
|
|
|
|
|
// Copy variables from the input - not required for branches with even-wise information (i.e. EventHeader)
|
|
|
out_tpc_tracks.CloneVariables(in_tpc_tracks.GetConfig());
|
|
@@ -138,7 +141,7 @@ void CreateExtendedAT(TString iFileName, TString oFileName)
|
|
|
{
|
|
|
auto in_tpc_track = in_tpc_tracks[itrack];
|
|
|
auto out_tpc_track = out_tpc_tracks.NewChannel();
|
|
|
- out_tpc_track.CopyContentRaw(in_tpc_track);
|
|
|
+ out_tpc_track.CopyContent(in_tpc_track);
|
|
|
|
|
|
int tpc_eta_sign = (in_tpc_track.Value(itpc_eta) < 0) ? -1 : 1;
|
|
|
|