CbmRoot
|
#include <LitHitDataMuon.h>
Public Member Functions | |
LitHitDataMuon () | |
Constructor. More... | |
virtual | ~LitHitDataMuon () |
Destructor. More... | |
void | SetDetectorLayout (const LitDetectorLayoutMuon< T > &layout) |
Set detector layout for which hits are arranged. More... | |
void | AddHit (int stationGroup, int station, int substation, LitScalPixelHit *hit) |
Add hit using station group, station and substation indices. More... | |
void | AddHit (unsigned char planeId, LitScalPixelHit *hit) |
Add hit using absolute detector plane (substation) index in the detector. More... | |
const LitScalPixelHit * | GetHit (int stationGroup, int station, int substation, int hitId) const |
Return hit using station group, station and substation indices. More... | |
const std::vector< LitScalPixelHit * > & | GetHits (int stationGroup, int station, int substation) |
Return hit vector using station group, station and substation indices. More... | |
unsigned int | GetNofHits (int stationGroup, int station, int substation) const |
Return number of hits for the specified substation. More... | |
fscal | GetMaxErr (int stationGroup, int station, int substation) const |
Return maximum hit error in [cm] for the specified substation. More... | |
void | Clear () |
Clear hit arrays. More... | |
void | SortHits () |
Sort hits in each substation by X coordinate. More... | |
std::string | ToString () const |
Return std::string representation for the class. More... | |
void | StationByPlaneId (unsigned char planeId, unsigned char &stationGroup, unsigned char &station, unsigned char &substation) const |
Calculate station group, station and substation indices using the detector plane number. More... | |
Public Attributes | |
std::vector< std::vector< std::vector< PixelHitArray > > > | fHits |
std::vector< std::vector< std::vector< fscal > > > | fMaxErr |
LitDetectorLayoutMuon< T > | fLayout |
Friends | |
std::ostream & | operator<< (std::ostream &strm, const LitHitDataMuon &hitData) |
Operator << for convenient output to std::ostream. More... | |
Definition at line 28 of file LitHitDataMuon.h.
|
inline |
Constructor.
Definition at line 33 of file LitHitDataMuon.h.
|
inlinevirtual |
Destructor.
Definition at line 38 of file LitHitDataMuon.h.
|
inline |
Add hit using station group, station and substation indices.
[in] | stationGroup | Index of the station group in the detector. |
[in] | station | Index of the station in the station group. |
[in] | substation | Index of the substation in the station. |
[in] | hit | Pointer to the hit to be added. |
Definition at line 71 of file LitHitDataMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::AddHit().
|
inline |
Add hit using absolute detector plane (substation) index in the detector.
[in] | planeId | Index of the detector plane (substation) in the detector. |
[in] | hit | Pointer to the hit to be added. |
Definition at line 86 of file LitHitDataMuon.h.
|
inline |
Clear hit arrays.
Definition at line 145 of file LitHitDataMuon.h.
|
inline |
Return hit using station group, station and substation indices.
[in] | stationGroup | Index of the station group in the detector. |
[in] | station | Index of the station in the station group. |
[in] | substation | Index of the substation in the station. |
[in] | hitId | Hit index in the array of hits for the specified substation. |
Definition at line 103 of file LitHitDataMuon.h.
|
inline |
Return hit vector using station group, station and substation indices.
[in] | stationGroup | Index of the station group in the detector. |
[in] | station | Index of the station in the station group. |
[in] | substation | Index of the substation in the station. |
Definition at line 115 of file LitHitDataMuon.h.
|
inline |
Return maximum hit error in [cm] for the specified substation.
[in] | stationGroup | Index of the station group in the detector. |
[in] | station | Index of the station in the station group. |
[in] | substation | Index of the substation in the station. |
Definition at line 138 of file LitHitDataMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::ToString().
|
inline |
Return number of hits for the specified substation.
[in] | stationGroup | Index of the station group in the detector. |
[in] | station | Index of the station in the station group. |
[in] | substation | Index of the substation in the station. |
Definition at line 127 of file LitHitDataMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::ToString().
|
inline |
Set detector layout for which hits are arranged.
[in] | layout | Detector layout. |
Definition at line 44 of file LitHitDataMuon.h.
|
inline |
Sort hits in each substation by X coordinate.
Definition at line 160 of file LitHitDataMuon.h.
|
inline |
Calculate station group, station and substation indices using the detector plane number.
[in] | planeId | Detector plane index. |
[out] | stationGroup | Index of the station group in the detector. |
[out] | station | Index of the station in the station group. |
[out] | subsattion | Index of the substation in the station. |
Definition at line 215 of file LitHitDataMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::AddHit().
|
inline |
Return std::string representation for the class.
Definition at line 180 of file LitHitDataMuon.h.
|
friend |
Operator << for convenient output to std::ostream.
Definition at line 201 of file LitHitDataMuon.h.
std::vector<std::vector<std::vector<PixelHitArray> > > lit::parallel::LitHitDataMuon< T >::fHits |
Definition at line 235 of file LitHitDataMuon.h.
Referenced by lit::parallel::LitHitDataMuon< F32vec4 >::AddHit(), lit::parallel::LitHitDataMuon< F32vec4 >::Clear(), lit::parallel::LitHitDataMuon< F32vec4 >::GetHit(), lit::parallel::LitHitDataMuon< F32vec4 >::GetHits(), lit::parallel::LitHitDataMuon< F32vec4 >::GetNofHits(), lit::parallel::LitHitDataMuon< F32vec4 >::SetDetectorLayout(), and lit::parallel::LitHitDataMuon< F32vec4 >::SortHits().
LitDetectorLayoutMuon<T> lit::parallel::LitHitDataMuon< T >::fLayout |
std::vector<std::vector<std::vector<fscal> > > lit::parallel::LitHitDataMuon< T >::fMaxErr |