Skip to content
Snippets Groups Projects
Commit 59b6cd65 authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Clang-format

parent 3f99b87e
No related branches found
No related tags found
1 merge request!1155Fix compilation warnings
Pipeline #22352 passed
......@@ -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;
......
......@@ -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++) {
......
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment