1 #ifndef ALIITSBADCHANNELSAUXSPD_H
2 #define ALIITSBADCHANNELSAUXSPD_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /////////////////////////////////////////////////////////
10 // AliITSBadChannelsAuxSPD declaration by P. Nilsson 2005
11 // AUTHOR/CONTACT: Paul.Nilsson@cern.ch
13 // Auxiliary algorithms for the SPD
14 /////////////////////////////////////////////////////////
17 #include <TObjArray.h>
19 #include "AliITSChannelSPD.h"
20 #include "AliITSdigitSPD.h"
22 class AliITSBadChannelsAuxSPD {
26 AliITSBadChannelsAuxSPD(void); // Default constructor
27 virtual ~AliITSBadChannelsAuxSPD(void) { }; // Default destructor
30 Bool_t Diff(TObjArray *&in1, TObjArray *&in2, TObjArray *&out1, TObjArray *&out2) const; // Diff algorithm
31 Bool_t Find(AliITSChannelSPD *&channel, TObjArray *&array) const; // Find a channel in the array
32 Bool_t Find(AliITSdigitSPD *&digit, TObjArray *&array) const; // Find a digit in the array
33 Int_t GetNumberOfBadChannels(Int_t* &array, Int_t* &indexArray, Int_t size) const; // Get the number of bad channels
36 AliITSdigitSPD* CreateDigitFromChannel(const AliITSChannelSPD *&channel) const; // Create a digit from a channel
37 AliITSChannelSPD* CreateChannelFromDigit(const AliITSdigitSPD *&digit) const; // Create a channel from a digit
40 Bool_t CreateHTMLReport(char *name, Int_t* &array, Int_t* &indexArray, // Create an HTML report
41 Int_t indexSize, TString *buffer, Bool_t tags);
45 ClassDef(AliITSBadChannelsAuxSPD,1)