#include <errno.h>
#include "TString.h"
-// this is a global object used for automatic component registration, do not use this
-AliHLTTPCCalibPedestalComponent gAliHLTTPCCalibPedestalComponent;
-
+/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTTPCCalibPedestalComponent)
AliHLTTPCCalibPedestalComponent::AliHLTTPCCalibPedestalComponent()
fRawReader(NULL),
fRawStream(NULL),
fCalibPedestal(NULL),
- fRCUFormat(kFALSE),
+ // Note: initialization of min and max seems to be in the wrong order but is on
+ // purpose in order to work correctly with the conditional in DoEvent line 221
+ // if ( patch < fMinPatch ) fMinPatch = patch;
+ // if ( patch > fMaxPatch ) fMaxPatch = patch;
fMinPatch(5),
fMaxPatch(0),
fSpecification(0) ,
else {
parameter = argv[1];
if ( parameter.CompareTo("old") == 0 ) {
- fRCUFormat = kTRUE;
HLTInfo( "RCU Format is set to old." );
}
else if ( parameter.CompareTo("new") == 0 ) {
- fRCUFormat = kFALSE;
HLTInfo( "RCU Format is set to new." );
}
else {
return 0;
}
-/*
- * --- setter for rcuformat need in AliTPCCalibPedestal class
- */
Int_t AliHLTTPCCalibPedestalComponent::ProcessCalibration( const AliHLTComponentEventData& /*evtData*/,
AliHLTComponentTriggerData& /*trigData*/ ) {
// see header file for class documentation
fRawReader->SetEquipmentID(ddlId);
fRawStream = new AliTPCRawStream( fRawReader );
- fRawStream->SetOldRCUFormat( fRCUFormat );
// ** Process actual Pedestal Calibration - Fill histograms
fCalibPedestal->ProcessEvent( fRawStream );