// -- Get ptr to cuts from reader
// --------------------------------
-
- // -- Seed cuts
- if ( ! iResult ) {
- fSeedCuts = readerHeader->GetSeedCuts();
- if ( ! fSeedCuts ) {
- HLTError("Error getting ptr to seed cuts.");
- iResult = -EINPROGRESS;
- }
- }
// -- Track cuts
if ( ! iResult ) {
HLTInfo(" Number of selected tracks %d", nTracks);
-
return bResult;
}
iResult = -EINPROGRESS;
}
}
+
+ // -- Get ptr to cuts from reader
+ // --------------------------------
+
+ // -- Seed cuts
+ if ( ! iResult ) {
+ fSeedCuts = readerHeader->GetSeedCuts();
+ if ( ! fSeedCuts ) {
+ HLTError("Error getting ptr to seed cuts.");
+ iResult = -EINPROGRESS;
+ }
+ }
return iResult;
}
HLTInfo(" -= TrackCuts =- " );
}
- if ( ! fSeedCuts ) {
- HLTError("No seed cuts set in reader header");
- iResult = -EINPROGRESS;
- }
- else {
- fSeedCuts->SetEtaRange( fFiducialEtaMin+fConeRadius,
- fFiducialEtaMax-fConeRadius );
- fSeedCuts->SetPhiRange( fFiducialPhiMin, fFiducialPhiMax );
- HLTInfo(" -= SeedCuts =- " );
+ // Check for seeds only cone based algoritms
+ if ( fAlgorithm >= AliHLTJETBase::kFFSCSquareCell ) {
+ if ( !fSeedCuts ) {
+ HLTError("No seed cuts set in reader header");
+ iResult = -EINPROGRESS;
+ }
+ else {
+ fSeedCuts->SetEtaRange( fFiducialEtaMin+fConeRadius,
+ fFiducialEtaMax-fConeRadius );
+ fSeedCuts->SetPhiRange( fFiducialPhiMin, fFiducialPhiMax );
+ HLTInfo(" -= SeedCuts =- " );
+ }
}
-
+
return iResult;
}
/** Cone radius */
Float_t fConeRadius; // see above
- /** Use MC Data -- only neede for off-line*/
+ /** Use MC Data -- only needed for off-line */
Bool_t fUseMC; // see above
ClassDef(AliHLTJETReaderHeader, 1)
bResult = kFALSE;
// -- Charged particles only
- if ( fChargedOnly && !particle->GetPDG()->Charge() )
+ if ( ! particle->GetPDG() )
bResult = kFALSE;
+ else {
+ if ( fChargedOnly && !particle->GetPDG()->Charge() )
+ bResult = kFALSE;
+ }
// -- cut on min Pt
if ( particle->Pt() < fPtMin )
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
-//* Primary Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de> *
+//* Primary Authors: Jochen Thaeder <jochen@thaeder.de> *
//* for The ALICE HLT Project. *
//* *
//* Permission to use, copy, modify and distribute this software and its *
//**************************************************************************
/** @file AliHLTJETFastJetComponent.cxx
- @author Jochen Thaeder <thaeder@kip.uni-heidelberg.de>
- @date
- @brief Component to run the FastJet jetfinder
+ @author Jochen Thaeder <jochen@thaeder.de>
+ @brief Component to run the FastJet jetfinder
*/
#if __GNUC__>= 3