![]() |
Belle II Software development
|
Modules | |
cdc data objects | |
cdc modules | |
Namespaces | |
namespace | Belle2::CDC |
Classes | |
class | CDCDedx1DCellAlgorithm |
A calibration algorithm for CDC dE/dx electron: 1D enta cleanup correction. More... | |
class | CDCDedx2DCellAlgorithm |
A calibration algorithm for CDC dE/dx electron 2D enta vs doca correction. More... | |
class | CDCDedxBadWireAlgorithm |
A calibration algorithm for CDC dE/dx to find the bad wires. More... | |
class | CDCDedxCosEdgeAlgorithm |
A calibration algorithm for CDC dE/dx electron cos(theta) dependence. More... | |
class | CDCDedxCosineAlgorithm |
A calibration algorithm for CDC dE/dx electron cos(theta) dependence. More... | |
class | CDCDedxHadBGAlgorithm |
A calibration algorithm for beta gamma curve and resolution fitting and save payloads. More... | |
class | CDCDedxHadSatAlgorithm |
A calibration algorithm for hadron saturation. More... | |
class | CDCDedxInjectTimeAlgorithm |
A calibration algorithm for CDC dE/dx injection time (HER/LER) More... | |
class | CDCDedxMomentumAlgorithm |
A calibration algorithm for CDC dE/dx electron cos(theta) dependence. More... | |
class | CDCDedxRunGainAlgorithm |
A calibration algorithm for CDC dE/dx run gains. More... | |
class | CDCDedxWireGainAlgorithm |
A calibration algorithm for CDC dE/dx wire gains. More... | |
class | HadronBgPrep |
Class to prepare sample for fitting in beta gamma bins. More... | |
class | HadronCalibration |
Class to perform the fitting in beta gamma bins. More... | |
class | HadronPrep |
Class to prepare sample for hadron saturation calibration. More... | |
class | HadronSaturation |
Class to perform the hadron saturation calibration. More... | |
class | CDCDatabaseImporter |
CDC database importer. More... | |
class | SliceFit |
Class to do the slice fit. More... | |
class | CDCADCDeltaPedestals |
Database object for ADC pedestals. More... | |
class | CDCAlignment |
CDC alignment constants. More... | |
class | CDCBadWires |
Database object for bad wires. More... | |
class | CDCChannelMap |
Database object of CDC channel map. More... | |
class | CDCCorrToThresholds |
Database object for correcting a simple threshold model in MC. More... | |
struct | asicChannel |
record to be used to store ASIC info More... | |
struct | adcChannelPair |
pair ADC, channel More... | |
struct | adcAsicTuple |
tuple to store ADC,Channel -> 8 asicChannels More... | |
struct | adc_search |
functions to search in the sorted list of tuples More... | |
class | CDCCrossTalkLibrary |
Database object for ASIC crosstalk library. More... | |
class | CDCDedx1DCell |
dE/dx wire gain calibration constants More... | |
class | CDCDedx2DCell |
dE/dx wire gain calibration constants More... | |
class | CDCDedxADCNonLinearity |
dE/dx electronic ADC non-linearity correction for highly ionising particles (used in offline hadron saturation calibration) parameters are for X vs Y relation and sep for inner and outer layer vector array 0,1 for inner and 2,3 for outer layers More... | |
class | CDCDedxBadWires |
dE/dx wire gain calibration constants More... | |
class | CDCDedxCosineCor |
dE/dx wire gain calibration constants More... | |
class | CDCDedxCosineEdge |
dE/dx special large cosine calibration to fix bending shoulder at large costh More... | |
class | CDCDedxDatabaseImporter |
dE/dx database importer. More... | |
class | CDCDedxHadronCor |
dE/dx hadron saturation parameterization constants More... | |
class | CDCDedxInjectionTime |
dE/dx injection time calibration constants More... | |
class | CDCDedxMeanPars |
dE/dx mean (curve versus beta-gamma) parameterization constants More... | |
class | CDCDedxMomentumCor |
dE/dx wire gain calibration constants More... | |
class | CDCdEdxPDFs |
Specialized class for holding the CDC dE/dx PDFs. More... | |
class | CDCDedxRunGain |
dE/dx run gain calibration constants More... | |
class | CDCDedxScaleFactor |
dE/dx run gain calibration constants More... | |
class | CDCDedxSigmaPars |
dE/dx sigma (versus beta-gamma) parameterization constants More... | |
class | CDCDedxWireGain |
dE/dx wire gain calibration constants More... | |
class | CDCDisplacement |
Database object for displacement of sense wire position. More... | |
class | CDCEDepToADCConversions |
Database object for energy-deposit to ADC-count conversion. More... | |
class | CDCFEElectronics |
Database object for Fron-endt electronics params. More... | |
class | CDCFEEParams |
Database object for FEE params. More... | |
class | CDCFudgeFactorsForSigma |
Database object for fudge factors for CDC space resol. More... | |
class | CDCGeometry |
The Class for CDC geometry. More... | |
class | CDCLayerAlignment |
CDC layers alignment constants. More... | |
class | CDClayerTimeCut |
Database object for timing offset (t0). More... | |
class | CDCMisalignment |
CDC misalignment constants. More... | |
class | CDCPropSpeeds |
Database object for signal propagation speed along the wire. More... | |
class | CDCSpaceResols |
Database object for space resolutions. More... | |
class | CDCTimeWalks |
Database object for time-walk. More... | |
class | CDCTimeZeros |
Database object for timing offset (t0). More... | |
class | CDCTriggerPlane |
Database object for timing offset (t0). More... | |
class | CDCWireHitRequirements |
Database object containing cut values to filter CDCWireHits. More... | |
class | CDCXtRelations |
Database object for xt-relations. More... | |
class | CDCDedxHadSat |
Class to hold the hadron saturation functions. More... | |
class | CDCDedxMeanPred |
Class to hold the prediction of mean as a function of beta-gamma (bg) More... | |
class | CDCDedxSigmaPred |
Class to hold the prediction of resolution depending dE/dx, nhit, and cos(theta) More... | |
class | CDCDedxWidgetCurve |
Class to hold the beta-gamma (bg) mean function. More... | |
class | CDCDedxWidgetSigma |
Class to hold the beta-gamma (bg) resolution function. More... | |
Typedefs | |
typedef array< asicChannel, 8 > | asicChannels |
fixed sized array of ASIC channels | |
Functions | |
CDCDedxTrack const * | getDedxFromParticle (Particle const *particle) |
CDC dEdx value from particle. | |
double | D2I (double cosTheta, double D) const |
hadron saturation parameterization part 2 | |
double | I2D (double cosTheta, double I) const |
hadron saturation parameterization part 1 | |
double | meanCurve (double x, const double *par, int version) const |
parameterized beta-gamma curve for predicted means | |
double | getMean (double bg) const |
Returns the predicted dE/dx mean at given beta-gamma. | |
double | sigmaCurve (double x, const double *par, int version) const |
parameterized resolution for predictions | |
double | getSigma (double dedx, double nhit, double cosTheta, double timeReso) const |
Returns predicted dE/dx sigma. | |
CDCSensitiveDetector (G4String name, G4double thresholdEnergyDeposit, G4double thresholdKineticEnergy) | |
Constructor. | |
void | Initialize (G4HCofThisEvent *) override |
Register CDC hits collection into G4HCofThisEvent. | |
bool | step (G4Step *aStep, G4TouchableHistory *history) override |
Process each step and calculate variables defined in CDCB4VHit. | |
void | EndOfEvent (G4HCofThisEvent *) override |
Do what you want to do at the beginning of each event (why this is not called ?) | |
void | saveSimHit (const G4int layerId, const G4int wireId, const G4int trackID, const G4int pid, const G4double distance, const G4double tof, const G4double edep, const G4double stepLength, const G4ThreeVector &mom, const G4ThreeVector &posW, const G4ThreeVector &posIn, const G4ThreeVector &posOut, const G4ThreeVector &posTrack, const G4int lr, const G4int NewLrRaw, const G4int NewLr, const G4double speed, const G4double hitWeight) |
Save CDCSimHit into datastore. | |
void | CellBound (const G4int layerId, const G4int ic1, const G4int ic2, const G4double venter[6], const G4double vexit[6], const G4double s1, const G4double s2, G4double xint[6], G4double &sint, G4int &iflag) |
Calculate intersection of track with cell boundary. | |
void | GCUBS (const G4double x, const G4double y, const G4double d1, const G4double d2, G4double a[4]) |
void | for_Rotat (const G4double bfld[3]) |
Calculates a rotation matrix. | |
void | Rotat (G4double &x, G4double &y, G4double &z, const int mode) |
Translation method. | |
void | Rotat (G4double x[3], const int mode) |
Overloaded translation method. | |
void | HELWIR (const G4double xwb4, const G4double ywb4, const G4double zwb4, const G4double xwf4, const G4double ywf4, const G4double zwf4, const G4double xp, const G4double yp, const G4double zp, const G4double px, const G4double py, const G4double pz, const G4double B_kG[3], const G4double charge, const G4int ntryMax, G4double &distance, G4double q2[3], G4double q1[3], G4double q3[3], G4int &ntry) |
Calculate closest points between helix and wire. | |
void | Mvopr (const G4int ndim, const G4double b[3], const G4double m[3][3], const G4double a[3], G4double c[3], const G4int mode) |
Calculate the result of a matrix times vector. | |
std::vector< int > | WireId_in_hit_order (int id0, int id1, int nWires) |
Sort wire id. | |
G4double | ClosestApproach (G4ThreeVector bwp, G4ThreeVector fwp, G4ThreeVector posIn, G4ThreeVector posOut, G4ThreeVector &hitPosition, G4ThreeVector &wirePosition) |
Assume line track to calculate distance between track and wire (drift length). | |
void | setModifiedLeftRightFlag () |
set left/right flag modified for tracking | |
void | reAssignLeftRightInfo () |
Re-assign left/right info. | |
unsigned short | areNeighbors (const WireID &wireId, const WireID &otherWireId) const |
Check if neighboring cell in the same super-layer; essentially a copy from cdcLocalTracking/mclookup. | |
unsigned short | areNeighbors (unsigned short iCLayer, unsigned short iSuperLayer, unsigned short iLayer, unsigned short iWire, const WireID &otherWireId) const |
Check if neighboring cell in the same super-layer; essentially a copy from cdcLocalTracking/mclookup. | |
typedef array<asicChannel, 8> asicChannels |
fixed sized array of ASIC channels
Definition at line 28 of file CDCCrossTalkClasses.h.
Check if neighboring cell in the same super-layer; essentially a copy from cdcLocalTracking/mclookup.
[in] | wireId | wire-id. in question (reference) |
[in] | otherWireId | another wire-id. in question |
Definition at line 1609 of file CDCSensitiveDetector.cc.
|
private |
Check if neighboring cell in the same super-layer; essentially a copy from cdcLocalTracking/mclookup.
[in] | iCLayer | later-id (continuous) in question (reference) |
[in] | iSuperLayer | super-later-id in question (reference) |
[in] | iLayer | later-id in the super-layer in question (reference) |
[in] | iWire | wire-id in the layer in question (reference) |
[in] | otherWireId | another wire-id. in question |
Definition at line 1671 of file CDCSensitiveDetector.cc.
CDCSensitiveDetector | ( | G4String | name, |
G4double | thresholdEnergyDeposit, | ||
G4double | thresholdKineticEnergy | ||
) |
Constructor.
Definition at line 48 of file CDCSensitiveDetector.cc.
|
private |
Calculate intersection of track with cell boundary.
[in] | layerId | Id of the layer. |
[in] | ic1 | serial cell number (start w/ one) of entrance. |
[in] | ic2 | serial cell number (start w/ one) of exit. |
[in] | venter | (x,y,z,px/p,py/p,pz/p) at entrance. |
[in] | vexit | (x,y,z,px/p,py/p,pz/p) at exit. |
[in] | s1 | track length at entrance. |
[in] | s2 | track length at exit. |
[out] | xint | (x,y,z,px/p,py/p,pz/p) at intersection of cell boundary. |
[out] | sint | track length at intersection of cell boundary. |
[out] | iflag | return code from GIPLAN. |
Definition at line 689 of file CDCSensitiveDetector.cc.
|
private |
Assume line track to calculate distance between track and wire (drift length).
Definition at line 1412 of file CDCSensitiveDetector.cc.
|
private |
hadron saturation parameterization part 2
Definition at line 19 of file CDCDedxHadronCor.cc.
|
override |
Do what you want to do at the beginning of each event (why this is not called ?)
Do what you want to do at the end of each event
Definition at line 580 of file CDCSensitiveDetector.cc.
|
private |
Calculates a rotation matrix.
Calculates a rotation matrix. in advance at a local position in lab. frame. The rotation is done about the coord. origin; lab.-frame to B-field frame in which only Bz-comp. is non-zero.
Definition at line 971 of file CDCSensitiveDetector.cc.
|
private |
*
Calculates a cubic through P1,(-X,Y1),(X,Y2),P2 * where Y2=-Y1 * Y=A(1)+A(2)*X+A(3)*X**2+A(4)*X**3 * The coordinate system is assumed to be the cms system * of P1,P2. *
Definition at line 936 of file CDCSensitiveDetector.cc.
CDCDedxTrack const * getDedxFromParticle | ( | Particle const * | particle | ) |
CDC dEdx value from particle.
Definition at line 36 of file DedxVariables.cc.
double getMean | ( | double | bg | ) | const |
Returns the predicted dE/dx mean at given beta-gamma.
bg | beta-gamma |
Definition at line 38 of file CDCDedxMeanPars.cc.
double getSigma | ( | double | dedx, |
double | nhit, | ||
double | cosTheta, | ||
double | timeReso | ||
) | const |
Returns predicted dE/dx sigma.
dedx | predicted mean |
nhit | number of measurements |
cosTheta | cosine of polar angle |
timeReso | injection time resolution scaling factor |
Definition at line 40 of file CDCDedxSigmaPars.cc.
|
private |
Calculate closest points between helix and wire.
Input xwb4 : x of wire at backward endplate in lab. ywb4 : y of wire at backward endplate " zwb4 : z of wire at backward endplate " xwf4 : x of wire at forward endplate " ywf4 : y of wire at forward endplate " zwf4 : z of wire at forward endplate " xp : x of helix in lab. yp : y of helix " zp : z of helix " px : px of helix in lab. py : py of helix " pz : pz of helix " Output q2(1) : x of wire at closest point in lab. q2(2) : y of wire at closest point " q2(3) : z of wire at closest point " q1(1) : x of helix at closest point " q1(2) : y of helix at closest point " q1(3) : z of helix at closest point " q3 : momentum of helix at closest point in lab. ntry :
Definition at line 1062 of file CDCSensitiveDetector.cc.
|
private |
hadron saturation parameterization part 1
Definition at line 47 of file CDCDedxHadronCor.cc.
|
override |
Register CDC hits collection into G4HCofThisEvent.
Definition at line 89 of file CDCSensitiveDetector.cc.
|
private |
parameterized beta-gamma curve for predicted means
Definition at line 19 of file CDCDedxMeanPars.cc.
|
private |
Calculate the result of a matrix times vector.
Input ndim : dimension b(1-ndim) : vector m(1-ndim,1-ndim) : matrix a(1-ndim) : vector c(1-ndim) : vector mode : c = m * a for mode=0 c = b * m * a for mode=1 Output c(1-ndim) : for mode 1, solution is put on c[0]
Definition at line 1332 of file CDCSensitiveDetector.cc.
|
private |
Re-assign left/right info.
Definition at line 1523 of file CDCSensitiveDetector.cc.
|
private |
Translation method.
Translates (x,y,z) in lab. to (x,y,z) in B-field frame (mode=1), or reverse translation (mode=-1).
Definition at line 1007 of file CDCSensitiveDetector.cc.
|
private |
Overloaded translation method.
Definition at line 1035 of file CDCSensitiveDetector.cc.
void saveSimHit | ( | const G4int | layerId, |
const G4int | wireId, | ||
const G4int | trackID, | ||
const G4int | pid, | ||
const G4double | distance, | ||
const G4double | tof, | ||
const G4double | edep, | ||
const G4double | stepLength, | ||
const G4ThreeVector & | mom, | ||
const G4ThreeVector & | posW, | ||
const G4ThreeVector & | posIn, | ||
const G4ThreeVector & | posOut, | ||
const G4ThreeVector & | posTrack, | ||
const G4int | lr, | ||
const G4int | NewLrRaw, | ||
const G4int | NewLr, | ||
const G4double | speed, | ||
const G4double | hitWeight | ||
) |
Save CDCSimHit into datastore.
Definition at line 586 of file CDCSensitiveDetector.cc.
|
private |
set left/right flag modified for tracking
Definition at line 1439 of file CDCSensitiveDetector.cc.
|
private |
parameterized resolution for predictions
Definition at line 19 of file CDCDedxSigmaPars.cc.
|
overridevirtual |
Process each step and calculate variables defined in CDCB4VHit.
Implements SensitiveDetectorBase.
Definition at line 115 of file CDCSensitiveDetector.cc.
|
private |
Sort wire id.
Definition at line 1381 of file CDCSensitiveDetector.cc.