AliRoot Core  edcc906 (edcc906)
AliTPCCalibCE Class Reference

Implementation of the TPC Central Electrode calibration. More...

#include <AliTPCCalibCE.h>

Inheritance diagram for AliTPCCalibCE:

Public Member Functions

 AliTPCCalibCE ()
 
 AliTPCCalibCE (const AliTPCCalibCE &sig)
 
 AliTPCCalibCE (const TMap *config)
 
virtual ~AliTPCCalibCE ()
 
AliTPCCalibCEoperator= (const AliTPCCalibCE &source)
 
virtual Int_t Update (const Int_t isector, const Int_t iRow, const Int_t iPad, const Int_t iTimeBin, const Float_t signal)
 
virtual void ProcessBunch (const Int_t sector, const Int_t row, const Int_t pad, const Int_t length, const UInt_t startTimeBin, const UShort_t *signal)
 
virtual void Analyse ()
 
void AnalyseTrack ()
 
AliTPCCalROCGetCalRocT0 (Int_t sector, Bool_t force=kFALSE)
 
AliTPCCalROCGetCalRocT0Err (Int_t sector, Bool_t force=kFALSE)
 
AliTPCCalROCGetCalRocQ (Int_t sector, Bool_t force=kFALSE)
 
AliTPCCalROCGetCalRocRMS (Int_t sector, Bool_t force=kFALSE)
 
AliTPCCalROCGetCalRocOutliers (Int_t sector, Bool_t force=kFALSE)
 
const TObjArrayGetCalPadT0 () const
 
const TObjArrayGetCalPadT0Err () const
 
const TObjArrayGetCalPadQ () const
 
const TObjArrayGetCalPadRMS () const
 
const TObjArrayGetCalPadOutliers () const
 
TH2S * GetHistoQ (Int_t sector, Bool_t force=kFALSE)
 
TH2S * GetHistoT0 (Int_t sector, Bool_t force=kFALSE)
 
TH2S * GetHistoRMS (Int_t sector, Bool_t force=kFALSE)
 
Float_t GetMeanT0rms () const
 
Float_t GetMeanQrms () const
 
Float_t GetMeanRMSrms () const
 
Int_t GetPeakDetectionMinus () const
 
Int_t GetPeakDetectionPlus () const
 
Int_t GetPeakIntRangeMinus () const
 
Int_t GetPeakIntRangePlus () const
 
Float_t GetNnoiseThresholdMax () const
 
Float_t GetNnoiseThresholdSum () const
 
TH1S * GetHistoTmean (Int_t sector, Bool_t force=kFALSE)
 
TObjArrayGetParamArrayPol1 (Int_t sector, Bool_t force=kFALSE)
 
TObjArrayGetParamArrayPol2 (Int_t sector, Bool_t force=kFALSE)
 
TVectorF * GetTMeanEvents (Int_t sector, Bool_t force=kFALSE)
 
TVectorF * GetQMeanEvents (Int_t sector, Bool_t force=kFALSE)
 
const TVectorDGetEventTimes () const
 
const TVectorDGetEventIds () const
 
void SetRangeRefQ (Int_t nBins, Float_t xMin, Float_t xMax)
 
void SetRangeRefT0 (Int_t nBins, Float_t xMin, Float_t xMax)
 
void SetRangeRefRMS (Int_t nBins, Float_t xMin, Float_t xMax)
 
void SetRangePeakDetection (Int_t minus, Int_t plus)
 
void SetRangePeakIntegral (Int_t minus, Int_t plus)
 
void SetNnoiseThresholdMax (Float_t n)
 
void SetNnoiseThresholdSum (Float_t n)
 
void SetEventInfo (UInt_t runNumber, UInt_t timestamp, UInt_t eventId)
 
void SetPedestalDatabase (AliTPCCalPad *const pedestalTPC, AliTPCCalPad *const padNoiseTPC)
 
void SetIsZeroSuppressed (Bool_t zs=kTRUE)
 
void SetSecRejectRatio (Float_t ratio)
 
void SetProcessOld (Bool_t process=kTRUE)
 
void SetProcessNew (Bool_t process=kTRUE)
 
void SetROCblackData (Int_t rocblackDataDown=-1, Int_t rocblackDataUp=-1)
 
Int_t GetNeventsProcessed () const
 
Bool_t GetIsZeroSuppressed () const
 
Float_t GetSecRejectRatio () const
 
const TVectorF * GetTime0Side (Int_t side=0) const
 
Float_t GetPeakIntegralMinus () const
 
Float_t GetPeakIntegralPlus () const
 
void Merge (AliTPCCalibCE *const ce)
 
virtual Long64_t Merge (TCollection *const list)
 
TGraph * MakeGraphTimeCE (Int_t sector, Int_t xVariable=0, Int_t fitType=0, Int_t fitParameter=0)
 
Bool_t IsEdgePad (Int_t sector, Int_t row, Int_t pad) const
 
void FindLocalMaxima (TObjArray *const arrObj, Double_t timestamp, Int_t burst)
 
Int_t FindLaserTrackID (Int_t sector, Int_t row, const Double_t *peakpos, Double_t &mindist, const Double_t *peakposloc, Int_t &itrackMin2)
 
const THnSparseI * GetHnDrift () const
 
const TObjArrayGetArrHnDrift () const
 
const TVectorDGetTimeBursts () const
 
const TObjArrayGetArrFitGraphs () const
 
virtual void DumpToFile (const Char_t *filename, const Char_t *dir="", Bool_t append=kFALSE)
 
- Public Member Functions inherited from AliTPCCalibRawBase
 AliTPCCalibRawBase ()
 
 AliTPCCalibRawBase (const AliTPCCalibRawBase &calib)
 
AliTPCCalibRawBaseoperator= (const AliTPCCalibRawBase &source)
 
virtual ~AliTPCCalibRawBase ()
 
Bool_t ProcessEvent (AliTPCRawStreamV3 *const rawStreamV3)
 
Bool_t ProcessEvent (AliRawReader *const rawReader)
 
Bool_t ProcessEvent (eventHeaderStruct *const event)
 
virtual void UpdateDDL ()
 
void MergeBase (const AliTPCCalibRawBase *calib)
 
void SetRangeTime (Int_t firstTimeBin, Int_t lastTimeBin)
 
void SetAltroMapping (AliTPCAltroMapping **mapp)
 
void SetUseL1Phase (Bool_t useL1Phase=kTRUE)
 
void SetTimeStampEvent (UInt_t timestamp)
 
void SetRunNumber (UInt_t eventnumber)
 
Int_t GetFirstTimeBin () const
 
Int_t GetLastTimeBin () const
 
Int_t GetNevents () const
 
Double_t GetL1Phase () const
 
Double_t GetL1PhaseTB () const
 
Bool_t GetUseL1Phase () const
 
UInt_t GetRunNumber () const
 
UInt_t GetFirstTimeStamp () const
 
UInt_t GetLastTimeStamp () const
 
UInt_t GetTimeStamp () const
 
UInt_t GetEventType () const
 
AliTPCAltroMapping ** GetAltroMapping ()
 
const AliAltroRawStream * GetAltroRawStream () const
 
const AliTPCROCGetTPCROC () const
 
void IncrementNevents ()
 
TTreeSRedirectorGetDebugStreamer ()
 
void SetStreamLevel (Int_t streamLevel)
 
void SetDebugLevel (Int_t level)
 
Int_t GetStreamLevel () const
 
Int_t GetDebugLevel () const
 

Static Public Member Functions

static AliTPCCalibCEReadFromFile (const Char_t *filename)
 

Protected Member Functions

virtual void EndEvent ()
 
virtual void ResetEvent ()
 

Private Types

enum  { kHnBinsDV =5 }
 

Private Member Functions

void FindPedestal (Float_t part=.6)
 
void UpdateCETimeRef ()
 
void FindCESignal (TVectorD &param, Float_t &qSum, const TVectorF maxima)
 
void FindLocalMaxima (TVectorF &maxima)
 
Bool_t IsPeak (Int_t pos, Int_t tminus, Int_t tplus) const
 
TH2S * GetHisto (Int_t sector, TObjArray *arr, Int_t nbinsY, Float_t ymin, Float_t ymax, const Char_t *type, Bool_t force)
 
TH1S * GetHisto (Int_t sector, TObjArray *arr, const Char_t *type, Bool_t force)
 
AliTPCCalROCGetCalRoc (Int_t sector, TObjArray *arr, Bool_t force) const
 
TVectorF * GetVectSector (Int_t sector, TObjArray *arr, UInt_t size, Bool_t force=kFALSE) const
 
TVectorF * GetPadTimesEvent (Int_t sector, Bool_t force=kFALSE)
 
TObjArrayGetParamArray (Int_t sector, TObjArray *arr, Bool_t force=kFALSE) const
 
void ResetPad ()
 
void ProcessPad ()
 
void CreateDVhist ()
 
void FindLaserLayers ()
 
Bool_t IsPeakInRange (UShort_t timebin, Int_t roc) const
 
TObjArraySetupMeasured ()
 
void ResetMeasured (TObjArray *const arr)
 
void AddCEtoIdeal (TObjArray *arr)
 
void CalculateDV (TObjArray *const arrIdeal, TObjArray *const arrMeasured, Int_t burst)
 
Double_t SetBurstHnDrift ()
 
TVectorF * GetPadQEvent (Int_t sector, Bool_t force=kFALSE)
 
TVectorF * GetPadRMSEvent (Int_t sector, Bool_t force=kFALSE)
 
TVectorF * GetPadPedestalEvent (Int_t sector, Bool_t force=kFALSE)
 

Private Attributes

Int_t fNbinsT0
 Number of bins for T0 reference histogram. More...
 
Float_t fXminT0
 xmin of T0 reference histogram More...
 
Float_t fXmaxT0
 xmax of T0 reference histogram More...
 
Int_t fNbinsQ
 Number of bins for T0 reference histogram. More...
 
Float_t fXminQ
 xmin of T0 reference histogram More...
 
Float_t fXmaxQ
 xmax of T0 reference histogram More...
 
Int_t fNbinsRMS
 Number of bins for T0 reference histogram. More...
 
Float_t fXminRMS
 xmin of T0 reference histogram More...
 
Float_t fXmaxRMS
 xmax of T0 reference histogram More...
 
Int_t fPeakDetMinus
 Consecutive timebins on rising edge to be regarded as a signal. More...
 
Int_t fPeakDetPlus
 Consecutive timebins on falling edge to be regarded as a signal. More...
 
Int_t fPeakIntMinus
 Peak integral range for COG determination. Bins used before max bin. More...
 
Int_t fPeakIntPlus
 Peak integral range for COG determination. Bins used after max bin. More...
 
Float_t fNoiseThresholdMax
 Analysis Treshold for signal finding: Max>fNoiseThresholdMax*PadNoise. More...
 
Float_t fNoiseThresholdSum
 Analysis Treshold for signal finding: Sum>fNoiseThresholdSum*PadNoise. More...
 
Int_t fROCblackDataUp
 Upper edge of ROC range to be processed in case of black event. if -1; online drif velocity algorithm. More...
 
Int_t fROCblackDataDown
 Lower edge of ROC rabge to be processed in case of black event. if -1; online drif velocity algorithm. More...
 
Bool_t fIsZeroSuppressed
 If data is Zero Suppressed -> Don't subtrakt pedestals! More...
 
Int_t fLastSector
 ! Last sector processed More...
 
Float_t fSecRejectRatio
 ! Needed percentage of signals in one chamber. Below it will be rejected More...
 
AliTPCParamfParam
 ! TPC information More...
 
AliTPCCalPadfPedestalTPC
 ! Pedestal Information whole TPC More...
 
AliTPCCalPadfPadNoiseTPC
 ! Pad noise Information whole TPC More...
 
AliTPCCalROCfPedestalROC
 ! Pedestal Information for current ROC More...
 
AliTPCCalROCfPadNoiseROC
 ! Pad noise Information for current ROC More...
 
TObjArray fCalRocArrayT0
 Array of AliTPCCalROC class for Time0 calibration. More...
 
TObjArray fCalRocArrayT0Err
 Array of AliTPCCalROC class for the error (rms) of Time0 calibration. More...
 
TObjArray fCalRocArrayQ
 Array of AliTPCCalROC class for Charge calibration. More...
 
TObjArray fCalRocArrayRMS
 Array of AliTPCCalROC class for signal width calibration. More...
 
TObjArray fCalRocArrayOutliers
 Array of AliTPCCalROC class for signal outliers. More...
 
TObjArray fHistoQArray
 Calibration histograms for Charge distribution. More...
 
TObjArray fHistoT0Array
 Calibration histograms for Time0 distribution. More...
 
TObjArray fHistoRMSArray
 Calibration histograms for signal width distribution. More...
 
Float_t fMeanT0rms
 mean of the rms of all pad T0 fits, used as error estimation of T0 results More...
 
Float_t fMeanQrms
 mean of the rms of all pad Q fits, used as error estimation of Q results More...
 
Float_t fMeanRMSrms
 mean of the rms of all pad TMS fits, used as error estimation of RMS results More...
 
TObjArray fHistoTmean
 ! Calibration histograms of the mean CE position for all sectors More...
 
TObjArray fParamArrayEventPol1
 Store mean arrival time parameters for each sector event by event from global plane fit. More...
 
TObjArray fParamArrayEventPol2
 Store mean arrival time parameters for each sector event by event from global parabola fit. More...
 
TObjArray fTMeanArrayEvent
 Store mean arrival time for each sector event by event. More...
 
TObjArray fQMeanArrayEvent
 Store mean arrival Charge for each sector event by event. More...
 
TVectorD fVEventTime
 Timestamps of the events. More...
 
TVectorD fVEventNumber
 Eventnumbers of the events. More...
 
TVectorF fVTime0SideA
 Mean Time0 for side A for all events. More...
 
TVectorF fVTime0SideC
 Mean Time0 for side C for all events. More...
 
Double_t fEventId
 ! Event Id of the current event More...
 
UInt_t fOldRunNumber
 ! Old Run Number More...
 
TObjArray fPadTimesArrayEvent
 ! Pad Times for the event, before mean Time0 corrections More...
 
TObjArray fPadQArrayEvent
 ! Charge for the event, only needed for debugging streamer More...
 
TObjArray fPadRMSArrayEvent
 ! Signal width for the event, only needed for debugging streamer More...
 
TObjArray fPadPedestalArrayEvent
 ! Signal width for the event, only needed for debugging streamer More...
 
Int_t fCurrentChannel
 ! current channel processed More...
 
Int_t fCurrentSector
 ! current sector processed More...
 
Int_t fCurrentRow
 ! current row processed More...
 
Float_t fMaxPadSignal
 ! maximum bin of current pad More...
 
Int_t fMaxTimeBin
 ! time bin with maximum value More...
 
Float_t fPadSignal [1024]
 ! signal of current Pad More...
 
Float_t fPadPedestal
 ! Pedestal Value of current pad More...
 
Float_t fPadNoise
 ! Noise Value of current pad More...
 
TVectorD fVTime0Offset
 ! Time0 Offset for each sector; More...
 
TVectorD fVTime0OffsetCounter
 ! Time0 Offset counter for each sector; More...
 
TVectorD fVMeanQ
 ! Mean Q for each sector; More...
 
TVectorD fVMeanQCounter
 ! Mean Q counter for each sector; More...
 
Float_t fCurrentCETimeRef
 ! Time refernce of the current sector More...
 
Bool_t fProcessOld
 Whether to use the old algorithm. More...
 
Bool_t fProcessNew
 Whether to use the new algorithm. More...
 
Bool_t fAnalyseNew
 ! Whether to analyse the new part of the algorithm. More...
 
THnSparseI * fHnDrift
 ! Histogram digits for each pad and timebin for several timestamps More...
 
TObjArray fArrHnDrift
 array of sparse histograms for each burst More...
 
TVectorD fTimeBursts
 time stamps of bursts More...
 
UInt_t fBinsLastAna [100]
 number of bin in the THnSparse during the last analysis More...
 
