message: Add storing of TZERO esd content in GlobalEsdConverter
diff: @@ -443,7 +443,7 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent*
  // 4) extract TRD tracks and add to ESD
  // TODO 2010-07-12 at the moment there is no matching or merging of TPC and TRD tracks
  // 5) Add Trigger Detectors
  - // VZERO, ZDC
  + // VZERO, T0, ZDC
  // read the clusters
  // ---------- Access to clusters --------------------//
  @@ -1249,7 +1249,7 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent*
  }
  // 5) Add Trigger Detectors
  - // VZERO, ZDC
  + // VZERO, T0, ZDC
  // FIXME: the size of all input blocks can be added in one loop
  for (const AliHLTComponentBlockData* pBlock=GetFirstInputBlock(kAliHLTDataTypeESDContent|kAliHLTDataOriginVZERO);
  @@ -1257,8 +1257,7 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent*
  fBenchmark.AddInput(pBlock->fSize);
  }
  - for ( const TObject *pObject = GetFirstInputObject(kAliHLTDataTypeESDContent|kAliHLTDataOriginVZERO);
  - pObject != NULL; pObject = GetNextInputObject() ) {
  + for ( const TObject *pObject = GetFirstInputObject(kAliHLTDataTypeESDContent|kAliHLTDataOriginVZERO); pObject != NULL; pObject = GetNextInputObject() ) {
  AliESDVZERO *esdVZERO = dynamic_cast<AliESDVZERO*>(const_cast<TObject*>( pObject ) );
  if (esdVZERO) {
  pESD->SetVZEROData( esdVZERO );
  @@ -1269,6 +1268,17 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent*
  }
  }
  + for ( const TObject *pObject = GetFirstInputObject(kAliHLTDataTypeESDContent|kAliHLTDataOriginT0); pObject != NULL; pObject = GetNextInputObject() ) {
  + AliESDTZERO *esdTZERO = dynamic_cast<AliESDTZERO*>(const_cast<TObject*>( pObject ) );
  + if (esdTZERO) {
  + pESD->SetTZEROData( esdTZERO );
  + break;
  + } else {
  + ALIHLTERRORGUARD(1, "input object of data type %s is not of class AliESDTZERO",
  + DataType2Text(kAliHLTDataTypeESDContent|kAliHLTDataOriginT0).c_str());
  + }
  + }
  +
  // FIXME: the size of all input blocks can be added in one loop
  for (const AliHLTComponentBlockData* pBlock=GetFirstInputBlock(kAliHLTDataTypeESDContent|kAliHLTDataOriginZDC);
  pBlock!=NULL; pBlock=GetNextInputBlock()) {
  