User Tools

Site Tools


gaudi:puttingontes

This is an old revision of the document!


How to put a container on the TES

Idea

Sometimes it might be useful to make a copy of an existing container (with Particles, Tracks,…) and put it on the TES, to be used for a later algorithm.

Code

This can be done the following:

LHCb::Tracks* tracks = new LHCb::Tracks(); // Create the new container
for(loopOverOldContainer){
   tracks->insert( trackToCopy );
}
put( tracks, "MyOutputLocation" );
gaudi/puttingontes.1283497843.txt.gz · Last modified: by decianm