2 // **************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project *
4 // ALICE Experiment at CERN, All rights reserved. *
6 // Primary Authors: Sergey Gorbunov <sergey.gorbunov@kip.uni-heidelberg.de> *
7 // Ivan Kisel <kisel@kip.uni-heidelberg.de> *
8 // for The ALICE HLT Project. *
10 // Permission to use, copy, modify and distribute this software and its *
11 // documentation strictly for non-commercial purposes is hereby granted *
12 // without fee, provided that the above copyright notice appears in all *
13 // copies and that both the copyright notice and this permission notice *
14 // appear in the supporting documentation. The authors make no claims *
15 // about the suitability of this software for any purpose. It is *
16 // provided "as is" without express or implied warranty. *
18 //***************************************************************************
21 ///////////////////////////////////////////////////////////////////////////////
23 // a TPC tracker processing component for the HLT based on CA by Ivan Kisel //
25 ///////////////////////////////////////////////////////////////////////////////
31 #include "AliHLTTPCCATrackerComponent.h"
32 #include "AliHLTTPCTransform.h"
33 #include "AliHLTTPCCATracker.h"
34 #include "AliHLTTPCCAOutTrack.h"
35 #include "AliHLTTPCCAParam.h"
36 #include "AliHLTTPCCATrackConvertor.h"
38 #include "AliHLTTPCSpacePointData.h"
39 #include "AliHLTTPCClusterDataFormat.h"
40 #include "AliHLTTPCTransform.h"
41 #include "AliHLTTPCTrackSegmentData.h"
42 #include "AliHLTTPCTrackArray.h"
43 #include "AliHLTTPCTrackletDataFormat.h"
44 #include "AliHLTTPCDefinitions.h"
45 #include "AliExternalTrackParam.h"
46 #include "TStopwatch.h"
48 #include "AliCDBEntry.h"
49 #include "AliCDBManager.h"
50 #include "TObjString.h"
51 #include "TObjArray.h"
52 #include "AliHLTTPCCASliceOutput.h"
54 const AliHLTComponentDataType AliHLTTPCCADefinitions::fgkTrackletsDataType = AliHLTComponentDataTypeInitializer( "CATRACKL", kAliHLTDataOriginTPC );
56 /** ROOT macro for the implementation of ROOT specific class methods */
57 ClassImp( AliHLTTPCCATrackerComponent )
59 /** global object for registration
60 * Matthias 2009-01-13 temporarily using the global object approach again.
61 * CA cade had to be disabled because of various compilation problems, so
62 * the global object approach fits better for the moment.
65 AliHLTTPCCATrackerComponent gAliHLTTPCCATrackerComponent;
67 AliHLTTPCCATrackerComponent::AliHLTTPCCATrackerComponent()
71 fMinNTrackClusters( 0 ),
78 // see header file for class documentation
80 // refer to README to build package
82 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
85 AliHLTTPCCATrackerComponent::AliHLTTPCCATrackerComponent( const AliHLTTPCCATrackerComponent& )
90 fMinNTrackClusters( 30 ),
97 // see header file for class documentation
98 HLTFatal( "copy constructor untested" );
101 AliHLTTPCCATrackerComponent& AliHLTTPCCATrackerComponent::operator=( const AliHLTTPCCATrackerComponent& )
103 // see header file for class documentation
104 HLTFatal( "assignment operator untested" );
108 AliHLTTPCCATrackerComponent::~AliHLTTPCCATrackerComponent()
110 // see header file for class documentation
115 // Public functions to implement AliHLTComponent's interface.
116 // These functions are required for the registration process
119 const char* AliHLTTPCCATrackerComponent::GetComponentID()
121 // see header file for class documentation
122 return "TPCCATracker";
125 void AliHLTTPCCATrackerComponent::GetInputDataTypes( vector<AliHLTComponentDataType>& list )
127 // see header file for class documentation
129 list.push_back( AliHLTTPCDefinitions::fgkClustersDataType );
132 AliHLTComponentDataType AliHLTTPCCATrackerComponent::GetOutputDataType()
134 // see header file for class documentation
135 if ( fNewOutputType ) return AliHLTTPCCADefinitions::fgkTrackletsDataType;
136 else return AliHLTTPCDefinitions::fgkTrackSegmentsDataType;
139 void AliHLTTPCCATrackerComponent::GetOutputDataSize( unsigned long& constBase, double& inputMultiplier )
141 // define guess for the output data size
142 constBase = 200; // minimum size
143 inputMultiplier = 0.5; // size relative to input
146 AliHLTComponent* AliHLTTPCCATrackerComponent::Spawn()
148 // see header file for class documentation
149 return new AliHLTTPCCATrackerComponent;
152 int AliHLTTPCCATrackerComponent::DoInit( int argc, const char** argv )
154 // Configure the CA tracker component
157 fMinNTrackClusters = 0;
164 if ( fTracker ) return EINPROGRESS;
165 fTracker = new AliHLTTPCCATracker();
169 TString arguments = "";
170 for ( int i = 0; i < argc; i++ ) {
171 TString argument = argv[i];
172 if ( !arguments.IsNull() ) arguments += " ";
173 arguments += argument;
175 if ( !arguments.IsNull() ) {
176 iResult = Configure( arguments.Data() );
178 iResult = Reconfigure( NULL, NULL );
184 int AliHLTTPCCATrackerComponent::DoDeinit()
186 // see header file for class documentation
187 if ( fTracker ) delete fTracker;
192 int AliHLTTPCCATrackerComponent::Reconfigure( const char* /*cdbEntry*/, const char* /*chainId*/ )
194 // see header file for class documentation
196 HLTWarning( "TODO: dummy Reconfigure() method" );
203 const char* path="HLT/ConfigTPC/CATrackerComponent";
204 const char* defaultNotify="";
207 defaultNotify=" (default)";
210 HLTInfo("reconfigure from entry %s%s, chain id %s", path, defaultNotify,(chainId!=NULL && chainId[0]!=0)?chainId:"<none>");
211 AliCDBEntry *pEntry = AliCDBManager::Instance()->Get(path);//,GetRunNo());
213 TObjString* pString=dynamic_cast<TObjString*>(pEntry->GetObject());
215 HLTInfo("received configuration object string: \'%s\'", pString->GetString().Data());
216 iResult=Configure(pString->GetString().Data());
218 HLTError("configuration object \"%s\" has wrong type, required TObjString", path);
221 HLTError("cannot fetch object \"%s\" from CDB", path);
225 const char* pathBField=kAliHLTCDBSolenoidBz;
228 HLTInfo("reconfigure B-Field from entry %s, chain id %s", path,(chainId!=NULL && chainId[0]!=0)?chainId:"<none>");
229 AliCDBEntry *pEntry = AliCDBManager::Instance()->Get(pathBField);//,GetRunNo());
231 TObjString* pString=dynamic_cast<TObjString*>(pEntry->GetObject());
233 HLTInfo("received configuration object string: \'%s\'", pString->GetString().Data());
234 iResult=Configure(pString->GetString().Data());
236 HLTError("configuration object \"%s\" has wrong type, required TObjString", path);
239 HLTError("cannot fetch object \"%s\" from CDB", path);
247 bool AliHLTTPCCATrackerComponent::CompareClusters( AliHLTTPCSpacePointData *a, AliHLTTPCSpacePointData *b )
249 //* Comparison function for sorting clusters
250 if ( a->fPadRow < b->fPadRow ) return 1;
251 if ( a->fPadRow > b->fPadRow ) return 0;
252 return ( a->fZ < b->fZ );
256 int AliHLTTPCCATrackerComponent::Configure( const char* arguments )
261 if ( !arguments ) return iResult;
263 TString allArgs = arguments;
265 int bMissingParam = 0;
267 TObjArray* pTokens = allArgs.Tokenize( " " );
269 int nArgs = pTokens ? pTokens->GetEntries() : 0;
271 for ( int i = 0; i < nArgs; i++ ) {
272 argument = ( ( TObjString* )pTokens->At( i ) )->GetString();
273 if ( argument.IsNull() ) {
274 } else if ( argument.CompareTo( "-solenoidBz" ) == 0 ) {
275 if ( ( bMissingParam = ( ++i >= pTokens->GetEntries() ) ) ) break;
276 fSolenoidBz = ( ( TObjString* )pTokens->At( i ) )->GetString().Atof();
277 HLTInfo( "Magnetic Field set to: %f", fSolenoidBz );
278 } else if ( argument.CompareTo( "-minNClustersOnTrack" ) == 0 ||
279 argument.CompareTo( "-minNTrackClusters" ) == 0 ) {
280 if ( ( bMissingParam = ( ++i >= pTokens->GetEntries() ) ) ) break;
281 fMinNTrackClusters = ( ( TObjString* )pTokens->At( i ) )->GetString().Atoi();
282 HLTInfo( "minNClustersOnTrack set to: %d", fMinNTrackClusters );
283 } else if ( argument.CompareTo( "-clusterZCut" ) == 0 ) {
284 if ( ( bMissingParam = ( ++i >= pTokens->GetEntries() ) ) ) break;
285 fClusterZCut = TMath::Abs( ( ( TObjString* )pTokens->At( i ) )->GetString().Atof() );
286 HLTInfo( "ClusterZCut set to: %f", fClusterZCut );
287 } else if ( argument.CompareTo( "-newOutputType" ) == 0 ) {
289 HLTInfo( "NewOutputType is set" );
291 HLTError( "Unknown option %s ", argument.Data() );
297 if ( bMissingParam ) {
298 HLTError( "Specifier missed for %s", argument.Data() );
308 int AliHLTTPCCATrackerComponent::DoEvent
310 const AliHLTComponentEventData& evtData,
311 const AliHLTComponentBlockData* blocks,
312 AliHLTComponentTriggerData& /*trigData*/,
313 AliHLTUInt8_t* outputPtr,
314 AliHLTUInt32_t& size,
315 vector<AliHLTComponentBlockData>& outputBlocks )
318 AliHLTUInt32_t maxBufferSize = size;
319 size = 0; // output size
321 if ( GetFirstInputBlock( kAliHLTDataTypeSOR ) || GetFirstInputBlock( kAliHLTDataTypeEOR ) ) {
327 // Event reconstruction in one TPC slice with CA Tracker
329 //Logging( kHLTLogWarning, "HLT::TPCCATracker::DoEvent", "DoEvent", "CA::DoEvent()" );
330 if ( evtData.fBlockCnt <= 0 ) {
331 HLTWarning( "no blocks in event" );
335 const AliHLTComponentBlockData* iter = NULL;
337 AliHLTTPCClusterData* inPtrSP;
339 // Determine the slice number
343 std::vector<int> slices;
344 std::vector<int>::iterator slIter;
345 std::vector<unsigned> sliceCnts;
346 std::vector<unsigned>::iterator slCntIter;
348 for ( ndx = 0; ndx < evtData.fBlockCnt; ndx++ ) {
350 if ( iter->fDataType != AliHLTTPCDefinitions::fgkClustersDataType ) continue;
352 slice = AliHLTTPCDefinitions::GetMinSliceNr( *iter );
355 slCntIter = sliceCnts.begin();
356 for ( slIter = slices.begin(); slIter != slices.end(); slIter++, slCntIter++ ) {
357 if ( *slIter == slice ) {
363 slices.push_back( slice );
364 sliceCnts.push_back( 1 );
369 // Determine slice number to really use.
370 if ( slices.size() > 1 ) {
371 Logging( kHLTLogError, "HLT::TPCSliceTracker::DoEvent", "Multiple slices found in event",
372 "Multiple slice numbers found in event 0x%08lX (%lu). Determining maximum occuring slice number...",
373 evtData.fEventID, evtData.fEventID );
374 unsigned maxCntSlice = 0;
375 slCntIter = sliceCnts.begin();
376 for ( slIter = slices.begin(); slIter != slices.end(); slIter++, slCntIter++ ) {
377 Logging( kHLTLogError, "HLT::TPCSliceTracker::DoEvent", "Multiple slices found in event",
378 "Slice %lu found %lu times.", *slIter, *slCntIter );
379 if ( maxCntSlice < *slCntIter ) {
380 maxCntSlice = *slCntIter;
384 Logging( kHLTLogError, "HLT::TPCSliceTracker::DoEvent", "Multiple slices found in event",
385 "Using slice %lu.", slice );
386 } else if ( slices.size() > 0 ) {
387 slice = *( slices.begin() );
392 HLTWarning( "no slices found in event" );
397 // Initialize the tracker
401 if ( !fTracker ) fTracker = new AliHLTTPCCATracker;
403 float inRmin = 83.65;
404 // float inRmax = 133.3;
405 // float outRmin = 133.5;
406 float outRmax = 247.7;
407 float plusZmin = 0.0529937;
408 float plusZmax = 249.778;
409 float minusZmin = -249.645;
410 float minusZmax = -0.0799937;
411 float dalpha = 0.349066;
412 float alpha = 0.174533 + dalpha * iSec;
414 bool zPlus = ( iSec < 18 );
415 float zMin = zPlus ? plusZmin : minusZmin;
416 float zMax = zPlus ? plusZmax : minusZmax;
417 //TPCZmin = -249.645, ZMax = 249.778
418 // float rMin = inRmin;
419 // float rMax = outRmax;
420 int nRows = AliHLTTPCTransform::GetNRows();
422 float padPitch = 0.4;
423 float sigmaZ = 0.228808;
425 float *rowX = new float [nRows];
426 for ( int irow = 0; irow < nRows; irow++ ) {
427 rowX[irow] = AliHLTTPCTransform::Row2X( irow );
430 AliHLTTPCCAParam param;
431 param.Initialize( iSec, nRows, rowX, alpha, dalpha,
432 inRmin, outRmax, zMin, zMax, padPitch, sigmaZ, fSolenoidBz );
433 param.SetHitPickUpFactor( 2 );
435 fTracker->Initialize( param );
440 // min and max patch numbers and row numbers
443 int minPatch = 100, maxPatch = -1;
451 std::vector<unsigned long> patchIndices;
453 for ( ndx = 0; ndx < evtData.fBlockCnt; ndx++ ) {
455 if ( iter->fDataType != AliHLTTPCDefinitions::fgkClustersDataType ) continue;
456 if ( slice != AliHLTTPCDefinitions::GetMinSliceNr( *iter ) ) continue;
457 inPtrSP = ( AliHLTTPCClusterData* )( iter->fPtr );
458 nHitsTotal += inPtrSP->fSpacePointCnt;
459 int patch = AliHLTTPCDefinitions::GetMinPatchNr( *iter );
460 if ( minPatch > patch ) {
462 row[0] = AliHLTTPCTransform::GetFirstRow( patch );
464 if ( maxPatch < patch ) {
466 row[1] = AliHLTTPCTransform::GetLastRow( patch );
468 std::vector<unsigned long>::iterator pIter = patchIndices.begin();
469 while ( pIter != patchIndices.end() && AliHLTTPCDefinitions::GetMinPatchNr( blocks[*pIter] ) < patch ) {
472 patchIndices.insert( pIter, ndx );
476 // pass event to CA Tracker
478 fTracker->StartEvent();
480 Logging( kHLTLogDebug, "HLT::TPCCATracker::DoEvent", "Reading hits",
481 "Total %d hits to read for slice %d", nHitsTotal, slice );
484 AliHLTTPCSpacePointData** vOrigClusters = new AliHLTTPCSpacePointData* [ nHitsTotal];
488 for ( std::vector<unsigned long>::iterator pIter = patchIndices.begin(); pIter != patchIndices.end(); pIter++ ) {
492 int patch = AliHLTTPCDefinitions::GetMinPatchNr( *iter );
493 inPtrSP = ( AliHLTTPCClusterData* )( iter->fPtr );
495 Logging( kHLTLogDebug, "HLT::TPCCATracker::DoEvent", "Reading hits",
496 "Reading %d hits for slice %d - patch %d", inPtrSP->fSpacePointCnt, slice, patch );
498 for ( unsigned int i = 0; i < inPtrSP->fSpacePointCnt; i++ ) {
499 vOrigClusters[nClusters++] = &( inPtrSP->fSpacePoints[i] );
503 // sort clusters since they are not sorted fore some reason
505 sort( vOrigClusters, vOrigClusters + nClusters, CompareClusters );
507 float *vHitStoreX = new float [nHitsTotal]; // hit X coordinates
508 float *vHitStoreY = new float [nHitsTotal]; // hit Y coordinates
509 float *vHitStoreZ = new float [nHitsTotal]; // hit Z coordinates
510 int *vHitStoreIntID = new int [nHitsTotal]; // hit ID's
511 int *vHitStoreID = new int [nHitsTotal]; // hit ID's
512 int *vHitRowID = new int [nHitsTotal]; // hit ID's
518 int rowFirstHits[200];
519 for ( int ir = 0; ir < 200; ir++ ) rowNHits[ir] = 0;
521 for ( int i = 0; i < nClusters; i++ ) {
522 AliHLTTPCSpacePointData* pSP = vOrigClusters[i];
523 if ( oldRow >= 0 && pSP->fPadRow < oldRow )
524 HLTError( "CA: clusters from row %d are readed twice", oldRow );
526 if ( TMath::Abs( pSP->fZ ) > fClusterZCut ) continue;
528 vHitStoreX[nHits] = pSP->fX;
529 vHitStoreY[nHits] = pSP->fY;
530 vHitStoreZ[nHits] = pSP->fZ;
531 vHitStoreIntID[nHits] = nHits;
532 vHitStoreID[nHits] = pSP->fID;
533 vHitRowID[nHits] = pSP->fPadRow;
535 rowNHits[pSP->fPadRow]++;
539 for ( int ir = 0; ir < 200; ir++ ) {
540 rowFirstHits[ir] = firstRowHit;
541 firstRowHit += rowNHits[ir];
544 fTracker->ReadEvent( rowFirstHits, rowNHits, vHitStoreX, vHitStoreY, vHitStoreZ, nHits );
547 if ( vOrigClusters ) delete[] vOrigClusters;
549 // reconstruct the event
551 TStopwatch timerReco;
553 fTracker->Reconstruct();
559 Logging( kHLTLogDebug, "HLT::TPCCATracker::DoEvent", "Reconstruct",
560 "%d tracks found for slice %d", fTracker->NOutTracks(), slice );
563 // write reconstructed tracks
565 unsigned int mySize = 0;
566 int ntracks = *fTracker->NOutTracks();
569 if ( !fNewOutputType ) {
571 AliHLTTPCTrackletData* outPtr = ( AliHLTTPCTrackletData* )( outputPtr );
573 AliHLTTPCTrackSegmentData* currOutTracklet = outPtr->fTracklets;
575 mySize = ( ( AliHLTUInt8_t * )currOutTracklet ) - ( ( AliHLTUInt8_t * )outputPtr );
577 outPtr->fTrackletCnt = 0;
579 for ( int itr = 0; itr < ntracks; itr++ ) {
581 AliHLTTPCCAOutTrack &t = fTracker->OutTracks()[itr];
583 //Logging( kHLTLogDebug, "HLT::TPCCATracker::DoEvent", "Wrtite output","track %d with %d hits", itr, t.NHits());
585 if ( t.NHits() < fMinNTrackClusters ) continue;
587 // calculate output track size
589 unsigned int dSize = sizeof( AliHLTTPCTrackSegmentData ) + t.NHits() * sizeof( unsigned int );
591 if ( mySize + dSize > maxBufferSize ) {
592 HLTWarning( "Output buffer size exceed (buffer size %d, current size %d), %d tracks are not stored", maxBufferSize, mySize, ntracks - itr + 1 );
597 // convert CA track parameters to HLT Track Segment
599 int iFirstRow = 1000;
601 int iFirstHit = fTracker->OutTrackHits()[t.FirstHitRef()];
602 int iLastHit = iFirstHit;
603 for ( int ih = 0; ih < t.NHits(); ih++ ) {
604 int hitID = fTracker->OutTrackHits()[t.FirstHitRef() + ih ];
605 int iRow = vHitRowID[hitID];
606 if ( iRow < iFirstRow ) { iFirstRow = iRow; iFirstHit = hitID; }
607 if ( iRow > iLastRow ) { iLastRow = iRow; iLastHit = hitID; }
610 AliHLTTPCCATrackParam par = t.StartPoint();
612 par.TransportToX( vHitStoreX[iFirstHit], .99 );
614 AliExternalTrackParam tp;
615 AliHLTTPCCATrackConvertor::GetExtParam( par, tp, 0 );
617 currOutTracklet->fX = tp.GetX();
618 currOutTracklet->fY = tp.GetY();
619 currOutTracklet->fZ = tp.GetZ();
620 currOutTracklet->fCharge = ( int ) tp.GetSign();
621 currOutTracklet->fPt = TMath::Abs( tp.GetSignedPt() );
622 float snp = tp.GetSnp() ;
623 if ( snp > .999 ) snp = .999;
624 if ( snp < -.999 ) snp = -.999;
625 currOutTracklet->fPsi = TMath::ASin( snp );
626 currOutTracklet->fTgl = tp.GetTgl();
628 currOutTracklet->fY0err = tp.GetSigmaY2();
629 currOutTracklet->fZ0err = tp.GetSigmaZ2();
630 float h = -currOutTracklet->fPt * currOutTracklet->fPt;
631 currOutTracklet->fPterr = h * h * tp.GetSigma1Pt2();
632 h = 1. / TMath::Sqrt( 1 - snp * snp );
633 currOutTracklet->fPsierr = h * h * tp.GetSigmaSnp2();
634 currOutTracklet->fTglerr = tp.GetSigmaTgl2();
636 if ( par.TransportToX( vHitStoreX[iLastHit], .99 ) ) {
637 currOutTracklet->fLastX = par.GetX();
638 currOutTracklet->fLastY = par.GetY();
639 currOutTracklet->fLastZ = par.GetZ();
641 currOutTracklet->fLastX = vHitStoreX[iLastHit];
642 currOutTracklet->fLastY = vHitStoreY[iLastHit];
643 currOutTracklet->fLastZ = vHitStoreZ[iLastHit];
645 //if( currOutTracklet->fLastX<10. ) {
646 //HLTError("CA last point: hitxyz=%f,%f,%f, track=%f,%f,%f, tracklet=%f,%f,%f, nhits=%d",vHitStoreX[iLastHit],vHitStoreY[iLastHit],vHitStoreZ[iLastHit],
647 //par.GetX(), par.GetY(),par.GetZ(),currOutTracklet->fLastX,currOutTracklet->fLastY ,currOutTracklet->fLastZ, t.NHits());
649 #ifdef INCLUDE_TPC_HOUGH
650 #ifdef ROWHOUGHPARAMS
651 currOutTracklet->fTrackID = 0;
652 currOutTracklet->fRowRange1 = vHitRowID[iFirstHit];
653 currOutTracklet->fRowRange2 = vHitRowID[iLastHit];
654 currOutTracklet->fSector = slice;
655 currOutTracklet->fPID = 211;
657 #endif // INCLUDE_TPC_HOUGH
660 currOutTracklet->fNPoints = t.NHits();
662 for ( int i = 0; i < t.NHits(); i++ ) {
663 currOutTracklet->fPointIDs[i] = vHitStoreID[fTracker->OutTrackHits()[t.FirstHitRef()+i]];
666 currOutTracklet = ( AliHLTTPCTrackSegmentData* )( ( Byte_t * )currOutTracklet + dSize );
668 outPtr->fTrackletCnt++;
670 } else { // new output type
672 mySize = fTracker->Output()->EstimateSize( fTracker->Output()->NTracks(),
673 fTracker->Output()->NTrackClusters() );
674 if ( mySize <= maxBufferSize ) {
675 const AliHLTUInt8_t* outputevent = reinterpret_cast<const AliHLTUInt8_t*>( fTracker->Output() );
676 for ( unsigned int i = 0; i < mySize; i++ ) outputPtr[i] = outputevent[i];
678 HLTWarning( "Output buffer size exceed (buffer size %d, current size %d), tracks are not stored", maxBufferSize, mySize );
684 if ( vHitStoreX ) delete[] vHitStoreX;
685 if ( vHitStoreY ) delete[] vHitStoreY;
686 if ( vHitStoreZ ) delete[] vHitStoreZ;
687 if ( vHitStoreIntID ) delete[] vHitStoreIntID;
688 if ( vHitStoreID ) delete[] vHitStoreID;
689 if ( vHitRowID ) delete[] vHitRowID;
692 AliHLTComponentBlockData bd;
696 bd.fSpecification = AliHLTTPCDefinitions::EncodeDataSpecification( slice, slice, minPatch, maxPatch );
697 outputBlocks.push_back( bd );
703 fFullTime += timer.RealTime();
704 fRecoTime += timerReco.RealTime();
707 // Set log level to "Warning" for on-line system monitoring
708 int hz = ( int ) ( fFullTime > 1.e-10 ? fNEvents / fFullTime : 100000 );
709 int hz1 = ( int ) ( fRecoTime > 1.e-10 ? fNEvents / fRecoTime : 100000 );
710 HLTWarning( "CATracker slice %d: output %d tracks; input %d clusters, patches %d..%d, rows %d..%d; reco time %d/%d Hz",
711 slice, ntracks, nClusters, minPatch, maxPatch, row[0], row[1], hz, hz1 );