| 7 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 8 |
#include <TMatrixD.h> |
#include <TMatrixD.h> |
| 9 |
#include <TVector3.h> |
#include <TVector3.h> |
| 10 |
|
#include <string.h>//ELENA |
| 11 |
|
|
| 12 |
class OrbitalInfoTrkVar : public TObject { |
class OrbitalInfoTrkVar : public TObject { |
| 13 |
private: |
private: |
| 121 |
Int_t errq; // flag, if errq == 1 then real flight quaternion (not interpolated) incorrect |
Int_t errq; // flag, if errq == 1 then real flight quaternion (not interpolated) incorrect |
| 122 |
Int_t azim; // 0 - means everything is ok |
Int_t azim; // 0 - means everything is ok |
| 123 |
// 1 - means azimutal rotations were performed in this moment and in case of absense of flight quaternions orientation calculated here incorrect |
// 1 - means azimutal rotations were performed in this moment and in case of absense of flight quaternions orientation calculated here incorrect |
| 124 |
// >1 No flight quaternions, no azimuthal rotations, no adequate data from RotationTable, unaccuracy equals to Bank angle of rotetion in this moment |
// >1 - No flight quaternions, no azimuthal rotations, no adequate data from RotationTable, unaccuracy equals to Bank angle of rotetion in this moment |
| 125 |
|
// -1 - Very Strange flight data, I don't know how to understand them |
| 126 |
|
|
| 127 |
|
Int_t rtqual; // 0 - means orientation data for period whe this event registered is in agreement with fligh orioentation data, one can fully trust such event when it calculated using Rotation Table (qkind=1) |
| 128 |
|
// 1 - means orientation data was not compared with flight data (during of absence of them), one should check them somehow |
| 129 |
|
// 2 - means orientation data calculated with flight data has disagreement with rotation table data and thre were not enough of flight data to correct RT. |
| 130 |
|
|
| 131 |
Int_t ntrk(){return OrbitalInfoTrk->GetEntries();}; |
Int_t ntrk(){return OrbitalInfoTrk->GetEntries();}; |
| 132 |
/** |
/** |
| 143 |
void SetFromLevel2Struct(cOrbitalInfo *l2); |
void SetFromLevel2Struct(cOrbitalInfo *l2); |
| 144 |
void GetLevel2Struct(cOrbitalInfo *l2) const; |
void GetLevel2Struct(cOrbitalInfo *l2) const; |
| 145 |
OrbitalInfoTrkVar *GetOrbitalInfoTrkVar(Int_t notrack); |
OrbitalInfoTrkVar *GetOrbitalInfoTrkVar(Int_t notrack); |
| 146 |
|
OrbitalInfoTrkVar * GetOrbitalInfoStoredTrack(Int_t seqno);///< returns pointer to the track set related to the seqno number |
| 147 |
|
|
| 148 |
// |
// |
| 149 |
OrbitalInfo(); |
OrbitalInfo(); |
| 150 |
~OrbitalInfo(){Delete();}; //ELENA |
~OrbitalInfo(){Delete();}; //ELENA |
| 156 |
// |
// |
| 157 |
TClonesArray *GetTrackArray(){return OrbitalInfoTrk;} ///< returns a pointer to the track related variables array |
TClonesArray *GetTrackArray(){return OrbitalInfoTrk;} ///< returns a pointer to the track related variables array |
| 158 |
TClonesArray** GetPointerToTrackArray(){return &OrbitalInfoTrk;}///< returns pointer to pointer to the track array |
TClonesArray** GetPointerToTrackArray(){return &OrbitalInfoTrk;}///< returns pointer to pointer to the track array |
| 159 |
|
void SetTrackArray(TClonesArray *track);///<set pointer to the track array |
| 160 |
|
|
| 161 |
void Clear(Option_t *t=""); // emiliano |
void Clear(Option_t *t=""); // emiliano |
| 162 |
// |
// |
| 163 |
ClassDef(OrbitalInfo, 10); |
ClassDef(OrbitalInfo, 11); |
| 164 |
}; |
}; |
| 165 |
#endif |
#endif |