UShort_t fPeaks [14]
 ! Peak position: 4 laser layers and CE More...
 
UShort_t fPeakWidths [14]
 ! Peak window widths More...
 
TObjArrayfArrFitGraphs
 Fit resut graphs for each parameter. More...
 
UInt_t fEventInBunch
 ! event in current bunch More...
 

Additional Inherited Members

- Protected Attributes inherited from AliTPCCalibRawBase
Int_t fFirstTimeBin
 First Time bin used for analysis. More...
 
Int_t fLastTimeBin
 Last Time bin used for analysis. More...
 
Int_t fNevents
 Number of processed events. More...
 
Int_t fDebugLevel
 ! debug level More...
 
Int_t fStreamLevel
 ! level of streamer output More...
 
UInt_t fRunNumber
 current run number from event header More...
 
UInt_t fFirstTimeStamp
 First event time stamp. More...
 
UInt_t fLastTimeStamp
 Last event time stamp. More...
 
UInt_t fTimeStamp
 ! time stamp from event header More...
 
UInt_t fEventType
 ! current event Type from event header More...
 
Double_t fAltroL1Phase
 ! L1 Phase More...
 
Float_t fAltroL1PhaseTB
 ! L1 Phase in time bins More...
 
Int_t fCurrRCUId
 ! Current RCU Id More...
 
Int_t fPrevRCUId
 ! Previous RCU Id More...
 
Int_t fCurrDDLNum
 ! Current DDL number More...
 
Int_t fPrevDDLNum
 ! Current DDL number More...
 
Bool_t fUseL1Phase
 use L1 Phase information? More...
 
TTreeSRedirectorfDebugStreamer
 ! debug streamer More...
 
AliAltroRawStream * fAltroRawStream
 ! pointer to the altro object More...
 
AliTPCAltroMapping ** fMapping
 ! Altro Mapping object More...
 
AliTPCROCfROC
 ! ROC information More...
 

Detailed Description

Implementation of the TPC Central Electrode calibration.

Author
Jens Wiechula, Marian Ivanov J.Wie.nosp@m.chul.nosp@m.a@gsi.nosp@m..de, Maria.nosp@m.n.Iv.nosp@m.anov@.nosp@m.cern.nosp@m..ch

Class Description The AliTPCCalibCE class is used to get calibration data from the Central Electrode using laser runs.

The information retrieved is

  • Time arrival from the CE
  • Signal width
  • Signal sum

Overview:

  1. Working principle
  2. User interface for filling data
  3. Stored information

I. Working principle

Raw laser data is processed by calling one of the ProcessEvent(...) functions (see below). These in the end call the Update(...) function.

  • the Update(...) function:
    In this function the array fPadSignal is filled with the adc signals between the specified range fFirstTimeBin and fLastTimeBin for the current pad. before going to the next pad the ProcessPad() function is called, which analyses the data for one pad stored in fPadSignal.
    • the ProcessPad() function:
      1. Find Pedestal and Noise information
      2. Find local maxima of the pad signal
        • maxima arise from the laser tracks, the CE and also periodic postpeaks after the CE signal have have been observed ( see FindLocalMaxima(...) )
      3. Find the CE signal information
        • to find the position of the CE signal the Tmean information from the previos event is used as the CE signal the local maximum closest to this Tmean is identified
        • calculate mean = T0, RMS = signal width and Q sum in a range of -4+7 timebins around Q max position the Q sum is scaled by pad area (see FindPulserSignal(...) function)
      4. Fill a temprary array for the T0 information (GetPadTimesEvent(fCurrentSector,kTRUE)) (why see below)
      5. Fill the Q sum and RMS values in the histograms (GetHisto[RMS,Q](ROC,kTRUE))

At the end of each event the EndEvent() function is called

  • the EndEvent() function:
    • calculate the mean T0 for side A and side C. Fill T0 histogram with Time0-<Time0 for side[A,C]> This is done to overcome syncronisation problems between the trigger and the fec clock.
    • calculate Mean T for each ROC using the COG aroud the median of the LocalMaxima distribution in one sector
    • calculate Mean Q
    • calculate Global fit parameters for Pol1 and Pol2 fits

