When pedcalc_mod.C finished a file called "FailedNoisePed.txt" will be created. This files gives information on what channels failed and how.
To examine the contents of this file, either more or emacs it.
The contents are arranged in the following way
FEC String Chip Channel
Ped Status CMN Failures Signal Failures Succeeded
(# events) (# events)
(# events)
1 3
1
64
1
0
601
0
........................
KEY:
Ped Status =1 calculated pedestal and RMS ok
= 0 failed to calculate pedestal and RMS
CMN Failures = Number of events that failed to calculate a CMN properly for this channel
Signal Failures = Number of events that failed to calculate the noise for this channel
Succeeded = Number of events that calculated a noise correctly.
root [0] .x pedcalc_mod_auto.C(1630,0)
ls :/mnt/data/0/PhoRaw001630s000.root: No such file or directory
ls :/mnt/data/1/PhoRaw001630s000.root: No such file or directory
ls :/mnt/data/2/PhoRaw001630s000.root: No such file or directory
/mnt/data/3/PhoRaw001630s000.root
GetDiskNumber: Found data file on disk 3
****************************************************************
Pre Ped Initialization
****************************************************************
Default initialization file name =./PedCalcModDefaults.dat
If you want to use the default file hit <RETURN> else enter new
(Yes = <RETURN> : No = any character)
n
Please enter full Defaults Filename
./PedCalcModDefaults.dat
Using ./PedCalcModDefaults.dat filename for Defaults
Description of constants used in evaluating Pre Pedestals
*MinPrePedEvents*
Min Number events used to calculate pre-pedestals
*MaxEventsFactor*
Stops trying to calculate pre ped after
MaxEventsFactorxMinPrePedEvents events
*MaxAllowFractionOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents events the fraction
of bad channels is greater than this
*MaxAllowNumOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents events the number
of bad channels is greater than this
*************************************************
***** Current Values *******
*************************************************
MinPrePedEvents = 250
MaxEventsFactor = 2
MaxAllowFractionOfBadChan = 0.010000
MaxAllowNumOfBadChan = 100
*************************************************
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
****************************************************************
Pedestal Initialization
****************************************************************
Default initialization file name =./PedCalcModDefaults.dat
If you want to use the default file hit <RETURN> else enter new
(Yes = <RETURN> : No = any character)
Using default filename, ./PedCalcModDefaults.dat
Description of constants used in evaluating Pedestals
*MinPedEvents*
Min Number events used to calculate pedestals
*MIPADCCut*
If (ADC-PrePed)<MIPADCCut channel considered empty
and used to evaluate pedestal
*MaxEventsFactor*
Stops trying to calculate ped after
MaxEventsFactorxMinPedEvents Events
*MaxAllowFractionOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the fraction
of bad channels is greater than this
*MaxAllowNumOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the number
of bad channels is greater than this
*************************************************
***** Current Values *******
*************************************************
MinPedEvents = 100
MIPADCCut = 10
MaxEventsFactor = 2
MaxAllowFractionOfBadChan = 0.010000
MaxAllowNumOfBadChan = 100
*************************************************
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
*************************************************************
Noise Initialization
*************************************************************
Default initialization file name =./PedCalcModDefaults.dat
If you want to use the default file hit <RETURN> else enter new
(Yes = <RETURN> : No = any character)
Using default filename, ./PedCalcModDefaults.dat
Description of constants used in evaluating Noises
*ThresholdCMN*
If |ADC-Ped|<ThresholdCMNxRMSPed channel considered
empty and used to evaluate CMN
*MinChannelsCMN*
Min. No. of empty channels per chip for CMN
estimate to be valid
*MinNoiseEvents*
Min Number events used to calculate noise width
*MaxEventsFactor*
Stops trying to calculate noise after
MaxEventsFactorxMinNoiseEvents Events
*MaxAllowFractionOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the fraction
of bad channels is greater than this
*MaxAllowNumOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the number
of bad channels is greater than this
*************************************************
***** Current Values *******
*************************************************
ThresholdCMN = 5
MinChannelsCMN = 10
MinNoiseEvents = 100
MaxEventsFactor = 2
MaxAllowFractionOfBadChan = 0.010000
MaxAllowNumOfBadChan = 100
*************************************************
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
RemoteRootFileDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/
DetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/geodet/
SensorDBDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/sensdb/
FECDetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/fecdet/
FECRawPropertiesDirectory: set to /disk20000/phobos/scratch/olszewsk/ped/
FECCalibrationDirectory: set to /disk20000/phobos/scratch/olszewsk/gain/
RemoteRootFileDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/
DetectorDirectory: set to /home/nigel/Phat/init/
DetectorFileName: set to Detector_PMC.root
DetectorKeyName: set to LatestGeometry
SensorDBDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/sensdb/
FECDetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/fecdet/
FECRawPropertiesDirectory: set to /disk20000/phobos/scratch/olszewsk/ped/
FECCalibrationDirectory: set to /disk20000/phobos/scratch/olszewsk/gain/
GetDetectorFromFile: Detector LatestGeometry found in
/home/nigel/Phat/init/Detector_PMC.root
InitOracleDB: OracleDB phdb authenticated
GetSensorMapDBFromOracle: SensorDB ver. 4.800000 found
GetFECDetectorFromMapDB: FECDetector ver. 4.800000 created out of SensorDB map
Warning in <TPhFECDetector::GetStringList>: Function deprecated, use
GetStringIterator instead
Warning in <TPhFECDetector::GetStringList>: Function deprecated, use
GetStringIterator instead
Warning in <TPhPedestalMod::Process>: Pedestals not calculated for 1 channels out of
12288, continuing as within preset allowable number and fraction of bad channels 100,
0.010000
Noise Process, number of events successfully processed 105
Writing FEC Detector Ped and noise to Oracle
Successfully writen FEC Detector and Ped to Oracle
(int)0
.x gaincalc_mod_auto.C(1591,0)
ls :/mnt/data/0/PhoRaw001591s000.root: No such file or directory
ls :/mnt/data/1/PhoRaw001591s000.root: No such file or directory
ls :/mnt/data/2/PhoRaw001591s000.root: No such file or directory
/mnt/data/3/PhoRaw001591s000.root
GetDiskNumber: Found data file on disk 3
****************************************************************
Pre Ped Initialization
****************************************************************
Default initialization file name =./GainCalcModDefaults.dat
If you want to use the default file hit <RETURN> else enter new
(Yes = <RETURN> : No = any character)
Using default filename, ./GainCalcModDefaults.dat
Description of constants used in evaluating Pre Pedestals
*MinPrePedEvents*
Min Number events used to calculate pre-pedestals
*MaxEventsFactor*
Stops trying to calculate pre ped after
MaxEventsFactorxMinPrePedEvents events
*MaxAllowFractionOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents events the fraction
of bad channels is greater than this
*MaxAllowNumOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents events the number
of bad channels is greater than this
*************************************************
***** Current Values *******
*************************************************
MinPrePedEvents = 250
MaxEventsFactor = 2
MaxAllowFractionOfBadChan = 0.010000
MaxAllowNumOfBadChan = 100
*************************************************
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
****************************************************************
Pedestal Initialization
****************************************************************
Default initialization file name =./GainCalcModDefaults.dat
If you want to use the default file hit <RETURN> else enter new
(Yes = <RETURN> : No = any character)
Using default filename, ./GainCalcModDefaults.dat
Description of constants used in evaluating Pedestals
*MinPedEvents*
Min Number events used to calculate pedestals
*MIPADCCut*
If (ADC-PrePed)<MIPADCCut channel considered empty
and used to evaluate pedestal
*MaxEventsFactor*
Stops trying to calculate ped after
MaxEventsFactorxMinPedEvents Events
*MaxAllowFractionOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the fraction
of bad channels is greater than this
*MaxAllowNumOfBadChan*
Module Returns failure if after
MaxEventsFactorxMinPrePedEvents Events the number
of bad channels is greater than this
*************************************************
***** Current Values *******
*************************************************
MinPedEvents = 130
MIPADCCut = 10
MaxEventsFactor = 2
MaxAllowFractionOfBadChan = 0.010000
MaxAllowNumOfBadChan = 100
*************************************************
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
****************************************************************
Gain Initialization
****************************************************************
Type of Linear Fit is TPhChannelCalLinearCut
Do you want to use the current parameters for all runs?
(Yes = <RETURN> : No = any character)
RemoteRootFileDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/
DetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/geodet/
SensorDBDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/sensdb/
FECDetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/fecdet/
FECRawPropertiesDirectory: set to /disk20000/phobos/scratch/olszewsk/ped/
FECCalibrationDirectory: set to /disk20000/phobos/scratch/olszewsk/gain/
RemoteRootFileDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/
DetectorDirectory: set to /home/nigel/Phat/init/
DetectorFileName: set to Detector_PMC.root
DetectorKeyName: set to LatestGeometry
SensorDBDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/sensdb/
FECDetectorDirectory: set to /direct/phobos+u/olszewsk/phobosfiles/fecdet/
FECRawPropertiesDirectory: set to /disk20000/phobos/scratch/olszewsk/ped/
FECCalibrationDirectory: set to /disk20000/phobos/scratch/olszewsk/gain/
GetDetectorFromFile: Detector LatestGeometry found in
/home/nigel/Phat/init/Detector_PMC.root
InitOracleDB: OracleDB phdb authenticated
GetSensorMapDBFromOracle: SensorDB ver. 4.800000 found
GetFECDetectorFromMapDB: FECDetector ver. 4.800000 created out of SensorDB map
Pedestal Process, number of events successfully processed 249
Calculating calibration parameters
BAD - fits for 1 calibration objects failed
Writing FEC Detector Gain to Oracle
Successfully writen FEC Detector and gain to Oracle
(int)0