34 for (
size_t i = 0; i <
sz; i++) {
43 for (
size_t i = 0; i < ncells; i++) {
50 for (
size_t i = 0; i < nseg; i++) {
56 ((part&0xFF)<<24) | ((mod&0xFF)<<16) | ((samp&0xFF)<<8);
95 std::vector<int> segmentPartition(pms);
96 std::vector<int> segmentModule(pms);
97 std::vector<int> segmentSampling(pms);
99 for (
size_t i = 0; i < pms; i++) {
101 segmentPartition[i] = (
x>>24) & 0xFF;
102 segmentModule[i] = (
x>>16) & 0xFF;
103 segmentSampling[i] = (
x>>8) & 0xFF;
virtual void persToTrans(const TileCosmicMuon_p2 *persObj, TileCosmicMuon *transObj, MsgStream &log) const override
Method creating the transient representation TileCosmicMuon from its persistent representation TileCo...
virtual void transToPers(const TileCosmicMuon *transObj, TileCosmicMuon_p2 *persObj, MsgStream &log) const override
Method creating the persistent representation TileCosmicMuon_p2 from its transient representation Til...
std::vector< float > m_segmentPath
Vector with length of track within Tile on a given segment.
float m_positionX
X coordinate of point in track at selected plane (y=0 for cosmics z=0 for beam)
std::vector< float > m_pathTop
Vector with length of track within Tile on top modules [0]:sampling A; [1]: BC; [2]: D.
float m_fitQuality
Fit parameter: 0= no fit; (Hough) 1=fit ok; (Minuit) >0 chi-square.
std::vector< float > m_energyBottom
Vector with sum energy of cells close to track on bottom modules [0]:sampling A; [1]: BC; [2]: D.
float m_positionY
Y coordinate of point in track at selected plane (y=0 for cosmics z=0 for beam)
std::vector< float > m_pathBottom
Vector with length of track within Tile on bottom modules [0]:sampling A; [1]: BC; [2]: D.
float m_directionPhi
Phi angle of track direction.
std::vector< float > m_energyTop
Vector with sum energy of cells close to track on top modules [0]:sampling A; [1]: BC; [2]: D.
std::vector< unsigned int > m_segmentPartitionModuleSampling
Vector with segment partition/module/sampling - one byte for each.
int m_fitNCells
Number of cells used in fit.
float m_directionTheta
Theta angle of track direction.
std::vector< unsigned int > m_trackCellHash
Vector with list of Identifier Hash of cells close to track.
float m_time
Time of track at selected plane (y=0 for cosmics z=0 for beam)
float m_positionZ
Z coordinate of point in track at selected plane (y=0 for cosmics z=0 for beam)
Class containing detailed results from TileMuonFitter.
int GetSegmentPartition(int ind) const
int GetTrackNCells() const
IdentifierHash GetTrackCellHash(int ind) const
void SetSegmentModule(const std::vector< int > &module)
void SetPathBottom(const std::vector< double > &path)
void SetEnergyBottom(const std::vector< double > &energy)
double GetPositionY() const
double GetPathBottom(int ind) const
void SetPositionZ(double posz)
void SetPositionY(double posy)
double GetPositionZ() const
void SetTime(double time)
Setters.
void SetDirectionTheta(double theta)
int GetSegmentSampling(int ind) const
double GetDirectionPhi() const
double GetPathTop(int ind) const
void SetSegmentPath(const std::vector< double > &path)
double GetEnergyBottom(int ind) const
void SetSegmentSampling(const std::vector< int > &sampling)
void SetSegmentPartition(const std::vector< int > &partition)
void SetEnergyTop(const std::vector< double > &energy)
void SetFitNCells(int ncells)
void SetTrackCellHash(const std::vector< IdentifierHash > &cells)
double GetFitQuality() const
double GetSegmentPath(int ind) const
void SetPositionX(double posx)
void SetPathTop(const std::vector< double > &path)
double GetEnergyTop(int ind) const
double GetTime() const
Getters.
void SetFitQuality(double quality)
int GetSegmentModule(int ind) const
double GetPositionX() const
void SetDirectionPhi(double phi)
double GetDirectionTheta() const