]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPreprocessorSPD.cxx
New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / ITS / AliITSPreprocessorSPD.cxx
index 738b4048c4b3cba2f35e56b9580c5aeac52a1e60..9a4b8ea53f3bb13b2197d9f30729a2a8eaeae8a0 100644 (file)
 
 /*
 $Log$
+Revision 1.3  2006/04/12 08:32:31  hristov
+New SPD simulation (Massimo):
+- speeding up of the diffusion code (Bjorn)
+- creation  of CDB file with the dead channels, implementation
+of the CDB reading, check of  the code (Henrik, Giuseppe, Domenico)
+- final tuning of the diffusion model parameters (Romualdo)
+
 Revision 1.2  2006/02/03 11:31:18  masera
 Calibration framework improved (E. Crescio)
 
@@ -47,26 +54,28 @@ Preprocessor classes for SPD (Paul Nilsson)
 #include "AliCDBEntry.h"
 #include "AliITSCalibrationSPD.h" 
 ClassImp(AliITSPreprocessorSPD)
-
-
 //__________________________________________________________________________
 AliITSPreprocessorSPD::AliITSPreprocessorSPD(void):
-  fITSLoader(0x0),
-  fRunLoader(0x0),
-  fThresholdRatio(5.),
-  fThreshold(5),
-  fMaximumNumberOfEvents(1000000),
-  fHighestModuleNumber(0),
-  fSelectedAlgorithm(kOptimizedForRealData),
-  fGeometryMode(kALICEGeometry),
-  fNumberOfBadChannels(0),
-  fInit(kFALSE),
-  fVMEMode(kFALSE),
-  fDigitsHistogram(0),
-  fBadChannelsObjArray(0),
-  fBadChannelsIntArray(0),
-  fBadChannelsIndexArray(0),
-  fBadChannelsContainer(0)
+fITSLoader(0x0),
+fRunLoader(0x0),
+fThresholdRatio(5.),
+fThreshold(5),
+fMaximumNumberOfEvents(1000000),
+fNumberOfModules(0),
+fHighestModuleNumber(0),
+fNumberOfColumns(0),
+fNumberOfRows(0),
+fSelectedAlgorithm(kOptimizedForRealData),
+fGeometryMode(kALICEGeometry),
+fNumberOfBadChannels(0),
+  fIndex(0),
+fInit(kFALSE),
+fVMEMode(kFALSE),
+fDigitsHistogram(0),
+fBadChannelsObjArray(0),
+fBadChannelsIntArray(0),
+fBadChannelsIndexArray(0),
+fBadChannelsContainer(0)
 {
   // Default constructor for the SPD preprocessor
   //
@@ -83,7 +92,24 @@ AliITSPreprocessorSPD::AliITSPreprocessorSPD(const char *fileName, const char *m
                                             const char *fileNameg, const Int_t maxNumberOfEvents):
   fITSLoader(0x0),
   fRunLoader(0x0),
-  fInit(kFALSE)
+  fThresholdRatio(0),
+  fThreshold(0),
+  fMaximumNumberOfEvents(1000000),
+  fNumberOfModules(0),
+  fHighestModuleNumber(0),
+  fNumberOfColumns(0),
+  fNumberOfRows(0),
+  fSelectedAlgorithm(kOptimizedForRealData),
+  fGeometryMode(kALICEGeometry),
+  fNumberOfBadChannels(0),
+  fIndex(0),
+  fInit(kFALSE),
+  fVMEMode(kFALSE),
+  fDigitsHistogram(0),
+  fBadChannelsObjArray(0),
+  fBadChannelsIntArray(0),
+  fBadChannelsIndexArray(0),
+  fBadChannelsContainer(0)
 {
   // Standard constructor for the SPD preprocessor
   //
@@ -106,28 +132,33 @@ AliITSPreprocessorSPD::AliITSPreprocessorSPD(const char *fileName, const char *m
 
 //__________________________________________________________________________
 AliITSPreprocessorSPD::AliITSPreprocessorSPD(const AliITSPreprocessorSPD &prep) :
-  TTask(prep)
+TTask(prep),
+  fITSLoader(prep.fITSLoader),
+  fRunLoader(prep.fRunLoader),
+  fThresholdRatio(prep.fThresholdRatio),
+  fThreshold(prep.fThreshold),
+  fMaximumNumberOfEvents(prep.fMaximumNumberOfEvents),
+  fNumberOfModules(prep.fNumberOfModules),
+  fHighestModuleNumber(prep.fHighestModuleNumber),
+  fNumberOfColumns(prep.fNumberOfColumns),
+  fNumberOfRows(prep.fNumberOfRows),
+  fSelectedAlgorithm(prep.fSelectedAlgorithm),
+  fGeometryMode(prep.fGeometryMode),
+  fNumberOfBadChannels(prep.fNumberOfBadChannels),
+  fIndex(prep.fIndex),
+  fInit(prep.fInit),
+  fVMEMode(prep.fVMEMode),
+  fDigitsHistogram(prep.fDigitsHistogram),
+  fBadChannelsObjArray(prep.fBadChannelsObjArray),
+  fBadChannelsIntArray(prep.fBadChannelsIntArray),
+  fBadChannelsIndexArray(prep.fBadChannelsIndexArray),
+  fBadChannelsContainer(prep.fBadChannelsContainer)
 {
   // Default copy constructor
   // Notice that only pointer addresses are copied!
   // Memory allocations of new objects are not done.
 
-  fITSLoader = prep.fITSLoader;
-  fRunLoader = prep.fRunLoader;
-  fThresholdRatio = prep.fThresholdRatio;
-  fThreshold = prep.fThreshold;
-  fMaximumNumberOfEvents = prep.fMaximumNumberOfEvents;
-  fHighestModuleNumber = prep.fHighestModuleNumber;
-  fSelectedAlgorithm = prep.fSelectedAlgorithm;
-  fGeometryMode = prep.fGeometryMode;
-  fNumberOfBadChannels = prep.fNumberOfBadChannels;
-  fInit = prep.fInit;
-  fVMEMode = prep.fVMEMode;
-  fDigitsHistogram = prep.fDigitsHistogram;
-  fBadChannelsObjArray = prep.fBadChannelsObjArray;
-  fBadChannelsIntArray = prep.fBadChannelsIntArray;
-  fBadChannelsIndexArray = prep.fBadChannelsIndexArray;
-  fBadChannelsContainer = prep.fBadChannelsContainer;
+
 }