Belle II Software development
|
Classes | |
class | TOPAlignmentCollectorModule |
Collector for geometrical alignment of a TOP module with dimuons or Bhabhas. More... | |
class | TOPAsicShiftsBS13dCollectorModule |
Collector for carrier shifts of BS13d. More... | |
class | TOPChannelMaskCollectorModule |
Collector for preparing masks of hot and dead channels. More... | |
class | TOPCommonT0BFCollectorModule |
Collector for common T0 calibration with a fit of bunch finder residuals (method BF) More... | |
class | TOPCommonT0LLCollectorModule |
Collector for common T0 calibration with neg. More... | |
class | TOPModuleT0DeltaTCollectorModule |
Collector for module T0 calibration with chi2 minimization of time differences between slots (method DeltaT). More... | |
class | TOPModuleT0LLCollectorModule |
Collector for module T0 calibration with neg. More... | |
class | TOPOffsetCollectorModule |
Collector for eventT0 and fill pattern offset calibrations. More... | |
class | TOPPhotonYieldsCollectorModule |
Collector for photon pixel yields aimed for PMT ageing studies and for finding optically decoupled PMT's. More... | |
class | TOPPulseHeightCollectorModule |
Collector for channel pulse-height distributions. More... | |
class | TOPValidationCollectorModule |
Collector for automatic validation of calibration with dimuon events. More... | |
class | OpticalGunModule |
Source of optical photons for the simulation of the TOP laser system. More... | |
class | TOPAlignerModule |
Alignment of TOP. More... | |
class | TOPBackgroundModule |
TOP backgound module. More... | |
class | TOPBunchFinderModule |
Bunch finder: searches for the bunch crossing where the interaction happened using track-based TOP likelihood. More... | |
class | TOPChannelMaskerModule |
Masks dead PMs from the reconstruction. More... | |
class | TOPChannelT0CalibratorModule |
A module for alternative channel T0 calibration with collision data Note: after this kind of calibration one cannot do the geometrical alignment This module can also be used to check the calibration. More... | |
class | TOPChannelT0MCModule |
TOP Channel T0 MC Extraction module (under development) More... | |
class | TOPCommonT0CalibratorModule |
A module for common T0 calibration with collision data (dimuons or bhabhas) More... | |
class | TOPCosmicT0FinderModule |
Event T0 finder for global cosmic runs. More... | |
class | TOPDigitizerModule |
TOP digitizer. More... | |
class | TOPTriggerDigitizerModule |
Digitizer that provides time stamps for TOP trigger. More... | |
class | TOPCalPulseGeneratorModule |
Generator of calibration pulses Output to TOPSimCalPulses. More... | |
class | TOPDoublePulseGeneratorModule |
Generator of double calibration pulses Output to TOPDigits. More... | |
class | TOPDQMModule |
TOP DQM histogrammer. More... | |
class | TOPGainEfficiencyCalculatorModule |
Module for channel-by-channel gain/efficiency analysis. More... | |
class | TOPLaserHitSelectorModule |
Module for pixel-by-pixel gain/efficiency analysis. More... | |
class | TOPGeometryParInitializerModule |
Class for initializing TOPGeometryPar. More... | |
class | TOPInterimFENtupleModule |
Module to produce ntuple from TOPDigits and TOPRawDigits. More... | |
class | TOPLaserCalibratorModule |
T0 Laser calibration module (under development) More... | |
class | TOPLaserCalibratorCollectorModule |
Collector module for the TOP channelT0 calibration and, more in general, for the time resolution studies using the laser and pulser data. More... | |
class | TOPLLScannerModule |
A module to perform the TOP PID likelihood scan and find the actual minimum as function of the mass. More... | |
class | TOPMCTrackMakerModule |
Constructs Tracks and ExtHits from MCParticles and TOPBarHits Utility needed for testing and debugging of TOP reconstruction. More... | |
class | TOPModuleT0CalibratorModule |
A module for module T0 calibration with collision data (dimuons or bhabhas) Useful when the geometrical alignment need not to be repeated. More... | |
class | TOPNtupleModule |
Module to write out a ntuple summarizing TOP reconstruction output. More... | |
class | TOPPackerModule |
Raw data packer. More... | |
class | TOPPDFCheckerModule |
Module for checking analytic PDF used in likelihood calculation. More... | |
class | TOPPDFDebuggerModule |
TOP reconstruction module. More... | |
class | TOPRawDigitConverterModule |
TOPRawDigits to TOPDigits converter. More... | |
class | TOPReconstructorModule |
TOP reconstruction module. More... | |
class | TOPRingPlotterModule |
A module to plot the x-t images from TOP, and in general study the distribution of the digits associated to the particles in a particleList. More... | |
class | TOPTBCComparatorModule |
Module for the comparison of different sets of time base correction (TBC) constants and to produce monitoring plots out of a given set. More... | |
struct | Hit |
Structure to hold some of the calpulse data. More... | |
struct | TwoTimes |
Structure to hold calpulse raw times expressed in samples since sample 0 of window 0. More... | |
class | TOPTimeBaseCalibratorModule |
Time base calibrator. More... | |
class | TOPTimeRecalibratorModule |
Utility module for re-calibrating time of TOPDigits pulseWidth and timeError are not changed although they may depend no calibration! More... | |
class | TOPUnpackerModule |
Raw data unpacker. More... | |
class | TOPWaveformFeatureExtractorModule |
Waveform feature extractor: module adds rawDigits that are found in waveforms by feature extraction but are not already present in RawDigits. More... | |
class | TOPWaveformQualityPlotterModule |
Plots and histograms of waveforms and feature extracted parameters. More... | |
class | TOPXTalkChargeShareSetterModule |
Crosstalk & chargeshare flag setter. More... | |
Enumerations | |
enum | { c_NChannelPerAsic = 8 , c_NModule = 16 , c_NChannelPerPMT = 16 , c_NChannelPerPMTRow = 4 , c_NPMTPerRow = 16 , c_NPMTPerModule = 32 , c_NPixelPerRow = 64 , c_NPixelPerModule = 512 } |
enum for maximum number of array elements (# of hits per event) More... | |
Functions | |
REG_MODULE (TOPAlignmentCollector) | |
Register module. | |
REG_MODULE (TOPAsicShiftsBS13dCollector) | |
Register module. | |
REG_MODULE (TOPChannelMaskCollector) | |
Register module. | |
REG_MODULE (TOPCommonT0BFCollector) | |
Register module. | |
REG_MODULE (TOPCommonT0LLCollector) | |
Register module. | |
REG_MODULE (TOPModuleT0DeltaTCollector) | |
Register module. | |
REG_MODULE (TOPModuleT0LLCollector) | |
Register module. | |
REG_MODULE (TOPOffsetCollector) | |
Register module. | |
REG_MODULE (TOPPhotonYieldsCollector) | |
Register module. | |
REG_MODULE (TOPPulseHeightCollector) | |
Register module. | |
REG_MODULE (TOPValidationCollector) | |
Register module. | |
REG_MODULE (OpticalGun) | |
Register module. | |
REG_MODULE (TOPAligner) | |
Register module. | |
REG_MODULE (TOPBackground) | |
Register the Module. | |
REG_MODULE (TOPBunchFinder) | |
Register module. | |
REG_MODULE (TOPChannelMasker) | |
Register the Module. | |
REG_MODULE (TOPChannelT0Calibrator) | |
Register module. | |
REG_MODULE (TOPChannelT0MC) | |
Register module. | |
REG_MODULE (TOPCommonT0Calibrator) | |
Register module. | |
REG_MODULE (TOPCosmicT0Finder) | |
Register module. | |
REG_MODULE (TOPDigitizer) | |
Register the Module. | |
REG_MODULE (TOPTriggerDigitizer) | |
Register the Module. | |
REG_MODULE (TOPCalPulseGenerator) | |
Register module. | |
REG_MODULE (TOPDoublePulseGenerator) | |
Register module. | |
REG_MODULE (TOPDQM) | |
Register module. | |
REG_MODULE (TOPGainEfficiencyCalculator) | |
Register the Module. | |
REG_MODULE (TOPLaserHitSelector) | |
Register the Module. | |
REG_MODULE (TOPGeometryParInitializer) | |
Register module. | |
REG_MODULE (TOPInterimFENtuple) | |
Register module. | |
REG_MODULE (TOPLaserCalibrator) | |
Register module. | |
REG_MODULE (TOPMCTrackMaker) | |
Register module. | |
REG_MODULE (TOPModuleT0Calibrator) | |
Register module. | |
REG_MODULE (TOPNtuple) | |
Register module. | |
REG_MODULE (TOPPacker) | |
Register module. | |
REG_MODULE (TOPPDFChecker) | |
Register module. | |
REG_MODULE (TOPPDFDebugger) | |
Register the Module. | |
REG_MODULE (TOPRawDigitConverter) | |
Register module. | |
REG_MODULE (TOPReconstructor) | |
Register the Module. | |
REG_MODULE (TOPTBCComparator) | |
Register module. | |
REG_MODULE (TOPTimeBaseCalibrator) | |
Register module. | |
REG_MODULE (TOPTimeRecalibrator) | |
Register module. | |
REG_MODULE (TOPUnpacker) | |
Register module. | |
REG_MODULE (TOPWaveformFeatureExtractor) | |
Register module. | |
REG_MODULE (TOPWaveformQualityPlotter) | |
Register module. | |
TOPAlignmentCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPAsicShiftsBS13dCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPChannelMaskCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPCommonT0BFCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPCommonT0LLCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPModuleT0DeltaTCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPModuleT0LLCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPOffsetCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPPhotonYieldsCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPPulseHeightCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | collect () final |
Replacement for event(). | |
TOPValidationCollectorModule () | |
Constructor. | |
virtual void | prepare () final |
Replacement for initialize(). | |
virtual void | startRun () final |
Replacement for beginRun(). | |
virtual void | collect () final |
Replacement for event(). | |
virtual void | closeRun () final |
Replacement for endRun(). | |
OpticalGunModule () | |
Constructor. | |
virtual | ~OpticalGunModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
bool | isInsideSlit (const ROOT::Math::XYZPoint &point, const ROOT::Math::XYZVector &direction) const |
Checks if photon passes the slit. | |
ROOT::Math::XYZVector | getDirectionGaussian () const |
Return photon direction according to a projected 2D gaussian distribution based on numerical aperture NA. | |
ROOT::Math::XYZVector | getDirectionUniform () const |
Return photon direction according to a projected uniform distribution with opening angle alpha. | |
ROOT::Math::XYZVector | getDirectionLambertian () const |
Return photon direction according to a lambertian distribution with opening angle alpha. | |
ROOT::Math::XYZVector | getDirectionCustom () const |
Return photon direction according to a custom angular distribution given by TFormula. | |
TOPAlignerModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
TOPBackgroundModule () | |
Constructor. | |
virtual | ~TOPBackgroundModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
void | myprint (TH1F *histo, const char *path, const char *xtit, const char *ytit, double tresh) |
Print histogram 1D, helper function. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
void | printModuleParams () const |
Prints module parameters. | |
TOPBunchFinderModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
Const::ChargedStable | getMostProbable (const Track &track) |
Returns most probable charged stable particle according to dEdx and predefined prior probabilities. | |
int | setFinder (TOP::Chi2MinimumFinder1D &finder, const TOP::PDFConstructor &reco, double timeMin, double timeMax) |
Sets finder object with chi2 values. | |
TimeSeed | getTimeSeed () |
Returns a time seed. | |
bool | isBucketFilled (int bunchNo) |
Does reconstructed bunch number correspond to filled bucket. | |
TOPChannelMaskerModule () | |
Constructor: Sets the description of the module. | |
virtual void | initialize () override |
initialize method: registers datastore objects (the TOP hits) | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
event method: removes channels from the reconstruction pdf, flags hits from noisy channels as junk | |
TOPChannelT0CalibratorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
TOPChannelT0MCModule () | |
Constructor. | |
virtual | ~TOPChannelT0MCModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPCommonT0CalibratorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
bool | isRunningOffsetSubtracted () |
Checks if running offset is subtracted in TOPDigits. | |
TOPCosmicT0FinderModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
TOPDigitizerModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
TimeOffset | getTimeOffset (double trgOffset, int moduleID, int pixelID) |
Returns a complete time offset by adding time mis-calibration to trgOffset. | |
double | generatePulseHeight (int moduleID, int pixelID) const |
Generates and returns pulse height. | |
TOPTriggerDigitizerModule () | |
Constructor. | |
virtual | ~TOPTriggerDigitizerModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPCalPulseGeneratorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
TOPDoublePulseGeneratorModule () | |
Constructor. | |
virtual | ~TOPDoublePulseGeneratorModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
void | storeSampleTimes (std::string fileName) |
Optionally store sample times used by the generator as root histograms fileName root output file name. | |
void | saveAsHistogram (const std::vector< double > &vec, const std::string &name, const std::string &title, const std::string &xTitle="", const std::string &yTitle="") const |
Save vector to histogram and write it out. | |
TOPDQMModule () | |
Constructor. | |
virtual | ~TOPDQMModule () |
Destructor. | |
virtual void | defineHisto () override |
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree().... | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
int | getModuleID (const Track &track) const |
Returns slot ID of the module that is hit by the track. | |
TOPGainEfficiencyCalculatorModule () | |
Constructor. | |
virtual | ~TOPGainEfficiencyCalculatorModule () |
Destructor. | |
virtual void | initialize () override |
Load time vs charge 2D histogram from a given input file (paramter "inputFile") and prepare hit timing and pulse charge distribution for each channel. | |
virtual void | defineHisto () override |
Define TTree branches to store fit results for each channel This TTree is saved in an output file given by "histoFileName" parameter of "HistoManager" module. | |
virtual void | beginRun () override |
The main processes, fitting charge distribution and calculating gain/efficiency, are done in this function. | |
virtual void | event () override |
This will be empty as the all the processes are done in beginRun() function thus input file can be a dummy file. | |
virtual void | endRun () override |
Draw plots to show fitting results for each channel and save them into a given PDF file (outputPDFFile). | |
virtual void | terminate () override |
Termination action. | |
void | LoadHistograms (const std::string &histotype) |
Load 2D histograms from a given input file (output of TOPLaserHitSelector) and create timing and charge distribution as projection histograms for the x- and y-axis, respectively. | |
void | FitHistograms (EHistogramType LoadHisto) |
Fit charge (or integrated charged) distribution to calculate gain and efficiency for each channel. | |
void | DummyFillBranch (EHistogramType LoadHisto) |
Fill Dummy for Branch. | |
void | DrawResult (const std::string &histotype, EHistogramType LoadHisto) |
Draw results of gain/efficiency calculation for each channel to a given output file. | |
static double | TOPGainFunc (double *var, double *par) |
Fit function of pulse charge (or charnge) distribution for channel(pixel)-by-channel gain extraction, given by "[0]*pow(x-[4],[1])*exp(-pow(x-[4],[2])/[3])" smeared by Gaussian with a constant sigma to consider baseline fluctuation. | |
static double | FindPeakForSmallerXThan (TH1 *histo, double xmax=0) |
Find peak and return its position for a limited range of x (x smaller than the given value (xmax)) | |
TOPLaserHitSelectorModule () | |
Constructor. | |
virtual | ~TOPLaserHitSelectorModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | defineHisto () override |
create timing-height 2D histograms for all 8192 pixels | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPGeometryParInitializerModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
TOPInterimFENtupleModule () | |
Constructor. | |
virtual | ~TOPInterimFENtupleModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | defineHisto () override |
Module funcions to define histograms. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
void | getReferenceTiming () |
Find reference timing. | |
TOPLaserCalibratorModule () | |
Constructor. | |
virtual | ~TOPLaserCalibratorModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPMCTrackMakerModule () | |
Constructor. | |
virtual | ~TOPMCTrackMakerModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPModuleT0CalibratorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
bool | isRunningOffsetSubtracted () |
Checks if running offset is subtracted in TOPDigits. | |
TOPNtupleModule () | |
Constructor. | |
virtual | ~TOPNtupleModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPPackerModule () | |
Constructor. | |
virtual | ~TOPPackerModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
void | packProductionDraft () |
Pack in format: c_Draft (tentative production format) this format was never implemented in firmware! | |
void | packType0Ver16 () |
Pack in format: c_Type0Ver16 (Feature-extracted data) this format was never implemented in firmware! | |
void | packProductionDebug () |
Pack in format: Production Debugging Data Format 01. | |
TOPPDFCheckerModule () | |
Constructor. | |
virtual void | defineHisto () override |
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree().... | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
virtual void | terminate () override |
Termination action. | |
bool | isFromThisParticle (const TOPDigit &digit, const MCParticle *particle) |
Checks if digit comes from given MC particle. | |
TOPPDFDebuggerModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
void | associatePDFPeaks (const TOP::PDFConstructor &pdfConstructor) |
Associate PDF peaks with photons using S-plot technique. | |
TOPRawDigitConverterModule () | |
Constructor. | |
virtual | ~TOPRawDigitConverterModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPReconstructorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | event () override |
Event processor. | |
TOPTBCComparatorModule () | |
Constructor. | |
void | defineHisto () override |
Defining the histograms. | |
int | analyzeCalFile () |
Analyzes the calibrations stored in the file m_calSetFile. | |
int | makeComparisons () |
Last function to be called, compared the histograms of different datasets filled by analyzeCalFile() Every new comparison histogram added to the module has to be filled here. | |
void | initialize () override |
Initialize the module. | |
void | beginRun () override |
Called when entering a new run. | |
void | event () override |
Event processor. | |
void | endRun () override |
End-of-run action. | |
void | terminate () override |
Termination action. | |
int | parseInputDirectoryLine (std::string) |
Utility function to get the directory name and the label from a line of the m_inputDirectoryList file Sets the values of m_calSetDirectory and m_calSetLabel. | |
int | parseSlotAndScrodIDfromFileName (std::string) |
Utility function to parse the slot and BS id from the calibration file names. | |
TH1F * | calculateHistoRatio (TH1F *, TH1F *, TH1F *) |
Utility function to take the ratio of two histograms using TH1::Divide(), without overwriting the output name and title initialized in defineHisto(). | |
TH2F * | calculateHistoRatio (TH2F *, TH2F *, TH2F *) |
Utility function to take the ratio of two histograms using TH2::Divide(), without overwriting the output name and title initialized in defineHisto(). | |
TOPTimeBaseCalibratorModule () | |
Constructor. | |
virtual | ~TOPTimeBaseCalibratorModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
bool | calibrateChannel (std::vector< TwoTimes > &ntuple, unsigned scrodID, unsigned scrodChannel, TH1F &Hchi2, TH1F &Hndf, TH1F &HDeltaT) |
calibrate single channel | |
bool | matrixInversion (const std::vector< TwoTimes > &ntuple, unsigned scrodID, unsigned scrodChannel, double meanTimeDifference, TH1F &Hchi2, TH1F &Hndf, TH1F &HDeltaT) |
Method by matrix inversion. | |
bool | iterativeTBC (const std::vector< TwoTimes > &ntuple, unsigned scrodID, unsigned scrodChannel, double meanTimeDifference, TH1F &Hchi2, TH1F &Hndf, TH1F &HDeltaT) |
Method by iteration of chi2 minimization. | |
void | Iteration (const std::vector< TwoTimes > &ntuple, std::vector< double > &xval) |
Iteration function called by iterativeTBC() | |
double | Chisq (const std::vector< TwoTimes > &ntuple, const std::vector< double > &xxval) |
Return the chisqure of one set of TBC constants (xval) in iTBC calculaton. | |
void | saveAsHistogram (const std::vector< double > &vec, const std::string &name, const std::string &title, const std::string &xTitle="", const std::string &yTitle="") const |
Save vector to histogram and write it out. | |
void | saveAsHistogram (const std::vector< double > &vec, const std::vector< double > &err, const std::string &name, const std::string &title, const std::string &xTitle="", const std::string &yTitle="") const |
Save vector and errors to histogram and write it out. | |
void | saveAsHistogram (const TMatrixDSym &M, const std::string &name, const std::string &title) const |
Save matrix to histogram and write it out. | |
TOPTimeRecalibratorModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
TOPUnpackerModule () | |
Constructor. | |
virtual | ~TOPUnpackerModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
std::string | getFrontEndName (RawTOP &raw, int finesse) const |
Returns the name of the front-end. | |
bool | printTheError () |
Error messages suppression logic. | |
void | unpackProductionDraft (const int *buffer, int bufferSize) |
Unpack raw data given in a tentative production format (will vanish in future) | |
void | unpackType0Ver16 (const int *buffer, int bufferSize) |
Unpack raw data given in feature-extraction production format. | |
bool | unpackHeadersInterimFEVer01 (const int *buffer, int bufferSize, bool swapBytes) |
Tries to unpack raw data assuming it is in feature-extraction interim format. | |
int | unpackInterimFEVer01 (const int *buffer, int bufferSize, bool pedestalSubtracted) |
Unpack raw data given in feature-extraction interim format. | |
int | unpackProdDebug (const int *buffer, int bufferSize, TOP::RawDataType dataFormat, bool pedestalSubtracted) |
Unpack raw data given in production debugging format. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPWaveformFeatureExtractorModule () | |
Constructor. | |
virtual | ~TOPWaveformFeatureExtractorModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the Module. | |
virtual void | beginRun () override |
Called when entering a new run. | |
virtual void | event () override |
Event processor. | |
virtual void | endRun () override |
End-of-run action. | |
virtual void | terminate () override |
Termination action. | |
TOPWaveformQualityPlotterModule () | |
Constructor. | |
void | defineHisto () override |
Books the empty histograms. | |
void | initialize () override |
Module initialization, calls defineHisto and gets waveform. | |
void | basicDebuggingPlots (const TOPRawWaveform &rawwave) |
Fills the debugging 1D histograms and hitmaps. | |
void | drawWaveforms (const TOPRawWaveform &rawwave) |
Draws the full waveforms onto the TProfiles. | |
void | event () override |
Event processor. | |
void | endRun () override |
End-of-run action. | |
anonymous enum |
enum for maximum number of array elements (# of hits per event)
Definition at line 24 of file TOPLaserHitSelectorModule.h.
int analyzeCalFile | ( | ) |
Analyzes the calibrations stored in the file m_calSetFile.
This is the main function in which the analysis and the hisogram filling takes place. Every new monitoring histogram added to the module has to be filled here.
Definition at line 207 of file TOPTBCComparatorModule.cc.
|
private |
Associate PDF peaks with photons using S-plot technique.
pdfConstructor | reconstruction object for given track and hypothesis |
Definition at line 192 of file TOPPDFDebuggerModule.cc.
void basicDebuggingPlots | ( | const TOPRawWaveform & | rawwave | ) |
Fills the debugging 1D histograms and hitmaps.
rawwave | the raw waveform |
Definition at line 81 of file TOPWaveformQualityPlotterModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 195 of file TOPBackgroundModule.cc.
|
overridevirtual |
Called when entering a new run.
Reimplemented from Module.
Definition at line 202 of file TOPBunchFinderModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 54 of file TOPChannelMaskerModule.cc.
|
overridevirtual |
Called when entering a new run.
Reimplemented from Module.
Definition at line 63 of file TOPChannelT0MCModule.cc.
|
overridevirtual |
Called when entering a new run.
Reimplemented from Module.
Definition at line 142 of file TOPDigitizerModule.cc.
|
overridevirtual |
Called when entering a new run.
Reimplemented from Module.
Definition at line 86 of file TOPTriggerDigitizerModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 148 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from HistoModule.
Definition at line 307 of file TOPDQMModule.cc.
|
overridevirtual |
The main processes, fitting charge distribution and calculating gain/efficiency, are done in this function.
Reimplemented from HistoModule.
Definition at line 160 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from HistoModule.
Definition at line 150 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from HistoModule.
Definition at line 159 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 81 of file TOPLaserCalibratorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 88 of file TOPMCTrackMakerModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 160 of file TOPModuleT0CalibratorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 127 of file TOPNtupleModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 99 of file TOPPackerModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 132 of file TOPRawDigitConverterModule.cc.
|
overridevirtual |
Called when entering a new run.
Reimplemented from HistoModule.
Definition at line 341 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 143 of file TOPTimeBaseCalibratorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 85 of file TOPTimeRecalibratorModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 113 of file TOPUnpackerModule.cc.
|
overridevirtual |
Called when entering a new run.
Set run dependent things like run header parameters, alignment, etc.
Reimplemented from Module.
Definition at line 78 of file TOPWaveformFeatureExtractorModule.cc.
TH1F * calculateHistoRatio | ( | TH1F * | hRatio, |
TH1F * | hNum, | ||
TH1F * | hDen | ||
) |
Utility function to take the ratio of two histograms using TH1::Divide(), without overwriting the output name and title initialized in defineHisto().
Definition at line 591 of file TOPTBCComparatorModule.cc.
TH2F * calculateHistoRatio | ( | TH2F * | hRatio, |
TH2F * | hNum, | ||
TH2F * | hDen | ||
) |
Utility function to take the ratio of two histograms using TH2::Divide(), without overwriting the output name and title initialized in defineHisto().
Definition at line 615 of file TOPTBCComparatorModule.cc.
|
private |
calibrate single channel
ntuple | ntuple data |
scrodID | SCROD ID |
scrodChannel | channel number within SCROD (0 - 127) |
Hchi2 | histogram to store normalized chi^2 |
Hndf | histogram to store degrees of freedom |
HDeltaT | histogram to store fittet double pulse delay |
Definition at line 311 of file TOPTimeBaseCalibratorModule.cc.
|
private |
Return the chisqure of one set of TBC constants (xval) in iTBC calculaton.
ntuple | ntuple data |
xxval | TBC constants of 256 samples, and xxval[0]=0, xxval[256]=2*FTSW |
Definition at line 669 of file TOPTimeBaseCalibratorModule.cc.
|
finalprivatevirtual |
Replacement for endRun().
Do anything you would normally do in endRun here.
Reimplemented from CalibrationCollectorModule.
Definition at line 288 of file TOPValidationCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 216 of file TOPAlignmentCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here.
Reimplemented from CalibrationCollectorModule.
Definition at line 91 of file TOPAsicShiftsBS13dCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 70 of file TOPChannelMaskCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 68 of file TOPCommonT0BFCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 148 of file TOPCommonT0LLCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 78 of file TOPModuleT0DeltaTCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 150 of file TOPModuleT0LLCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 61 of file TOPOffsetCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 171 of file TOPPhotonYieldsCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 90 of file TOPPulseHeightCollectorModule.cc.
|
finalprivatevirtual |
Replacement for event().
Fill your calibration data objects here
Reimplemented from CalibrationCollectorModule.
Definition at line 233 of file TOPValidationCollectorModule.cc.
|
overridevirtual |
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
are supposed to be placed in this function.
Reimplemented from HistoModule.
Definition at line 59 of file TOPDQMModule.cc.
|
overridevirtual |
Define TTree branches to store fit results for each channel This TTree is saved in an output file given by "histoFileName" parameter of "HistoManager" module.
Reimplemented from HistoModule.
Definition at line 90 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
create timing-height 2D histograms for all 8192 pixels
Reimplemented from HistoModule.
Definition at line 102 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
Module funcions to define histograms.
Reimplemented from HistoModule.
Definition at line 98 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
are supposed to be placed in this function.
Reimplemented from HistoModule.
Definition at line 69 of file TOPPDFCheckerModule.cc.
|
overridevirtual |
Defining the histograms.
Reads once the m_inputDirectoryList to initialize the proper amount of histograms. Every new histogram added to the module has to be initialized here.
Reimplemented from HistoModule.
Definition at line 61 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
Books the empty histograms.
Reimplemented from HistoModule.
Definition at line 51 of file TOPWaveformQualityPlotterModule.cc.
void DrawResult | ( | const std::string & | histotype, |
EHistogramType | LoadHisto | ||
) |
Draw results of gain/efficiency calculation for each channel to a given output file.
Definition at line 465 of file TOPGainEfficiencyCalculatorModule.cc.
void drawWaveforms | ( | const TOPRawWaveform & | rawwave | ) |
Draws the full waveforms onto the TProfiles.
rawwave | the raw waveform |
Definition at line 111 of file TOPWaveformQualityPlotterModule.cc.
void DummyFillBranch | ( | EHistogramType | LoadHisto | ) |
Fill Dummy for Branch.
Use it when there aren't 2D-Histogram.
Definition at line 432 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 400 of file TOPBackgroundModule.cc.
|
overridevirtual |
End-of-run action.
Reimplemented from Module.
Definition at line 89 of file TOPChannelT0MCModule.cc.
|
overridevirtual |
End-of-run action.
Reimplemented from Module.
Definition at line 149 of file TOPTriggerDigitizerModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 219 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Draw plots to show fitting results for each channel and save them into a given PDF file (outputPDFFile).
Reimplemented from HistoModule.
Definition at line 168 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from HistoModule.
Definition at line 256 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from HistoModule.
Definition at line 331 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 109 of file TOPLaserCalibratorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 142 of file TOPMCTrackMakerModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 270 of file TOPNtupleModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 123 of file TOPPackerModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 477 of file TOPRawDigitConverterModule.cc.
|
overridevirtual |
End-of-run action.
The main analysis loop over the calibration sets happens here. This function has to be modified only if the directory structure of the TOPTimeBaseCalibrator module output is changed Both the core functions analyzeCalFile() and makeComparisons() are called here.
Reimplemented from HistoModule.
Definition at line 356 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 216 of file TOPTimeBaseCalibratorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 1245 of file TOPUnpackerModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from Module.
Definition at line 140 of file TOPWaveformFeatureExtractorModule.cc.
|
overridevirtual |
End-of-run action.
Save run-related stuff, such as statistics.
Reimplemented from HistoModule.
Definition at line 181 of file TOPWaveformQualityPlotterModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 150 of file OpticalGunModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 162 of file TOPAlignerModule.cc.
|
overridevirtual |
Event processor.
Convert TOPSimHits of the event to TOPHits.
Reimplemented from Module.
Definition at line 202 of file TOPBackgroundModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 238 of file TOPBunchFinderModule.cc.
|
overridevirtual |
event method: removes channels from the reconstruction pdf, flags hits from noisy channels as junk
Reimplemented from Module.
Definition at line 69 of file TOPChannelMaskerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 176 of file TOPChannelT0CalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 67 of file TOPChannelT0MCModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 162 of file TOPCommonT0CalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 103 of file TOPCosmicT0FinderModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 237 of file TOPDigitizerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 90 of file TOPTriggerDigitizerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 101 of file TOPCalPulseGeneratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 162 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 351 of file TOPDQMModule.cc.
|
overridevirtual |
This will be empty as the all the processes are done in beginRun() function thus input file can be a dummy file.
Reimplemented from HistoModule.
Definition at line 164 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 154 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 163 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 85 of file TOPLaserCalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 92 of file TOPMCTrackMakerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 169 of file TOPModuleT0CalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 131 of file TOPNtupleModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 103 of file TOPPackerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 118 of file TOPPDFCheckerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 121 of file TOPPDFDebuggerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 195 of file TOPRawDigitConverterModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 91 of file TOPReconstructorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 347 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 147 of file TOPTimeBaseCalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 143 of file TOPTimeRecalibratorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 118 of file TOPUnpackerModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from Module.
Definition at line 82 of file TOPWaveformFeatureExtractorModule.cc.
|
overridevirtual |
Event processor.
Reimplemented from HistoModule.
Definition at line 145 of file TOPWaveformQualityPlotterModule.cc.
|
static |
Find peak and return its position for a limited range of x (x smaller than the given value (xmax))
Definition at line 646 of file TOPGainEfficiencyCalculatorModule.cc.
void FitHistograms | ( | EHistogramType | LoadHisto | ) |
Fit charge (or integrated charged) distribution to calculate gain and efficiency for each channel.
Definition at line 276 of file TOPGainEfficiencyCalculatorModule.cc.
|
private |
Generates and returns pulse height.
moduleID | module ID (1-based) |
pixelID | pixel ID (1-based) |
Definition at line 533 of file TOPDigitizerModule.cc.
|
private |
Return photon direction according to a custom angular distribution given by TFormula.
Definition at line 269 of file OpticalGunModule.cc.
|
private |
Return photon direction according to a projected 2D gaussian distribution based on numerical aperture NA.
Definition at line 237 of file OpticalGunModule.cc.
|
private |
Return photon direction according to a lambertian distribution with opening angle alpha.
Definition at line 260 of file OpticalGunModule.cc.
|
private |
Return photon direction according to a projected uniform distribution with opening angle alpha.
Be careful.
Definition at line 252 of file OpticalGunModule.cc.
|
private |
Returns the name of the front-end.
raw | raw data |
finesse | finesse number |
Definition at line 219 of file TOPUnpackerModule.cc.
|
private |
Returns slot ID of the module that is hit by the track.
track | charged track |
Definition at line 515 of file TOPDQMModule.cc.
|
private |
Returns most probable charged stable particle according to dEdx and predefined prior probabilities.
track | reconstructed track |
Definition at line 564 of file TOPBunchFinderModule.cc.
|
private |
Find reference timing.
In case that the waveform analysis is enabled, try to find a pair of calibration pulses and timing of the first one is used as reference timing for the correcponding asic. If not enabled, feature extracted timing for a calibration channel is used.
Definition at line 339 of file TOPInterimFENtupleModule.cc.
|
private |
Returns a complete time offset by adding time mis-calibration to trgOffset.
trgOffset | trigger related time offset |
moduleID | slot ID |
pixelID | pixel ID |
Definition at line 496 of file TOPDigitizerModule.cc.
|
private |
Returns a time seed.
Definition at line 643 of file TOPBunchFinderModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 90 of file OpticalGunModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 87 of file TOPAlignerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 116 of file TOPBackgroundModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 111 of file TOPBunchFinderModule.cc.
|
overridevirtual |
initialize method: registers datastore objects (the TOP hits)
Reimplemented from Module.
Definition at line 47 of file TOPChannelMaskerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 76 of file TOPChannelT0CalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 56 of file TOPChannelT0MCModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 73 of file TOPCommonT0CalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 78 of file TOPCosmicT0FinderModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 103 of file TOPDigitizerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 68 of file TOPTriggerDigitizerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 68 of file TOPCalPulseGeneratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 90 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
better use isRequired(), but RawFTSW is not in sim
Reimplemented from HistoModule.
Definition at line 291 of file TOPDQMModule.cc.
|
overridevirtual |
Load time vs charge 2D histogram from a given input file (paramter "inputFile") and prepare hit timing and pulse charge distribution for each channel.
Reimplemented from HistoModule.
Definition at line 85 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from HistoModule.
Definition at line 94 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 53 of file TOPGeometryParInitializerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from HistoModule.
Definition at line 80 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 75 of file TOPLaserCalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 61 of file TOPMCTrackMakerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 72 of file TOPModuleT0CalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 72 of file TOPNtupleModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 70 of file TOPPackerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from HistoModule.
Definition at line 96 of file TOPPDFCheckerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 72 of file TOPPDFDebuggerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 114 of file TOPRawDigitConverterModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 69 of file TOPReconstructorModule.cc.
|
overridevirtual |
Initialize the module.
Reimplemented from HistoModule.
Definition at line 336 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 106 of file TOPTimeBaseCalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 71 of file TOPTimeRecalibratorModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 82 of file TOPUnpackerModule.cc.
|
overridevirtual |
Initialize the Module.
This method is called at the beginning of data processing.
Reimplemented from Module.
Definition at line 70 of file TOPWaveformFeatureExtractorModule.cc.
|
overridevirtual |
Module initialization, calls defineHisto and gets waveform.
Reimplemented from HistoModule.
Definition at line 72 of file TOPWaveformQualityPlotterModule.cc.
|
private |
Does reconstructed bunch number correspond to filled bucket.
bunchNo | reconstructed relative bunch number |
Definition at line 670 of file TOPBunchFinderModule.cc.
|
private |
Checks if digit comes from given MC particle.
digit | TOP digit |
particle | MC particle |
Definition at line 207 of file TOPPDFCheckerModule.cc.
|
private |
Checks if photon passes the slit.
point | photon emission point |
direction | photon emission direction |
Definition at line 218 of file OpticalGunModule.cc.
|
private |
Checks if running offset is subtracted in TOPDigits.
Definition at line 305 of file TOPCommonT0CalibratorModule.cc.
|
private |
Checks if running offset is subtracted in TOPDigits.
Definition at line 333 of file TOPModuleT0CalibratorModule.cc.
|
private |
Iteration function called by iterativeTBC()
ntuple | ntuple data |
xval | TBC constants of 256 samples, time interval is the difference of nearby xvals, xval[0]=0 and xval[256]=2*m_syncTimeBase |
Definition at line 623 of file TOPTimeBaseCalibratorModule.cc.
|
private |
Method by iteration of chi2 minimization.
ntuple | ntuple data |
scrodID | SCROD ID |
scrodChannel | channel number within SCROD (0 - 127) |
meanTimeDifference | average time difference [samples] |
Hchi2 | histogram to store normalized chi^2 |
Hndf | histogram to store degrees of freedom |
HDeltaT | histogram to store fittet double pulse delay |
Definition at line 538 of file TOPTimeBaseCalibratorModule.cc.
void LoadHistograms | ( | const std::string & | histotype | ) |
Load 2D histograms from a given input file (output of TOPLaserHitSelector) and create timing and charge distribution as projection histograms for the x- and y-axis, respectively.
Timing cut is also applied for charge distributiion
Definition at line 218 of file TOPGainEfficiencyCalculatorModule.cc.
int makeComparisons | ( | ) |
Last function to be called, compared the histograms of different datasets filled by analyzeCalFile() Every new comparison histogram added to the module has to be filled here.
Definition at line 301 of file TOPTBCComparatorModule.cc.
|
private |
Method by matrix inversion.
ntuple | ntuple data |
scrodID | SCROD ID |
scrodChannel | channel number within SCROD (0 - 127) |
meanTimeDifference | average time difference [samples] |
Hchi2 | histogram to store normalized chi^2 |
Hndf | histogram to store degrees of freedom |
HDeltaT | histogram to store fittet double pulse delay |
Definition at line 398 of file TOPTimeBaseCalibratorModule.cc.
void myprint | ( | TH1F * | histo, |
const char * | path, | ||
const char * | xtit = "" , |
||
const char * | ytit = "" , |
||
double | tresh = 0 |
||
) |
Print histogram 1D, helper function.
Definition at line 323 of file TOPBackgroundModule.cc.
OpticalGunModule | ( | ) |
Constructor.
Definition at line 47 of file OpticalGunModule.cc.
|
private |
Pack in format: Production Debugging Data Format 01.
Definition at line 295 of file TOPPackerModule.cc.
|
private |
Pack in format: c_Draft (tentative production format) this format was never implemented in firmware!
Definition at line 132 of file TOPPackerModule.cc.
|
private |
Pack in format: c_Type0Ver16 (Feature-extracted data) this format was never implemented in firmware!
Definition at line 201 of file TOPPackerModule.cc.
int parseInputDirectoryLine | ( | std::string | inputString | ) |
Utility function to get the directory name and the label from a line of the m_inputDirectoryList file Sets the values of m_calSetDirectory and m_calSetLabel.
Definition at line 509 of file TOPTBCComparatorModule.cc.
int parseSlotAndScrodIDfromFileName | ( | std::string | inputString | ) |
Utility function to parse the slot and BS id from the calibration file names.
Definition at line 547 of file TOPTBCComparatorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 79 of file TOPAlignmentCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well.
Reimplemented from CalibrationCollectorModule.
Definition at line 52 of file TOPAsicShiftsBS13dCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 39 of file TOPChannelMaskCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 49 of file TOPCommonT0BFCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 75 of file TOPCommonT0LLCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 50 of file TOPModuleT0DeltaTCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 75 of file TOPModuleT0LLCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 41 of file TOPOffsetCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 58 of file TOPPhotonYieldsCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 52 of file TOPPulseHeightCollectorModule.cc.
|
finalprivatevirtual |
Replacement for initialize().
Register calibration dataobjects here as well
Reimplemented from CalibrationCollectorModule.
Definition at line 76 of file TOPValidationCollectorModule.cc.
void printModuleParams | ( | ) | const |
|
private |
Error messages suppression logic.
Definition at line 234 of file TOPUnpackerModule.cc.
|
private |
Save vector to histogram and write it out.
vec | vector of bin values |
name | histogram name |
title | histogram title |
xTitle | x-axis title |
yTitle | y-axis title |
Definition at line 299 of file TOPDoublePulseGeneratorModule.cc.
|
private |
Save vector to histogram and write it out.
vec | vector of bin values |
name | histogram name |
title | histogram title |
xTitle | x-axis title |
yTitle | y-axis title |
Definition at line 711 of file TOPTimeBaseCalibratorModule.cc.
|
private |
Save vector and errors to histogram and write it out.
vec | vector of bin values |
err | vector of bin errors |
name | histogram name |
title | histogram title |
xTitle | x-axis title |
yTitle | y-axis title |
Definition at line 730 of file TOPTimeBaseCalibratorModule.cc.
|
private |
Save matrix to histogram and write it out.
M | matrix |
name | histogram name |
title | histogram title |
Definition at line 750 of file TOPTimeBaseCalibratorModule.cc.
|
private |
Sets finder object with chi2 values.
finder | finder object |
reco | reconstruction object |
timeMin | lower edge of photon time window |
timeMax | upper edge of photon time window |
Definition at line 623 of file TOPBunchFinderModule.cc.
|
finalprivatevirtual |
Replacement for beginRun().
Do anything you would normally do in beginRun here
Reimplemented from CalibrationCollectorModule.
Definition at line 167 of file TOPValidationCollectorModule.cc.
|
private |
Optionally store sample times used by the generator as root histograms fileName root output file name.
Definition at line 228 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 252 of file TOPAlignerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 405 of file TOPBackgroundModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 557 of file TOPBunchFinderModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 259 of file TOPChannelT0CalibratorModule.cc.
|
overridevirtual |
Termination action.
Output MC extraction
Reimplemented from Module.
Definition at line 93 of file TOPChannelT0MCModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 243 of file TOPCommonT0CalibratorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 249 of file TOPCosmicT0FinderModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 154 of file TOPTriggerDigitizerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 223 of file TOPDoublePulseGeneratorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from HistoModule.
Definition at line 173 of file TOPGainEfficiencyCalculatorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from HistoModule.
Definition at line 260 of file TOPLaserHitSelectorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from HistoModule.
Definition at line 335 of file TOPInterimFENtupleModule.cc.
|
overridevirtual |
Termination action.
Do fits , clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 113 of file TOPLaserCalibratorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 146 of file TOPMCTrackMakerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 252 of file TOPModuleT0CalibratorModule.cc.
|
overridevirtual |
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 127 of file TOPPackerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from HistoModule.
Definition at line 182 of file TOPPDFCheckerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 481 of file TOPRawDigitConverterModule.cc.
|
overridevirtual |
Termination action.
The historam writing takes place here
Reimplemented from HistoModule.
Definition at line 453 of file TOPTBCComparatorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 220 of file TOPTimeBaseCalibratorModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 1254 of file TOPUnpackerModule.cc.
|
overridevirtual |
Termination action.
Clean-up, close files, summarize statistics, etc.
Reimplemented from Module.
Definition at line 144 of file TOPWaveformFeatureExtractorModule.cc.
TOPAlignerModule | ( | ) |
Constructor.
Definition at line 44 of file TOPAlignerModule.cc.
Constructor.
Definition at line 42 of file TOPAlignmentCollectorModule.cc.
Constructor.
Definition at line 36 of file TOPAsicShiftsBS13dCollectorModule.cc.
Constructor.
Definition at line 60 of file TOPBackgroundModule.cc.
Constructor.
Definition at line 53 of file TOPBunchFinderModule.cc.
Constructor.
Definition at line 45 of file TOPCalPulseGeneratorModule.cc.
Constructor.
Definition at line 31 of file TOPChannelMaskCollectorModule.cc.
Constructor: Sets the description of the module.
Definition at line 32 of file TOPChannelMaskerModule.cc.
Constructor.
Definition at line 38 of file TOPChannelT0CalibratorModule.cc.
Constructor.
Definition at line 40 of file TOPChannelT0MCModule.cc.
Constructor.
Definition at line 35 of file TOPCommonT0BFCollectorModule.cc.
Constructor.
Definition at line 37 of file TOPCommonT0CalibratorModule.cc.
Constructor.
Definition at line 45 of file TOPCommonT0LLCollectorModule.cc.
Constructor.
Definition at line 56 of file TOPCosmicT0FinderModule.cc.
Constructor.
Definition at line 50 of file TOPDigitizerModule.cc.
Constructor.
Definition at line 52 of file TOPDoublePulseGeneratorModule.cc.
TOPDQMModule | ( | ) |
Constructor.
Definition at line 41 of file TOPDQMModule.cc.
Constructor.
Definition at line 47 of file TOPGainEfficiencyCalculatorModule.cc.
|
static |
Fit function of pulse charge (or charnge) distribution for channel(pixel)-by-channel gain extraction, given by "[0]*pow(x-[4],[1])*exp(-pow(x-[4],[2])/[3])" smeared by Gaussian with a constant sigma to consider baseline fluctuation.
Definition at line 625 of file TOPGainEfficiencyCalculatorModule.cc.
Constructor.
Definition at line 39 of file TOPGeometryParInitializerModule.cc.
Constructor.
Definition at line 47 of file TOPInterimFENtupleModule.cc.
Constructor.
Definition at line 49 of file TOPLaserCalibratorModule.cc.
Constructor.
Definition at line 44 of file TOPLaserHitSelectorModule.cc.
Constructor.
Definition at line 45 of file TOPMCTrackMakerModule.cc.
Constructor.
Definition at line 36 of file TOPModuleT0CalibratorModule.cc.
Constructor.
Definition at line 32 of file TOPModuleT0DeltaTCollectorModule.cc.
Constructor.
Definition at line 45 of file TOPModuleT0LLCollectorModule.cc.
TOPNtupleModule | ( | ) |
Constructor.
Definition at line 57 of file TOPNtupleModule.cc.
Constructor.
Definition at line 32 of file TOPOffsetCollectorModule.cc.
TOPPackerModule | ( | ) |
Constructor.
Definition at line 48 of file TOPPackerModule.cc.
Constructor.
Definition at line 52 of file TOPPDFCheckerModule.cc.
Constructor.
Definition at line 49 of file TOPPDFDebuggerModule.cc.
Constructor.
Definition at line 42 of file TOPPhotonYieldsCollectorModule.cc.
Constructor.
Definition at line 31 of file TOPPulseHeightCollectorModule.cc.
Constructor.
Definition at line 48 of file TOPRawDigitConverterModule.cc.
Constructor.
Definition at line 40 of file TOPReconstructorModule.cc.
Constructor.
Definition at line 41 of file TOPTBCComparatorModule.cc.
Constructor.
Definition at line 54 of file TOPTimeBaseCalibratorModule.cc.
Constructor.
Definition at line 43 of file TOPTimeRecalibratorModule.cc.
Constructor.
Definition at line 47 of file TOPTriggerDigitizerModule.cc.
Constructor.
Definition at line 51 of file TOPUnpackerModule.cc.
Constructor.
Definition at line 48 of file TOPValidationCollectorModule.cc.
Constructor.
Definition at line 44 of file TOPWaveformFeatureExtractorModule.cc.
Constructor.
Definition at line 39 of file TOPWaveformQualityPlotterModule.cc.
|
private |
Tries to unpack raw data assuming it is in feature-extraction interim format.
Does not write out anything, just checks integrity.
buffer | raw data buffer |
bufferSize | buffer size |
swapBytes | if true, swap bytes in buffer |
Definition at line 345 of file TOPUnpackerModule.cc.
|
private |
Unpack raw data given in feature-extraction interim format.
buffer | raw data buffer |
bufferSize | buffer size |
pedestalSubtracted | false for version 2, true for version 3 |
Definition at line 415 of file TOPUnpackerModule.cc.
|
private |
Unpack raw data given in production debugging format.
buffer | raw data buffer |
bufferSize | buffer size |
dataFormat | data format |
pedestalSubtracted | true, if pedestal is subtracted in waveforms |
Definition at line 821 of file TOPUnpackerModule.cc.
|
private |
Unpack raw data given in a tentative production format (will vanish in future)
buffer | raw data buffer |
bufferSize | buffer size |
Definition at line 243 of file TOPUnpackerModule.cc.
|
private |
Unpack raw data given in feature-extraction production format.
buffer | raw data buffer |
bufferSize | buffer size |
Definition at line 279 of file TOPUnpackerModule.cc.
|
virtual |
Destructor.
Definition at line 85 of file OpticalGunModule.cc.
|
virtual |
|
virtual |
|
virtual |
Destructor.
Definition at line 85 of file TOPDoublePulseGeneratorModule.cc.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |