|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Monte-Carlo track. More...
#include <BmnMCTrack.h>
Public Member Functions | |
| BmnMCTrack () | |
| Constructor. | |
| virtual | ~BmnMCTrack () |
| Destructor. | |
| void | AddPoint (DetectorId detId, const BmnMCPoint &point) |
| Add point to track. | |
| const vector< BmnMCPoint > & | GetPoints (DetectorId detId) const |
| Return vector of MC point for specified detector id. | |
| const BmnMCPoint & | GetPoint (DetectorId detId, Int_t index) const |
| Return MC point for specified detector id and point index. | |
| UInt_t | GetNofPoints (DetectorId detId) const |
| Return number of MC points for specified detector id. | |
| virtual string | ToString () const |
| Returns string representation of the class. | |
| BmnMCTrack () | |
| Constructor. | |
| virtual | ~BmnMCTrack () |
| Destructor. | |
| void | AddPoint (DetectorId detId, const BmnMCPoint &point) |
| Add point to track. | |
| const vector< BmnMCPoint > & | GetPoints (DetectorId detId) const |
| Return vector of MC point for specified detector id. | |
| const BmnMCPoint & | GetPoint (DetectorId detId, Int_t index) const |
| Return MC point for specified detector id and point index. | |
| UInt_t | GetNofPoints (DetectorId detId) const |
| Return number of MC points for specified detector id. | |
| virtual string | ToString () const |
| Returns string representation of the class. | |
Private Member Functions | |
| Int_t | MaxConsecutiveNumbers (const set< Int_t > &numbers) const |
| string | PointsToString (DetectorId detId, const string &detName) const |
| Int_t | MaxConsecutiveNumbers (const set< Int_t > &numbers) const |
| string | PointsToString (DetectorId detId, const string &detName) const |
Private Attributes | |
| map< Int_t, vector< BmnMCPoint > > | fPoints |
| Return number of MC points in different stations for specified detector id. | |
Friends | |
| ostream & | operator<< (ostream &strm, const BmnMCTrack &track) |
| Operator << for convenient output to ostream. | |
| ostream & | operator<< (ostream &strm, const BmnMCTrack &track) |
| Operator << for convenient output to ostream. | |
Definition at line 26 of file BmnMCTrack.h.
|
inline |
|
inlinevirtual |
Definition at line 58 of file BmnMCTrack.h.
|
inline |
|
inlinevirtual |
Definition at line 58 of file BmnMCTrack.h.
|
inline |
| [in] | detId | Detector identificator. |
| [in] | point | MC point to be added. |
Definition at line 65 of file BmnMCTrack.h.
References fPoints.
|
inline |
| [in] | detId | Detector identificator. |
| [in] | point | MC point to be added. |
Definition at line 65 of file BmnMCTrack.h.
References fPoints.
|
inline |
| [in] | detId | Detector identificator. |
Definition at line 96 of file BmnMCTrack.h.
References fPoints.
Referenced by GetPoint().
|
inline |
| [in] | detId | Detector identificator. |
Definition at line 96 of file BmnMCTrack.h.
References fPoints.
|
inline |
| [in] | detId | Detector identificator. |
| [in] | index | Index of MC point. |
Definition at line 85 of file BmnMCTrack.h.
References fPoints, and GetNofPoints().
|
inline |
| [in] | detId | Detector identificator. |
| [in] | index | Index of MC point. |
Definition at line 85 of file BmnMCTrack.h.
References fPoints, and GetNofPoints().
|
inline |
| [in] | detId | Detector identificator. |
Definition at line 77 of file BmnMCTrack.h.
References fPoints.
Referenced by BmnTrackingQa::CalcNumberOfMcPointInTrack().
|
inline |
| [in] | detId | Detector identificator. |
Definition at line 77 of file BmnMCTrack.h.
References fPoints.
Definition at line 176 of file BmnMCTrack.h.
References i.
Definition at line 176 of file BmnMCTrack.h.
References i.
|
inlineprivate |
Definition at line 199 of file BmnMCTrack.h.
Referenced by ToString().
|
inlineprivate |
Definition at line 199 of file BmnMCTrack.h.
|
inlinevirtual |
Definition at line 217 of file BmnMCTrack.h.
References kDCH, kGEM, kTOF, kTOF1, and PointsToString().
Referenced by operator<<.
|
inlinevirtual |
Definition at line 217 of file BmnMCTrack.h.
References kDCH, kGEM, kTOF, kTOF1, and PointsToString().
|
friend |
Definition at line 233 of file BmnMCTrack.h.
References BmnMCTrack(), and ToString().
|
friend |
Definition at line 233 of file BmnMCTrack.h.
References BmnMCTrack(), and ToString().
|
private |
| [in] | detId | Detector identificator. |
Return number of consecutive MC points for specified detector id. Currently works only for STS.
| [in] | detId | Detector identificator. |
Calculates number of consecutive MC points for specified detector id. Currently works only for STS.
| [in] | detId | Detector identificator. |
Return MC point for specified detector id and point index.
Before accessing points with this function one has to check the number of points on this station!
| [in] | detId | Detector identificator. |
| [in] | stationId | Station id. |
| [in] | index | Index of MC point. |
Return number of MC points for specified detector ID and station ID.
| [in] | detId | Detector identificator. |
| [in] | stationId | Station id. |
Definition at line 162 of file BmnMCTrack.h.
Referenced by BmnMCTrack(), AddPoint(), GetNofPoints(), GetPoint(), and GetPoints().