After accumulating the desired statistics the Analyse() function has to be called.

  • the Analyse() function:
    • calculate the mean values of T0, RMS, Q for each pad, using the AliMathBase::GetCOG(...) function
    • fill the calibration storage classes (AliTPCCalROC) for each ROC (The calibration information is stored in the TObjArrays fCalRocArrayT0, fCalRocArrayRMS and fCalRocArrayQ

II. User interface for filling data

To Fill information one of the following functions can be used:

  • Bool_t ProcessEvent(eventHeaderStruct *event);


  • Bool_t ProcessEvent(AliRawReader *rawReader);

    • process AliRawReader event
    • use AliTPCRawStream to loop over data and call ProcessEvent(AliTPCRawStream *rawStream)


  • Bool_t ProcessEvent(AliTPCRawStream *rawStream);

    • process event from AliTPCRawStream
    • call Update function for signal filling


  • Int_t Update(const Int_t isector, const Int_t iRow, const Int_t iPad, const Int_t iTimeBin, const Float_t signal);
    • directly fill signal information (sector, row, pad, time bin, pad) to the reference histograms

It is also possible to merge two independently taken calibrations using the function

  • void Merge(AliTPCCalibSignal *sig)
    • copy histograms in 'sig' if they do not exist in this instance
    • Add histograms in 'sig' to the histograms in this instance if the allready exist
    • After merging call Analyse again!

example: filling data using root raw data:

 void fillCE(Char_t *filename)
 {
    rawReader = new AliRawReaderRoot(fileName);
    if ( !rawReader ) return;
    AliTPCCalibCE *calib = new AliTPCCalibCE;
    while (rawReader->NextEvent()){
      calib->ProcessEvent(rawReader);
    }
    calib->Analyse();
    calib->DumpToFile("CEData.root");
    delete rawReader;
    delete calib;
 }
 

III. What kind of information is stored and how to retrieve it

III.1 Stored information

  • Histograms:

    • For each ROC three TH2S histos 'Reference Histograms' (ROC channel vs. [Time0, signal width, Q sum]) is created when it is filled for the first time (GetHisto[T0,RMS,Q](ROC,kTRUE)). The histos are stored in the TObjArrays fHistoT0Array, fHistoRMSArray and fHistoQArray.


  • Calibration Data:

    • For each ROC three types of calibration data (AliTPCCalROC) is stored: for the mean arrival Time, the signal width and the signal Sum. The AliTPCCalROC objects are stored in the TObjArrays fCalRocArrayT0, fCalRocArrayRMS , fCalRocArrayQ. The object for each roc is created the first time it is accessed (GetCalRoc[T0,RMS,Q](ROC,kTRUE));


  • For each event the following information is stored:

    • event time ( TVectorD fVEventTime )
    • event id ( TVectorD fVEventNumber )
    • mean arrival time for each ROC ( TObjArray fTMeanArrayEvent )
    • mean Q for each ROC ( TObjArray fQMeanArrayEvent )
    • parameters of a plane fit for each ROC ( TObjArray fParamArrayEventPol1 )
    • parameters of a 2D parabola fit for each ROC ( TObjArray fParamArrayEventPol2 )

III.2 Retrieving information

  • Accessing the 'Reference Histograms' (Time0, signal width and Q sum information pad by pad):

    • TH2F *GetHistoT0(Int_t sector);
    • TH2F *GetHistoRMS(Int_t sector);
    • TH2F *GetHistoQ(Int_t sector);


  • Accessing the calibration storage objects:

    • AliTPCCalROC *GetCalRocT0(Int_t sector); // for the Time0 values
    • AliTPCCalROC *GetCalRocRMS(Int_t sector); // for the signal width values
    • AliTPCCalROC *GetCalRocQ(Int_t sector); // for the Q sum values


  • Accessin the event by event information:

example for visualisation:

  //if the file "CEData.root" was created using the above example one could do the following:
  TFile fileCE("CEData.root")
  AliTPCCalibCE *ce = (AliTPCCalibCE*)fileCE->Get("AliTPCCalibCE");
  ce->GetCalRocT0(0)->Draw("colz");
  ce->GetCalRocRMS(0)->Draw("colz");
  //or use the AliTPCCalPad functionality:
  AliTPCCalPad padT0(ped->GetCalPadT0());
  AliTPCCalPad padSigWidth(ped->GetCalPadRMS());
  padT0->MakeHisto2D()->Draw("colz");       //Draw A-Side Time0 Information
  padSigWidth->MakeHisto2D()->Draw("colz"); //Draw A-Side signal width Information
  //display event by event information:
  //Draw mean arrival time as a function of the event time for oroc sector A00
  ce->MakeGraphTimeCE(36, 0, 2)->Draw("alp");
  //Draw first derivative in local x from a plane fit as a function of the event time for oroc sector A00
  ce->MakeGraphTimeCE(36, 0, 0, 1)->Draw("alp");
  

Definition at line 29 of file AliTPCCalibCE.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
kHnBinsDV 

Definition at line 233 of file AliTPCCalibCE.h.

Constructor & Destructor Documentation

AliTPCCalibCE::AliTPCCalibCE ( )

Definition at line 298 of file AliTPCCalibCE.cxx.

Referenced by operator=().

AliTPCCalibCE::AliTPCCalibCE ( const AliTPCCalibCE sig)

AliTPCSignal copy constructor

Definition at line 388 of file AliTPCCalibCE.cxx.

AliTPCCalibCE::AliTPCCalibCE ( const TMap *  config)

constructor which uses a tmap as input to set some specific parameters

Definition at line 562 of file AliTPCCalibCE.cxx.

AliTPCCalibCE::~AliTPCCalibCE ( )
virtual

destructor

Definition at line 688 of file AliTPCCalibCE.cxx.

Member Function Documentation

void AliTPCCalibCE::AddCEtoIdeal ( TObjArray arr)
private

Add ideal CE positions to the ideal track data

Definition at line 2541 of file AliTPCCalibCE.cxx.

Referenced by AnalyseTrack().

void AliTPCCalibCE::Analyse ( )
virtual

Calculate calibration constants

debug

debug

Reimplemented from AliTPCCalibRawBase.

Definition at line 1926 of file AliTPCCalibCE.cxx.

Referenced by main(), and ReadFromFile().

void AliTPCCalibCE::AnalyseTrack ( )

Analyse the tracks

Definition at line 2331 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

void AliTPCCalibCE::CalculateDV ( TObjArray *const  arrIdeal,
TObjArray *const  arrMeasured,
Int_t  burst 
)
private

calculate the drift velocity from the reconstructed clusters associated to the ideal laser tracks use two different fit scenarios: Separate fit for A- and C-Side Common fit for A- and C-Side

Definition at line 2625 of file AliTPCCalibCE.cxx.

Referenced by AnalyseTrack().

void AliTPCCalibCE::CreateDVhist ( )
private

Setup the THnSparse for the drift velocity determination

Definition at line 1625 of file AliTPCCalibCE.cxx.

Referenced by SetBurstHnDrift(), and SetProcessNew().

void AliTPCCalibCE::DumpToFile ( const Char_t *  filename,
const Char_t *  dir = "",
Bool_t  append = kFALSE 
)
virtual

Write class to file option can be specified in the dir option: options: name=<objname>: the name of the calibration object in file will be <objname> type=<type>: the saving type: 0 - write the complte object 1 - Store the histogram arrays separately to make the streamed object smaller, Analyse to be called 2 - like 2, but in addition delete objects that will most probably not be used for calibration 3 - store only calibration output, don't store the reference histograms and THnSparse (requires Analyse called before)

NOTE: to read the object back, the ReadFromFile function should be used

Reimplemented from AliTPCCalibRawBase.

Definition at line 2949 of file AliTPCCalibCE.cxx.

Referenced by GetArrFitGraphs(), and main().

void AliTPCCalibCE::EndEvent ( )
protectedvirtual

Process data of current pad The Functions 'SetTimeStamp' and 'SetRunNumber' should be called before the EndEvent function to set the event timestamp and number!!! This is automatically done if the ProcessEvent(AliRawReader *rawReader) function was called

Reimplemented from AliTPCCalibRawBase.

Definition at line 1133 of file AliTPCCalibCE.cxx.

Referenced by GetArrFitGraphs().

void AliTPCCalibCE::FindCESignal ( TVectorD param,
Float_t &  qSum,
const TVectorF  maxima 
)
private

Find position, signal width and height of the CE signal (last signal) param[0] = Qmax, param[1] = mean time, param[2] = rms; maxima: array of local maxima of the pad signal use the one closest to the mean CE position

Definition at line 990 of file AliTPCCalibCE.cxx.

Referenced by ProcessPad().

void AliTPCCalibCE::FindLaserLayers ( )
private

Find the laser layer positoins

Definition at line 829 of file AliTPCCalibCE.cxx.

Referenced by FindLocalMaxima(), and ProcessBunch().

Int_t AliTPCCalibCE::FindLaserTrackID ( Int_t  sector,
Int_t  row,
const Double_t *  peakpos,
Double_t &  mindist,
const Double_t *  peakposloc,
Int_t &  itrackMin2 
)

Find the tracks, which are closest to the ideal tracks, from clusters closest to the ideal tracks

Definition at line 2403 of file AliTPCCalibCE.cxx.

Referenced by FindLocalMaxima(), and GetPeakIntegralPlus().

void AliTPCCalibCE::FindLocalMaxima ( TObjArray *const  arrObj,
Double_t  timestamp,
Int_t  burst 
)

Find the local maximums for the projections to each axis

Definition at line 2064 of file AliTPCCalibCE.cxx.

Referenced by AnalyseTrack(), GetPeakIntegralPlus(), and ProcessPad().

void AliTPCCalibCE::FindLocalMaxima ( TVectorF &  maxima)
private

Find local maxima on the pad signal and Histogram them

Definition at line 1073 of file AliTPCCalibCE.cxx.

void AliTPCCalibCE::FindPedestal ( Float_t  part = .6)
private

find pedestal and noise for the current pad. Use either database or truncated mean with part*100%

Definition at line 887 of file AliTPCCalibCE.cxx.

Referenced by ProcessPad().

const TObjArray* AliTPCCalibCE::GetArrFitGraphs ( ) const
inline

Definition at line 136 of file AliTPCCalibCE.h.

Referenced by SendToAmoreDB().

const TObjArray& AliTPCCalibCE::GetArrHnDrift ( ) const
inline

Definition at line 134 of file AliTPCCalibCE.h.

const TObjArray* AliTPCCalibCE::GetCalPadOutliers ( ) const
inline

Definition at line 58 of file AliTPCCalibCE.h.

const TObjArray* AliTPCCalibCE::GetCalPadQ ( ) const
inline
const TObjArray* AliTPCCalibCE::GetCalPadRMS ( ) const
inline
const TObjArray* AliTPCCalibCE::GetCalPadT0 ( ) const
inline
const TObjArray* AliTPCCalibCE::GetCalPadT0Err ( ) const
inline

Definition at line 55 of file AliTPCCalibCE.h.

AliTPCCalROC * AliTPCCalibCE::GetCalRoc ( Int_t  sector,
TObjArray arr,
Bool_t  force 
) const
private

return pointer to ROC Calibration if force is true create a new histogram if it doesn't exist allready

Definition at line 1529 of file AliTPCCalibCE.cxx.

Referenced by GetCalRocOutliers(), GetCalRocQ(), GetCalRocRMS(), GetCalRocT0(), and GetCalRocT0Err().

AliTPCCalROC * AliTPCCalibCE::GetCalRocOutliers ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to Outliers if force is true create a new histogram if it doesn't exist allready

Definition at line 1581 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

AliTPCCalROC * AliTPCCalibCE::GetCalRocQ ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to T0 ROC Calibration if force is true create a new histogram if it doesn't exist allready

Definition at line 1563 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

AliTPCCalROC * AliTPCCalibCE::GetCalRocRMS ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to signal width ROC Calibration if force is true create a new histogram if it doesn't exist allready

Definition at line 1572 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

AliTPCCalROC * AliTPCCalibCE::GetCalRocT0 ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to Time 0 ROC Calibration if force is true create a new histogram if it doesn't exist allready

Definition at line 1545 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

AliTPCCalROC * AliTPCCalibCE::GetCalRocT0Err ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to the error of Time 0 ROC Calibration if force is true create a new histogram if it doesn't exist allready

Definition at line 1554 of file AliTPCCalibCE.cxx.

Referenced by Analyse().

const TVectorD* AliTPCCalibCE::GetEventIds ( ) const
inline

Definition at line 87 of file AliTPCCalibCE.h.

const TVectorD* AliTPCCalibCE::GetEventTimes ( ) const
inline

Definition at line 86 of file AliTPCCalibCE.h.

TH2S * AliTPCCalibCE::GetHisto ( Int_t  sector,
TObjArray arr,
Int_t  nbinsY,
Float_t  ymin,
Float_t  ymax,
const Char_t *  type,
Bool_t  force 
)
private

return pointer to TH2S histogram of 'type' if force is true create a new histogram if it doesn't exist allready

Definition at line 1385 of file AliTPCCalibCE.cxx.

Referenced by GetHistoQ(), GetHistoRMS(), GetHistoT0(), and GetHistoTmean().

TH1S * AliTPCCalibCE::GetHisto ( Int_t  sector,
TObjArray arr,
const Char_t *  type,
Bool_t  force 
)
private

return pointer to TH1S histogram if force is true create a new histogram if it doesn't exist allready

Definition at line 1432 of file AliTPCCalibCE.cxx.

TH2S * AliTPCCalibCE::GetHistoQ ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to Q histogram if force is true create a new histogram if it doesn't exist allready

Definition at line 1414 of file AliTPCCalibCE.cxx.

Referenced by Analyse(), GetCalPadOutliers(), Merge(), and ProcessPad().

TH2S * AliTPCCalibCE::GetHistoRMS ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to Q histogram if force is true create a new histogram if it doesn't exist allready

Definition at line 1423 of file AliTPCCalibCE.cxx.

Referenced by Analyse(), GetCalPadOutliers(), Merge(), and ProcessPad().

TH2S * AliTPCCalibCE::GetHistoT0 ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to T0 histogram if force is true create a new histogram if it doesn't exist allready

Definition at line 1405 of file AliTPCCalibCE.cxx.

Referenced by Analyse(), EndEvent(), GetCalPadOutliers(), and Merge().

TH1S * AliTPCCalibCE::GetHistoTmean ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to Q histogram if force is true create a new histogram if it doesn't exist allready

Definition at line 1450 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), FindLocalMaxima(), and GetNnoiseThresholdSum().

