Skip to content
Snippets Groups Projects
Commit 7cfa527f authored by Oleg Golosov's avatar Oleg Golosov
Browse files

TOF hit fields initialization

parent 9fbd76db
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
#define DataTreeTOFHit_H 1
#include <vector>
#include <array>
#include <iostream>
#include "TClonesArray.h"
#include "TObject.h"
......@@ -50,16 +51,16 @@ public:
private:
int fId;
int fStatus;
std::vector <int> fRecoTrackId;
float fPosition[3];
int fId {-999};
int fStatus {-999};
std::vector <int> fRecoTrackId {};
std::array <float, 3> fPosition {{0., 0., 0.}};
float fTime;
float fPathLength;
float fCharge;
float fSquaredMass;
float fSquaredMassError;
float fPathLength {-1.};
float fCharge {-999};
float fSquaredMass {-999.};
float fSquaredMassError {-999.};
ClassDefNV(DataTreeTOFHit, 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment