diff --git a/core/detectors/mvd/SensorDataSheets/CbmMvdSensorDataSheet.h b/core/detectors/mvd/SensorDataSheets/CbmMvdSensorDataSheet.h index 595e44753bedc9b3a8aaa996d7cd2f6eb2d08dfd..b92e80d64b83888d7b53e0952dc5043d8777ee15 100644 --- a/core/detectors/mvd/SensorDataSheets/CbmMvdSensorDataSheet.h +++ b/core/detectors/mvd/SensorDataSheets/CbmMvdSensorDataSheet.h @@ -43,48 +43,48 @@ public: protected: /** Technical data of the sensor */ - TString fMimosaName = "DefaulSensor"; // Clear name of the simulated sensor - Double_t fPixelPitchX = 18.4e-4; // Pixel pitch of this sensor - Double_t fPixelPitchY = 18.4e-4; // Pixel pitch of this sensor - Int_t fNPixelsX = 0; // Number of pixels in row - Int_t fNPixelsY = 0; // Number of pixels in col - Int_t fNPixels = 0; // Number of pixels in sensor - Int_t fPixelSignX = 1; // Direction of the pixel count X. + TString fMimosaName = "DefaulSensor"; // Clear name of the simulated sensor + Double_t fPixelPitchX = 18.4e-4; // Pixel pitch of this sensor + Double_t fPixelPitchY = 18.4e-4; // Pixel pitch of this sensor + Int_t fNPixelsX = 0; // Number of pixels in row + Int_t fNPixelsY = 0; // Number of pixels in col + Int_t fNPixels = 0; // Number of pixels in sensor + Int_t fPixelSignX = 1; // Direction of the pixel count X. // Defined according to pixelNumberX=fPixelSign * const * x - Int_t fPixelSignY = 1; // Direction of the pixel count Y. + Int_t fPixelSignY = 1; // Direction of the pixel count Y. // Defined according to pixelNumberY=fPixelSign * const * y - Int_t fShutterSign = 0; // Direction of the rolling shutter. - // 1 => parallel to y-axis, -1 => anti-parallel - Double_t fIntegrationTime = 50e3; // Integration time of the pixels - Double_t fEpiTh = 14e-4; // Thickness of the epitaxial layer + Int_t fShutterSign = 0; // Direction of the rolling shutter. + // 1 => parallel to y-axis, -1 => anti-parallel + Double_t fIntegrationTime = 50e3; // Integration time of the pixels + Double_t fEpiTh = 14e-4; // Thickness of the epitaxial layer Double_t fChargeThreshold = 0.; - Double_t fSignalRiseTime = nan("NotSet"); - Double_t fSignalFallTime = nan("NotSet"); + Double_t fSignalRiseTime = nan("NotSet"); + Double_t fSignalFallTime = nan("NotSet"); /** Description of the sensor for the digitizer **/ - Double_t fNoise = 0.; // Noise of the sensor - Double_t fLandauMPV = 8.62131e+02; // Landau for digitizer - Double_t fLandauSigma = 2.e+02; // Landau for digitizer - Double_t fLandauGain = 1.56; // Landau for digitizer + Double_t fNoise = 0.; // Noise of the sensor + Double_t fLandauMPV = 8.62131e+02; // Landau for digitizer + Double_t fLandauSigma = 2.e+02; // Landau for digitizer + Double_t fLandauGain = 1.56; // Landau for digitizer Double_t fLorentzPar0 = 4.12073e+02; // Lorentz for digitizer - Double_t fLorentzPar1 = 0.8e+00; // Lorentz for digitizer - Double_t fLorentzPar2 = 0.1; // Lorentz for digitizer + Double_t fLorentzPar1 = 0.8e+00; // Lorentz for digitizer + Double_t fLorentzPar2 = 0.1; // Lorentz for digitizer /** ADC description, relevant for sensors with analog readout (not present in the CbmMvd) **/ - Int_t fAdcDynamic = 150; - Int_t fAdcOffset = 0; - Int_t fAdcBits = 1; - Int_t fAdcSteps = TMath::Power(2, fAdcBits); + Int_t fAdcDynamic = 150; + Int_t fAdcOffset = 0; + Int_t fAdcBits = 1; + Int_t fAdcSteps = TMath::Power(2, fAdcBits); Float_t fAdcStepSize = fAdcDynamic / fAdcSteps; /** Sensor substructure, relevant for MIMOSA-26 (Prototype of the CbmMvd) **/ - Int_t fStatesPerBank = 0; - Int_t fStatesPerLine = 0; + Int_t fStatesPerBank = 0; + Int_t fStatesPerLine = 0; Int_t fStatesPerFrame = 0; - Int_t fPixelsPerBank = 0; + Int_t fPixelsPerBank = 0; /** Threshold of the in-pixel discriminator. Relevant for MIMOSIS **/ Int_t fAnalogThreshold = -1; diff --git a/reco/detectors/mvd/plugins/tasks/CbmMvdSensorClusterfinderTask.cxx b/reco/detectors/mvd/plugins/tasks/CbmMvdSensorClusterfinderTask.cxx index 7eeee63fefb618d9232b578653a6fac1a1b04390..1416c5c95314cfd95b9ab745ce0081f97d64e3d4 100644 --- a/reco/detectors/mvd/plugins/tasks/CbmMvdSensorClusterfinderTask.cxx +++ b/reco/detectors/mvd/plugins/tasks/CbmMvdSensorClusterfinderTask.cxx @@ -126,11 +126,10 @@ void CbmMvdSensorClusterfinderTask::InitTask(CbmMvdSensor* mysensor) //} - //Add charge collection histograms fPixelChargeHistos = new TObjArray(); - size_t buf_size = 20; - char* histoName = new char[buf_size]; + size_t buf_size = 20; + char* histoName = new char[buf_size]; TH1F* histo; for (Int_t i = 0; i < 49; i++) { snprintf(histoName, buf_size - 1, "ChargePixel%i", i + 1); @@ -140,7 +139,7 @@ void CbmMvdSensorClusterfinderTask::InitTask(CbmMvdSensor* mysensor) delete[] histoName; fTotalChargeInNpixelsArray = new TObjArray(); - buf_size = 50; + buf_size = 50; char* histoTotalChargeName = new char[buf_size]; TH1F* histoTotalCharge; for (Int_t i = 0; i < 49; i++) { diff --git a/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx b/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx index f3c5838fccc46de3f463b7872814d47aeae6679b..ab8e62a8c7b429c8d92dcc60d7207eb857ca31b9 100644 --- a/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx +++ b/sim/detectors/mvd/plugins/tasks/CbmMvdSensorDigitizerTask.cxx @@ -533,7 +533,7 @@ Bool_t CbmMvdSensorDigitizerTask::GetSignalAboveThreshold(CbmMvdPixelCharge* myP * Checks if pixel is above threshold. **/ -// CbmMvdSensor* mySensor; // not used FU 12.05.23 + // CbmMvdSensor* mySensor; // not used FU 12.05.23 return (GetPixelCharge(myPixel, readoutTime) > fsensorDataSheet->GetAnalogThreshold());