Belle II Software
release-08-01-10
|
Debug output for CDCDedxPID module. More...
#include <CDCDedxTrack.h>
Public Member Functions | |
CDCDedxTrack () | |
Default constructor. | |
void | addDedx (int nhitscombined, int wirelongesthit, int layer, double distance, double dedxValue) |
add dE/dx information for a CDC layer | |
void | addHit (int lwire, int wire, int layer, double doca, double docaRS, double enta, double entaRS, int adcCount, int adcbaseCount, double dE, double path, double dedx, double cellHeight, double cellHalfWidth, int driftT, double driftD, double driftDRes, double wiregain, double twodcor, double onedcor, int foundByTrackFinder, double weightPionHypo, double weightKaonHypo, double weightProtHypo) |
Add a single hit to the object. | |
double | trackID () const |
Return the track ID. | |
double | getPDG () const |
Get the identity of the particle. | |
double | getDedx () const |
Get dE/dx truncated mean for this track. | |
double | getDedxNoSat () const |
Get dE/dx truncated mean without the saturation correction for this track. | |
double | getDedxError () const |
Get the error on the dE/dx truncated mean for this track. | |
double | getDedxMean () const |
Get the dE/dx mean for this track. | |
std::vector< double > | getDedxList () const |
Return the vector of dE/dx values for this track. | |
double | getMomentum () const |
Return the track momentum valid in the CDC. | |
double | getCosTheta () const |
Return cos(theta) for this track. | |
int | getCharge () const |
Return the charge for this track. | |
double | getInjectionTime () const |
Return cos(theta) for this track. | |
double | getInjectionRing () const |
Return cos(theta) for this track. | |
double | getLength () const |
Return the total path length for this track. | |
double | getCosineCorrection () const |
Return the cosine correction for this track. | |
double | getCosEdgeCorrection () const |
Return the cosine correction for this track. | |
double | getRunGain () const |
Return the run gain for this track. | |
double | getScaleFactor () const |
Return the scale factor for this track. | |
double | getTimeMean () const |
Return the injection gain for this track. | |
double | getTimeReso () const |
Return the injection reso for this track. | |
double | getSimulatedDedx () const |
Get the track-level MC dE/dx mean for this track. | |
void | setDedx (double mean) |
Set the dE/dx truncated average for this track. | |
void | setDedxNoSat (double mean) |
Set the dE/dx truncated average without the saturation correction for this track. | |
void | setDedxError (double error) |
Set the error on the dE/dx truncated mean for this track. | |
void | setDedxMean (double mean) |
Set the dE/dx mean for this track. | |
void | setSimulatedDedx (double dedx) |
Set the track level MC dE/dx mean for this track. | |
int | getNLayerHits () const |
Return the number of layer hits for this track. | |
double | getNLayerHitsUsed () const |
Return the number of hits used to determine the truncated mean. | |
int | getNHitsCombined (int i) const |
Return the number of hits combined per layer. | |
int | getWireLongestHit (int i) const |
Return the wire number of the longest hit per layer. | |
int | getLayer (int i) const |
Return the (global) layer number for a layer hit. | |
double | getLayerPath (int i) const |
Return the distance travelled in this layer. | |
double | getLayerDedx (int i) const |
Return the total dE/dx for this layer. | |
void | setLayerDedx (int i, double dedx) |
Set the total dE/dx for this layer. | |
int | size () const |
Return the number of hits for this track. | |
int | getWireInLayer (int i) const |
Return the sensor ID for this hit: wire number in the layer. | |
int | getWire (int i) const |
Return the sensor ID for this hit: wire number for CDC (0-14336) | |
int | getHitLayer (int i) const |
Return the (global) layer number for a hit. | |
double | getPath (int i) const |
Return the path length through the cell for this hit. | |
double | getDedx (int i) const |
Return the dE/dx value for this hit. | |
int | getADCCount (int i) const |
Return the adcCount for this hit. | |
int | getADCBaseCount (int i) const |
Return the base adcCount (no non-linearity) for this hit. | |
double | getNonLADCCorrection (int i) const |
Return the factor introduce for adcCount (non-linearity) correction. | |
double | getDoca (int i) const |
Return the distance of closest approach to the sense wire for this hit. | |
double | getEnta (int i) const |
Return the entrance angle in the CDC cell for this hit. | |
double | getDocaRS (int i) const |
Return rescaled doca value for cell height=width assumption. | |
double | getEntaRS (int i) const |
Return rescaled enta value for cell height=width assumption. | |
int | getDriftT (int i) const |
Return the drift time for this hit. | |
double | getDE (int i) const |
Return the ionization charge collected for this hit. | |
double | getCellHeight (int i) const |
Return the height of the CDC cell. | |
double | getCellHalfWidth (int i) const |
Return the half-width of the CDC cell. | |
double | getDriftD (int i) const |
Return the drift distance for this hit. | |
double | getDriftDRes (int i) const |
Return the drift distance resolution for this hit. | |
double | getWireGain (int i) const |
Return the wire gain for this hit. | |
double | getTwoDCorrection (int i) const |
Return the 2D correction for this hit. | |
double | getOneDCorrection (int i) const |
Return the 1D correction for this hit. | |
int | getFoundByTrackFinder (int i) const |
Return the TrackFinder which added the given hit to track. More... | |
double | getWeightPionHypo (int i) const |
Return the max weights from KalmanFitterInfo using pion hypothesis. | |
double | getWeightKaonHypo (int i) const |
Return the max weights from KalmanFitterInfo using kaon hypothesis. | |
double | getWeightProtonHypo (int i) const |
Return the max weights from KalmanFitterInfo using proton hypothesis. | |
double | getChi (int i) const |
Return the PID (chi) value. | |
double | getPmean (int i) const |
Return the PID (predicted mean) value. | |
double | getPreso (int i) const |
Return the PID (predicted reso) value. | |
void | setDedx (int i, double dedx) |
Set the dE/dx value for this hit. | |
void | addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const |
Add a relation from this object to another object (with caching). More... | |
void | addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const |
Add a relation from this object to another object (no caching, can be quite slow). More... | |
void | copyRelations (const RelationsInterface< BASE > *sourceObj) |
Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). More... | |
template<class TO > | |
RelationVector< TO > | getRelationsTo (const std::string &name="", const std::string &namedRelation="") const |
Get the relations that point from this object to another store array. More... | |
template<class FROM > | |
RelationVector< FROM > | getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const |
Get the relations that point from another store array to this object. More... | |
template<class T > | |
RelationVector< T > | getRelationsWith (const std::string &name="", const std::string &namedRelation="") const |
Get the relations between this object and another store array. More... | |
template<class TO > | |
TO * | getRelatedTo (const std::string &name="", const std::string &namedRelation="") const |
Get the object to which this object has a relation. More... | |
template<class FROM > | |
FROM * | getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const |
Get the object from which this object has a relation. More... | |
template<class T > | |
T * | getRelated (const std::string &name="", const std::string &namedRelation="") const |
Get the object to or from which this object has a relation. More... | |
template<class TO > | |
std::pair< TO *, float > | getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const |
Get first related object & weight of relation pointing to an array. More... | |
template<class FROM > | |
std::pair< FROM *, float > | getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const |
Get first related object & weight of relation pointing from an array. More... | |
template<class T > | |
std::pair< T *, float > | getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const |
Get first related object & weight of relation pointing from/to an array. More... | |
virtual std::string | getName () const |
Return a short name that describes this object, e.g. More... | |
virtual std::string | getInfoHTML () const |
Return a short summary of this object's contents in HTML format. More... | |
std::string | getInfo () const |
Return a short summary of this object's contents in raw text format. More... | |
std::string | getArrayName () const |
Get name of array this object is stored in, or "" if not found. | |
int | getArrayIndex () const |
Returns this object's array index (in StoreArray), or -1 if not found. | |
Protected Member Functions | |
TClonesArray * | getArrayPointer () const |
Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse). | |
Private Member Functions | |
ClassDef (CDCDedxTrack, 17) | |
Debug output for CDCDedxPID module. | |
Private Attributes | |
int | m_track |
ID number of the Track. | |
int | m_charge |
particle charge from tracking (+1 or -1) | |
double | m_cosTheta |
cos(theta) for the track | |
double | m_p |
momentum at the IP | |
double | m_pCDC |
momentum at the inner layer of the CDC | |
double | m_length |
total distance travelled by the track | |
double | m_injring |
injection ring type of track's event | |
double | m_injtime |
time since last injection of track's event | |
double | m_pdg |
MC PID. | |
double | m_mcmass |
MC PID mass. | |
double | m_motherPDG |
MC PID of mother particle. | |
double | m_pTrue |
MC true momentum. | |
double | m_cosThetaTrue |
MC true cos(theta) | |
double | m_simDedx |
track level MC dE/dx truncated mean | |
double | m_scale |
scale factor to make electrons ~1 | |
double | m_cosCor |
calibration cosine correction | |
double | m_cosEdgeCor |
calibration cosine edge correction | |
double | m_runGain |
calibration run gain | |
double | m_timeGain |
calibration injection time gain | |
double | m_timeReso |
calibration injection time gain | |
std::vector< double > | m_hWireGain |
calibration hit gain (indexed on number of hits) | |
std::vector< double > | m_hTwodCor |
calibration 2-D correction (indexed on number of hits) | |
std::vector< double > | m_hOnedCor |
calibration 1-D correction (indexed on number of hits) | |
double | m_predmean [Const::ChargedStable::c_SetSize] |
predicted dE/dx truncated mean | |
double | m_predres [Const::ChargedStable::c_SetSize] |
predicted dE/dx resolution | |
double | m_dedxAvg |
dE/dx mean value per track | |
double | m_dedxAvgTruncated |
dE/dx truncated mean per track | |
double | m_dedxAvgTruncatedNoSat |
dE/dx truncated mean per track without the saturation correction | |
double | m_dedxAvgTruncatedErr |
standard deviation of m_dedxAvgTruncated | |
double | m_cdcChi [Const::ChargedStable::c_SetSize] |
chi values for each particle type | |
double | m_cdcLogl [Const::ChargedStable::c_SetSize] |
log likelihood for each particle, not including momentum prior | |
int | m_lNHitsUsed |
number of hits on this track used for truncated mean | |
std::vector< int > | m_lNHitsCombined |
number of hits combined in the layer | |
std::vector< int > | m_lWireLongestHit |
wire id for the longest hit in the layer | |
std::vector< int > | m_lLayer |
layer id corresponding to dedx | |
std::vector< double > | m_lPath |
distance flown through active medium in current segment | |
std::vector< double > | m_lDedx |
extracted dE/dx (arb. More... | |
std::vector< int > | m_hLWire |
wire ID within the layer | |
std::vector< int > | m_hWire |
continuous wire ID in the CDC | |
std::vector< int > | m_hLayer |
layer number | |
std::vector< double > | m_hPath |
path length in the CDC cell | |
std::vector< double > | m_hDedx |
charge per path length (dE/dx) | |
std::vector< int > | m_hADCCount |
adcCount per hit | |
std::vector< int > | m_hADCBaseCount |
adcCount base count (uncorrected) per hit | |
std::vector< double > | m_hDoca |
distance of closest approach to sense wire | |
std::vector< double > | m_hEnta |
entrance angle in CDC cell | |
std::vector< double > | m_hDocaRS |
distance of closest approach to sense wire after rescalling cell L=W | |
std::vector< double > | m_hEntaRS |
entrance angle in CDC cell after rescalling cell L=W | |
std::vector< double > | m_hdE |
charge per hit | |
std::vector< int > | m_hDriftT |
drift time for each hit | |
std::vector< double > | m_hDriftD |
drift distance for each hit | |
std::vector< double > | m_hDriftDRes |
drift distance resolution for each hit | |
std::vector< int > | m_hFoundByTrackFinder |
the 'found by track finder' flag for the given hit | |
std::vector< double > | m_hWeightPionHypo |
weight for pion hypothesis from KalmanFitterInfo | |
std::vector< double > | m_hWeightKaonHypo |
weight for kaon hypothesis from KalmanFitterInfo | |
std::vector< double > | m_hWeightProtHypo |
weight for proton hypothesis from KalmanFitterInfo | |
std::vector< double > | m_hCellHeight |
height of the CDC cell | |
std::vector< double > | m_hCellHalfWidth |
half-width of the CDC cell | |
DataStore::StoreEntry * | m_cacheDataStoreEntry |
Cache of the data store entry to which this object belongs. | |
int | m_cacheArrayIndex |
Cache of the index in the TClonesArray to which this object belongs. | |
Friends | |
class | CDCDedxPIDModule |
class | CDCDedxScanModule |
class | CDCDedxCorrectionModule |
Debug output for CDCDedxPID module.
Contains information of individual hits belonging to a track
Definition at line 25 of file CDCDedxTrack.h.
|
inlineinherited |
Add a relation from this object to another object (with caching).
object | The object to which the relation should point. |
weight | The weight of the relation. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 142 of file RelationsObject.h.
|
inlineinherited |
Add a relation from this object to another object (no caching, can be quite slow).
object | The object to which the relation should point. |
weight | The weight of the relation. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 155 of file RelationsObject.h.
|
inlineinherited |
Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).
Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.
Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.
Definition at line 170 of file RelationsObject.h.
|
inline |
Return the TrackFinder which added the given hit to track.
Int value corresponds to values of enum Belle2::RecoHitInformation::OriginTrackFinder
Definition at line 267 of file CDCDedxTrack.h.
|
inlineinherited |
Return a short summary of this object's contents in raw text format.
Returns the contents of getInfoHTML() while translating line-breaks etc.
Definition at line 370 of file RelationsObject.h.
|
inlinevirtualinherited |
Return a short summary of this object's contents in HTML format.
Reimplement this in your own class to provide useful output for display or debugging purposes. For example, you might do something like:
Reimplemented in RecoTrack, TRGSummary, TrackFitResult, Track, SoftwareTriggerResult, PIDLikelihood, MCParticle, Cluster, and Particle.
Definition at line 362 of file RelationsObject.h.
|
inlinevirtualinherited |
Return a short name that describes this object, e.g.
pi+ for an MCParticle.
Reimplemented in SpacePoint, MCParticle, and Particle.
Definition at line 344 of file RelationsObject.h.
|
inlineinherited |
Get the object to or from which this object has a relation.
T | The class of objects to or from which the relation points. |
name | The name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 278 of file RelationsObject.h.
|
inlineinherited |
Get the object from which this object has a relation.
FROM | The class of objects from which the relation points. |
name | The name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 263 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing from an array.
FROM | The class of objects from which the relation points. |
name | The name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 314 of file RelationsObject.h.
|
inlineinherited |
Get the object to which this object has a relation.
TO | The class of objects to which the relation points. |
name | The name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 248 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing to an array.
TO | The class of objects to which the relation points. |
name | The name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 297 of file RelationsObject.h.
|
inlineinherited |
Get first related object & weight of relation pointing from/to an array.
T | The class of objects to or from which the relation points. |
name | The name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 331 of file RelationsObject.h.
|
inlineinherited |
Get the relations that point from another store array to this object.
FROM | The class of objects from which the relations point. |
name | The name of the store array from which the relations point. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 212 of file RelationsObject.h.
|
inlineinherited |
Get the relations that point from this object to another store array.
TO | The class of objects to which the relations point. |
name | The name of the store array to which the relations point. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 197 of file RelationsObject.h.
|
inlineinherited |
Get the relations between this object and another store array.
Relations in both directions are returned.
T | The class of objects to or from which the relations point. |
name | The name of the store array to or from which the relations point. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered. |
namedRelation | Additional name for the relation, or "" for the default naming |
Definition at line 230 of file RelationsObject.h.
|
private |