const THnSparseI* AliTPCCalibCE::GetHnDrift ( ) const
inline

Definition at line 133 of file AliTPCCalibCE.h.

Bool_t AliTPCCalibCE::GetIsZeroSuppressed ( ) const
inline

Definition at line 111 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetMeanQrms ( ) const
inline

Definition at line 65 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetMeanRMSrms ( ) const
inline

Definition at line 66 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetMeanT0rms ( ) const
inline

Definition at line 64 of file AliTPCCalibCE.h.

Int_t AliTPCCalibCE::GetNeventsProcessed ( ) const
inline

Definition at line 109 of file AliTPCCalibCE.h.

Referenced by main(), and Merge().

Float_t AliTPCCalibCE::GetNnoiseThresholdMax ( ) const
inline

Definition at line 72 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetNnoiseThresholdSum ( ) const
inline

Definition at line 73 of file AliTPCCalibCE.h.

TVectorF * AliTPCCalibCE::GetPadPedestalEvent ( Int_t  sector,
Bool_t  force = kFALSE 
)
private

return pointer to Pad RMS Array for the current event and sector if force is true create it if it doesn't exist allready for debugging purposes only

Definition at line 1501 of file AliTPCCalibCE.cxx.

Referenced by ProcessPad().

TVectorF * AliTPCCalibCE::GetPadQEvent ( Int_t  sector,
Bool_t  force = kFALSE 
)
private

return pointer to Pad Q Array for the current event and sector if force is true create it if it doesn't exist allready for debugging purposes only

Definition at line 1481 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), and ProcessPad().

TVectorF * AliTPCCalibCE::GetPadRMSEvent ( Int_t  sector,
Bool_t  force = kFALSE 
)
private

return pointer to Pad RMS Array for the current event and sector if force is true create it if it doesn't exist allready for debugging purposes only

Definition at line 1491 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), and ProcessPad().

TVectorF * AliTPCCalibCE::GetPadTimesEvent ( Int_t  sector,
Bool_t  force = kFALSE 
)
private

return pointer to Pad Times Array for the current event and sector if force is true create it if it doesn't exist allready

Definition at line 1472 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), and ProcessPad().

TObjArray * AliTPCCalibCE::GetParamArray ( Int_t  sector,
TObjArray arr,
Bool_t  force = kFALSE 
) const
private

return pointer to TObjArray of fit parameters if force is true create a new histogram if it doesn't exist allready

Definition at line 1590 of file AliTPCCalibCE.cxx.

Referenced by GetParamArrayPol1(), and GetParamArrayPol2().

TObjArray * AliTPCCalibCE::GetParamArrayPol1 ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to TObjArray of fit parameters from plane fit if force is true create a new histogram if it doesn't exist allready

Definition at line 1606 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), GetNnoiseThresholdSum(), and Merge().

TObjArray * AliTPCCalibCE::GetParamArrayPol2 ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to TObjArray of fit parameters from parabola fit if force is true create a new histogram if it doesn't exist allready

Definition at line 1615 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), GetNnoiseThresholdSum(), and Merge().

Int_t AliTPCCalibCE::GetPeakDetectionMinus ( ) const
inline

Definition at line 68 of file AliTPCCalibCE.h.

Int_t AliTPCCalibCE::GetPeakDetectionPlus ( ) const
inline

Definition at line 69 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetPeakIntegralMinus ( ) const
inline

Definition at line 116 of file AliTPCCalibCE.h.

Float_t AliTPCCalibCE::GetPeakIntegralPlus ( ) const
inline

Definition at line 117 of file AliTPCCalibCE.h.

Int_t AliTPCCalibCE::GetPeakIntRangeMinus ( ) const
inline

Definition at line 70 of file AliTPCCalibCE.h.

Int_t AliTPCCalibCE::GetPeakIntRangePlus ( ) const
inline

Definition at line 71 of file AliTPCCalibCE.h.

TVectorF * AliTPCCalibCE::GetQMeanEvents ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to the EbyE info of the mean arrival time for 'sector' if force is true create it if it doesn't exist allready

Definition at line 1520 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), GetNnoiseThresholdSum(), MakeGraphTimeCE(), and Merge().

Float_t AliTPCCalibCE::GetSecRejectRatio ( ) const
inline

Definition at line 113 of file AliTPCCalibCE.h.

const TVectorF* AliTPCCalibCE::GetTime0Side ( Int_t  side = 0) const
inline

Definition at line 115 of file AliTPCCalibCE.h.

const TVectorD& AliTPCCalibCE::GetTimeBursts ( ) const
inline

Definition at line 135 of file AliTPCCalibCE.h.

TVectorF * AliTPCCalibCE::GetTMeanEvents ( Int_t  sector,
Bool_t  force = kFALSE 
)

return pointer to the EbyE info of the mean arrival time for 'sector' if force is true create it if it doesn't exist allready

Definition at line 1511 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), GetNnoiseThresholdSum(), MakeGraphTimeCE(), Merge(), and UpdateCETimeRef().

TVectorF * AliTPCCalibCE::GetVectSector ( Int_t  sector,
TObjArray arr,
UInt_t  size,
Bool_t  force = kFALSE 
) const
private

return pointer to Pad Info from 'arr' for the current event and sector if force is true create it if it doesn't exist allready

Definition at line 1459 of file AliTPCCalibCE.cxx.

Referenced by GetPadPedestalEvent(), GetPadQEvent(), GetPadRMSEvent(), GetPadTimesEvent(), GetQMeanEvents(), and GetTMeanEvents().

Bool_t AliTPCCalibCE::IsEdgePad ( Int_t  sector,
Int_t  row,
Int_t  pad 
) const

return true if pad is on the edge of a row

Definition at line 2464 of file AliTPCCalibCE.cxx.

Referenced by FindLocalMaxima(), and GetPeakIntegralPlus().

Bool_t AliTPCCalibCE::IsPeak ( Int_t  pos,
Int_t  tminus,
Int_t  tplus 
) const
private

Check if 'pos' is a Maximum. Consider 'tminus' timebins before and 'tplus' timebins after 'pos'

Definition at line 1057 of file AliTPCCalibCE.cxx.

Referenced by FindLocalMaxima().

Bool_t AliTPCCalibCE::IsPeakInRange ( UShort_t  timebin,
Int_t  roc 
) const
inlineprivate

Check whether timebin is in the range of a laser layer

Definition at line 292 of file AliTPCCalibCE.h.

Referenced by ProcessBunch().

TGraph * AliTPCCalibCE::MakeGraphTimeCE ( Int_t  sector,
Int_t  xVariable = 0,
Int_t  fitType = 0,
Int_t  fitParameter = 0 
)

Make graph from fit parameters of pol1 fit, pol2 fit, mean arrival time or mean Q for ROC 'sector' or side (-1: A-Side, -2: C-Side) xVariable: 0-event time, 1-event id, 2-internal event counter fitType: 0-pol1 fit, 1-pol2 fit, 2-mean time, 3-mean Q fitParameter: fit parameter ( 0-2 for pol1 ([0]+[1]*x+[2]*y), 0-5 for pol2 ([0]+[1]*x+[2]*y+[3]*x*x+[4]*y*y+[5]*x*y), not used for mean time and mean Q ) for an example see class description at the beginning

Definition at line 1844 of file AliTPCCalibCE.cxx.

Referenced by GetPeakIntegralPlus(), and SendToAmoreDB().

void AliTPCCalibCE::Merge ( AliTPCCalibCE *const  ce)

Merge ce to the current AliTPCCalibCE

Definition at line 1685 of file AliTPCCalibCE.cxx.

Referenced by GetPeakIntegralPlus(), and Merge().

Long64_t AliTPCCalibCE::Merge ( TCollection *const  list)
virtual

Merge all objects of this type in list

Reimplemented from AliTPCCalibRawBase.

Definition at line 1822 of file AliTPCCalibCE.cxx.

AliTPCCalibCE & AliTPCCalibCE::operator= ( const AliTPCCalibCE source)

assignment operator

Definition at line 678 of file AliTPCCalibCE.cxx.

void AliTPCCalibCE::ProcessBunch ( const Int_t  sector,
const Int_t  row,
const Int_t  pad,
const Int_t  length,
const UInt_t  startTimeBin,
const UShort_t *  signal 
)
virtual

new filling method to fill the THnSparse histogram

Reimplemented from AliTPCCalibRawBase.

Definition at line 770 of file AliTPCCalibCE.cxx.

void AliTPCCalibCE::ProcessPad ( )
private

Process data of current pad

Definition at line 1092 of file AliTPCCalibCE.cxx.

Referenced by EndEvent(), and Update().

AliTPCCalibCE * AliTPCCalibCE::ReadFromFile ( const Char_t *  filename)
static

Read object from file Handle properly if the histogram arrays were stored separately call Analyse to make sure to have the calibration relevant information in the object

Definition at line 3078 of file AliTPCCalibCE.cxx.

Referenced by AliTPCPreprocessor::ExtractCE(), and GetArrFitGraphs().

void AliTPCCalibCE::ResetEvent ( )
protectedvirtual

Reset global counters – Should be called before each event is processed

Reimplemented from AliTPCCalibRawBase.

Definition at line 1649 of file AliTPCCalibCE.cxx.

Referenced by GetArrFitGraphs().

void AliTPCCalibCE::ResetMeasured ( TObjArray *const  arr)
private

reset array of measured laser tracks and CE

Definition at line 2522 of file AliTPCCalibCE.cxx.

Referenced by AnalyseTrack().

void AliTPCCalibCE::ResetPad ( )
private

Reset pad infos – Should be called after a pad has been processed

Definition at line 1673 of file AliTPCCalibCE.cxx.

Referenced by ProcessPad(), and ResetEvent().

Double_t AliTPCCalibCE::SetBurstHnDrift ( )
private

Create a new THnSparse for the current burst return the time of the current burst

Definition at line 2923 of file AliTPCCalibCE.cxx.

Referenced by ProcessBunch().

void AliTPCCalibCE::SetEventInfo ( UInt_t  runNumber,
UInt_t  timestamp,
UInt_t  eventId 
)
inline

Definition at line 99 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetIsZeroSuppressed ( Bool_t  zs = kTRUE)
inline

Definition at line 102 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetNnoiseThresholdMax ( Float_t  n)
inline

Definition at line 96 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetNnoiseThresholdSum ( Float_t  n)
inline

Definition at line 97 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetPedestalDatabase ( AliTPCCalPad *const  pedestalTPC,
AliTPCCalPad *const  padNoiseTPC 
)
inline

Definition at line 101 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetProcessNew ( Bool_t  process = kTRUE)
inline

Definition at line 106 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetProcessOld ( Bool_t  process = kTRUE)
inline

Definition at line 105 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetRangePeakDetection ( Int_t  minus,
Int_t  plus 
)
inline

Definition at line 94 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetRangePeakIntegral ( Int_t  minus,
Int_t  plus 
)
inline

Definition at line 95 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetRangeRefQ ( Int_t  nBins,
Float_t  xMin,
Float_t  xMax 
)
inline

Definition at line 90 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetRangeRefRMS ( Int_t  nBins,
Float_t  xMin,
Float_t  xMax 
)
inline

Definition at line 92 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetRangeRefT0 ( Int_t  nBins,
Float_t  xMin,
Float_t  xMax 
)
inline

Definition at line 91 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetROCblackData ( Int_t  rocblackDataDown = -1,
Int_t  rocblackDataUp = -1 
)
inline

Definition at line 107 of file AliTPCCalibCE.h.

void AliTPCCalibCE::SetSecRejectRatio ( Float_t  ratio)
inline

Definition at line 103 of file AliTPCCalibCE.h.

TObjArray * AliTPCCalibCE::SetupMeasured ( )
private

setup array of measured laser tracks and CE

Definition at line 2477 of file AliTPCCalibCE.cxx.

Referenced by AnalyseTrack().

Int_t AliTPCCalibCE::Update ( const Int_t  isector,
const Int_t  iRow,
const Int_t  iPad,
const Int_t  iTimeBin,
const Float_t  signal 
)
virtual

Signal filling methode on the fly pedestal and Time offset correction if necessary. no extra analysis necessary. Assumes knowledge of the signal shape! assumes that it is looped over consecutive time bins of one pad

Reimplemented from AliTPCCalibRawBase.

Definition at line 723 of file AliTPCCalibCE.cxx.

void AliTPCCalibCE::UpdateCETimeRef ( )
private

Find the time reference of the last valid CE signal in sector for irocs of the A-Side the reference of the corresponging OROC is returned the reason are the non reflective bands on the A-Side, which make the reference very uncertain

Definition at line 970 of file AliTPCCalibCE.cxx.

Referenced by ProcessPad().

Member Data Documentation

Bool_t AliTPCCalibCE::fAnalyseNew
private

! Whether to analyse the new part of the algorithm.

Definition at line 231 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), and Analyse().

TObjArray* AliTPCCalibCE::fArrFitGraphs
private

Fit resut graphs for each parameter.

Definition at line 240 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), CalculateDV(), DumpToFile(), GetArrFitGraphs(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fArrHnDrift
private

array of sparse histograms for each burst

Definition at line 235 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), AnalyseTrack(), DumpToFile(), GetArrHnDrift(), Merge(), ReadFromFile(), SetBurstHnDrift(), and ~AliTPCCalibCE().

UInt_t AliTPCCalibCE::fBinsLastAna[100]
private

number of bin in the THnSparse during the last analysis

Definition at line 237 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), and AnalyseTrack().

TObjArray AliTPCCalibCE::fCalRocArrayOutliers
private

Array of AliTPCCalROC class for signal outliers.

Definition at line 184 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetCalPadOutliers(), GetCalRocOutliers(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fCalRocArrayQ
private

Array of AliTPCCalROC class for Charge calibration.

Definition at line 182 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetCalPadQ(), GetCalRocQ(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fCalRocArrayRMS
private

Array of AliTPCCalROC class for signal width calibration.

Definition at line 183 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetCalPadRMS(), GetCalRocRMS(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fCalRocArrayT0
private

Array of AliTPCCalROC class for Time0 calibration.

Definition at line 180 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetCalPadT0(), GetCalRocT0(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fCalRocArrayT0Err
private

Array of AliTPCCalROC class for the error (rms) of Time0 calibration.

Definition at line 181 of file AliTPCCalibCE.h.

Referenced by DumpToFile(), GetCalPadT0Err(), GetCalRocT0Err(), and ~AliTPCCalibCE().

Float_t AliTPCCalibCE::fCurrentCETimeRef
private

! Time refernce of the current sector

Definition at line 226 of file AliTPCCalibCE.h.

Referenced by FindCESignal(), ProcessPad(), and UpdateCETimeRef().

Int_t AliTPCCalibCE::fCurrentChannel
private

! current channel processed

Definition at line 212 of file AliTPCCalibCE.h.

Referenced by FindPedestal(), ProcessPad(), ResetEvent(), and Update().

Int_t AliTPCCalibCE::fCurrentRow
private

! current row processed

Definition at line 214 of file AliTPCCalibCE.h.

Referenced by FindCESignal(), ResetEvent(), and Update().

Int_t AliTPCCalibCE::fCurrentSector
private

! current sector processed

Definition at line 213 of file AliTPCCalibCE.h.

Referenced by FindCESignal(), FindLocalMaxima(), FindPedestal(), ProcessPad(), ResetEvent(), Update(), and UpdateCETimeRef().

Double_t AliTPCCalibCE::fEventId
private

! Event Id of the current event

Definition at line 204 of file AliTPCCalibCE.h.

Referenced by EndEvent(), and SetEventInfo().

UInt_t AliTPCCalibCE::fEventInBunch
private

! event in current bunch

Definition at line 241 of file AliTPCCalibCE.h.

Referenced by EndEvent(), ProcessBunch(), and SetBurstHnDrift().

TObjArray AliTPCCalibCE::fHistoQArray
private

Calibration histograms for Charge distribution.

Definition at line 186 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetHistoQ(), Merge(), ReadFromFile(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fHistoRMSArray
private

Calibration histograms for signal width distribution.

Definition at line 188 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetHistoRMS(), Merge(), ReadFromFile(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fHistoT0Array
private

Calibration histograms for Time0 distribution.

Definition at line 187 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetHistoT0(), Merge(), ReadFromFile(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fHistoTmean
private

! Calibration histograms of the mean CE position for all sectors

Definition at line 194 of file AliTPCCalibCE.h.

Referenced by GetHistoTmean(), and ~AliTPCCalibCE().

THnSparseI* AliTPCCalibCE::fHnDrift
private

! Histogram digits for each pad and timebin for several timestamps

Definition at line 234 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), AnalyseTrack(), CreateDVhist(), FindLaserLayers(), FindLocalMaxima(), GetHnDrift(), ProcessBunch(), SetBurstHnDrift(), and SetProcessNew().

Bool_t AliTPCCalibCE::fIsZeroSuppressed
private

If data is Zero Suppressed -> Don't subtrakt pedestals!

Definition at line 166 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindPedestal(), GetIsZeroSuppressed(), and SetIsZeroSuppressed().

Int_t AliTPCCalibCE::fLastSector
private

! Last sector processed

Definition at line 168 of file AliTPCCalibCE.h.

Referenced by FindPedestal(), ResetEvent(), Update(), and UpdateCETimeRef().

Float_t AliTPCCalibCE::fMaxPadSignal
private

! maximum bin of current pad

Definition at line 215 of file AliTPCCalibCE.h.

Referenced by ResetPad(), and Update().

Int_t AliTPCCalibCE::fMaxTimeBin
private

! time bin with maximum value

Definition at line 216 of file AliTPCCalibCE.h.

Referenced by EndEvent(), ResetPad(), and Update().

Float_t AliTPCCalibCE::fMeanQrms
private

mean of the rms of all pad Q fits, used as error estimation of Q results

Definition at line 191 of file AliTPCCalibCE.h.

Referenced by Analyse(), and GetMeanQrms().

Float_t AliTPCCalibCE::fMeanRMSrms
private

mean of the rms of all pad TMS fits, used as error estimation of RMS results

Definition at line 192 of file AliTPCCalibCE.h.

Referenced by Analyse(), and GetMeanRMSrms().

Float_t AliTPCCalibCE::fMeanT0rms
private

mean of the rms of all pad T0 fits, used as error estimation of T0 results

Definition at line 190 of file AliTPCCalibCE.h.

Referenced by Analyse(), and GetMeanT0rms().

Int_t AliTPCCalibCE::fNbinsQ
private

Number of bins for T0 reference histogram.

Definition at line 151 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoQ(), and SetRangeRefQ().

Int_t AliTPCCalibCE::fNbinsRMS
private

Number of bins for T0 reference histogram.

Definition at line 154 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoRMS(), and SetRangeRefRMS().

Int_t AliTPCCalibCE::fNbinsT0
private

Number of bins for T0 reference histogram.

Definition at line 148 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoT0(), and SetRangeRefT0().

Float_t AliTPCCalibCE::fNoiseThresholdMax
private

Analysis Treshold for signal finding: Max>fNoiseThresholdMax*PadNoise.

Definition at line 161 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindLocalMaxima(), GetNnoiseThresholdMax(), and SetNnoiseThresholdMax().

Float_t AliTPCCalibCE::fNoiseThresholdSum
private

Analysis Treshold for signal finding: Sum>fNoiseThresholdSum*PadNoise.

Definition at line 162 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindCESignal(), GetNnoiseThresholdSum(), and SetNnoiseThresholdSum().

UInt_t AliTPCCalibCE::fOldRunNumber
private

! Old Run Number

Definition at line 205 of file AliTPCCalibCE.h.

Referenced by EndEvent(), and ProcessPad().

Float_t AliTPCCalibCE::fPadNoise
private

! Noise Value of current pad

Definition at line 219 of file AliTPCCalibCE.h.

Referenced by FindCESignal(), FindLocalMaxima(), FindPedestal(), and ResetPad().

AliTPCCalROC* AliTPCCalibCE::fPadNoiseROC
private

! Pad noise Information for current ROC

Definition at line 178 of file AliTPCCalibCE.h.

Referenced by FindPedestal().

AliTPCCalPad* AliTPCCalibCE::fPadNoiseTPC
private

! Pad noise Information whole TPC

Definition at line 176 of file AliTPCCalibCE.h.

Referenced by FindPedestal(), and SetPedestalDatabase().

Float_t AliTPCCalibCE::fPadPedestal
private

! Pedestal Value of current pad

Definition at line 218 of file AliTPCCalibCE.h.

Referenced by FindCESignal(), FindLocalMaxima(), FindPedestal(), ProcessPad(), and ResetPad().

TObjArray AliTPCCalibCE::fPadPedestalArrayEvent
private

! Signal width for the event, only needed for debugging streamer

Definition at line 210 of file AliTPCCalibCE.h.

Referenced by GetPadPedestalEvent(), ResetEvent(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fPadQArrayEvent
private

! Charge for the event, only needed for debugging streamer

Definition at line 208 of file AliTPCCalibCE.h.

Referenced by GetPadQEvent(), ResetEvent(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fPadRMSArrayEvent
private

! Signal width for the event, only needed for debugging streamer

Definition at line 209 of file AliTPCCalibCE.h.

Referenced by GetPadRMSEvent(), ResetEvent(), and ~AliTPCCalibCE().

Float_t AliTPCCalibCE::fPadSignal[1024]
private

! signal of current Pad

Definition at line 217 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindCESignal(), FindLocalMaxima(), FindPedestal(), IsPeak(), ResetPad(), and Update().

TObjArray AliTPCCalibCE::fPadTimesArrayEvent
private

! Pad Times for the event, before mean Time0 corrections

Definition at line 207 of file AliTPCCalibCE.h.

Referenced by GetPadTimesEvent(), ResetEvent(), and ~AliTPCCalibCE().

AliTPCParam* AliTPCCalibCE::fParam
private

! TPC information

Definition at line 173 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), CalculateDV(), FindCESignal(), and FindLocalMaxima().

TObjArray AliTPCCalibCE::fParamArrayEventPol1
private

Store mean arrival time parameters for each sector event by event from global plane fit.

Definition at line 196 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetParamArrayPol1(), MakeGraphTimeCE(), and ~AliTPCCalibCE().

TObjArray AliTPCCalibCE::fParamArrayEventPol2
private

Store mean arrival time parameters for each sector event by event from global parabola fit.

Definition at line 197 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), DumpToFile(), GetParamArrayPol2(), MakeGraphTimeCE(), and ~AliTPCCalibCE().

Int_t AliTPCCalibCE::fPeakDetMinus
private

Consecutive timebins on rising edge to be regarded as a signal.

Definition at line 157 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindLocalMaxima(), GetPeakDetectionMinus(), and SetRangePeakDetection().

Int_t AliTPCCalibCE::fPeakDetPlus
private

Consecutive timebins on falling edge to be regarded as a signal.

Definition at line 158 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindLocalMaxima(), GetPeakDetectionPlus(), and SetRangePeakDetection().

Int_t AliTPCCalibCE::fPeakIntMinus
private

Peak integral range for COG determination. Bins used before max bin.

Definition at line 159 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindCESignal(), GetPeakIntegralMinus(), GetPeakIntRangeMinus(), and SetRangePeakIntegral().

Int_t AliTPCCalibCE::fPeakIntPlus
private

Peak integral range for COG determination. Bins used after max bin.

Definition at line 160 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindCESignal(), GetPeakIntegralPlus(), GetPeakIntRangePlus(), and SetRangePeakIntegral().

UShort_t AliTPCCalibCE::fPeaks[14]
private

! Peak position: 4 laser layers and CE

Definition at line 238 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindLaserLayers(), FindLocalMaxima(), IsPeakInRange(), ProcessBunch(), and SetBurstHnDrift().

UShort_t AliTPCCalibCE::fPeakWidths[14]
private

! Peak window widths

Definition at line 239 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), FindLaserLayers(), FindLocalMaxima(), IsPeakInRange(), ProcessBunch(), and SetBurstHnDrift().

AliTPCCalROC* AliTPCCalibCE::fPedestalROC
private

! Pedestal Information for current ROC

Definition at line 177 of file AliTPCCalibCE.h.

Referenced by FindPedestal().

AliTPCCalPad* AliTPCCalibCE::fPedestalTPC
private

! Pedestal Information whole TPC

Definition at line 175 of file AliTPCCalibCE.h.

Referenced by FindPedestal(), and SetPedestalDatabase().

Bool_t AliTPCCalibCE::fProcessNew
private

Whether to use the new algorithm.

Definition at line 230 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), DumpToFile(), EndEvent(), Merge(), ProcessBunch(), and SetProcessNew().

Bool_t AliTPCCalibCE::fProcessOld
private

Whether to use the old algorithm.

Definition at line 229 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), EndEvent(), Merge(), SetProcessOld(), and Update().

TObjArray AliTPCCalibCE::fQMeanArrayEvent
private

Store mean arrival Charge for each sector event by event.

Definition at line 199 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), GetQMeanEvents(), and ~AliTPCCalibCE().

Int_t AliTPCCalibCE::fROCblackDataDown
private

Lower edge of ROC rabge to be processed in case of black event. if -1; online drif velocity algorithm.

Definition at line 164 of file AliTPCCalibCE.h.

Referenced by ProcessBunch(), and SetROCblackData().

Int_t AliTPCCalibCE::fROCblackDataUp
private

Upper edge of ROC range to be processed in case of black event. if -1; online drif velocity algorithm.

Definition at line 163 of file AliTPCCalibCE.h.

Referenced by ProcessBunch(), and SetROCblackData().

Float_t AliTPCCalibCE::fSecRejectRatio
private

! Needed percentage of signals in one chamber. Below it will be rejected

Definition at line 170 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), EndEvent(), GetSecRejectRatio(), and SetSecRejectRatio().

TVectorD AliTPCCalibCE::fTimeBursts
private

time stamps of bursts

Definition at line 236 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), AnalyseTrack(), CalculateDV(), DumpToFile(), GetTimeBursts(), and SetBurstHnDrift().

TObjArray AliTPCCalibCE::fTMeanArrayEvent
private

Store mean arrival time for each sector event by event.

Definition at line 198 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), GetTMeanEvents(), and ~AliTPCCalibCE().

TVectorD AliTPCCalibCE::fVEventNumber
private

Eventnumbers of the events.

Definition at line 201 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), EndEvent(), GetEventIds(), MakeGraphTimeCE(), and Merge().

TVectorD AliTPCCalibCE::fVEventTime
private

Timestamps of the events.

Definition at line 200 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), EndEvent(), GetEventTimes(), MakeGraphTimeCE(), and Merge().

TVectorD AliTPCCalibCE::fVMeanQ
private

! Mean Q for each sector;

Definition at line 223 of file AliTPCCalibCE.h.

Referenced by EndEvent(), FindCESignal(), and ResetEvent().

TVectorD AliTPCCalibCE::fVMeanQCounter
private

! Mean Q counter for each sector;

Definition at line 224 of file AliTPCCalibCE.h.

Referenced by EndEvent(), FindCESignal(), and ResetEvent().

TVectorD AliTPCCalibCE::fVTime0Offset
private

! Time0 Offset for each sector;

Definition at line 221 of file AliTPCCalibCE.h.

Referenced by EndEvent(), FindCESignal(), and ResetEvent().

TVectorD AliTPCCalibCE::fVTime0OffsetCounter
private

! Time0 Offset counter for each sector;

Definition at line 222 of file AliTPCCalibCE.h.

Referenced by EndEvent(), FindCESignal(), and ResetEvent().

TVectorF AliTPCCalibCE::fVTime0SideA
private

Mean Time0 for side A for all events.

Definition at line 202 of file AliTPCCalibCE.h.

Referenced by Analyse(), EndEvent(), GetTime0Side(), MakeGraphTimeCE(), and Merge().

TVectorF AliTPCCalibCE::fVTime0SideC
private

Mean Time0 for side C for all events.

Definition at line 203 of file AliTPCCalibCE.h.

Referenced by Analyse(), EndEvent(), GetTime0Side(), MakeGraphTimeCE(), and Merge().

Float_t AliTPCCalibCE::fXmaxQ
private

xmax of T0 reference histogram

Definition at line 153 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoQ(), and SetRangeRefQ().

Float_t AliTPCCalibCE::fXmaxRMS
private

xmax of T0 reference histogram

Definition at line 156 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoRMS(), and SetRangeRefRMS().

Float_t AliTPCCalibCE::fXmaxT0
private

xmax of T0 reference histogram

Definition at line 150 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoT0(), and SetRangeRefT0().

Float_t AliTPCCalibCE::fXminQ
private

xmin of T0 reference histogram

Definition at line 152 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoQ(), and SetRangeRefQ().

Float_t AliTPCCalibCE::fXminRMS
private

xmin of T0 reference histogram

Definition at line 155 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoRMS(), and SetRangeRefRMS().

Float_t AliTPCCalibCE::fXminT0
private

xmin of T0 reference histogram

Definition at line 149 of file AliTPCCalibCE.h.

Referenced by AliTPCCalibCE(), Analyse(), GetHistoT0(), and SetRangeRefT0().


The documentation for this class was generated from the following files: