File tree Expand file tree Collapse file tree
Detectors/Upgrades/ALICE3
AOD/include/UpgradesAODUtils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,18 +52,6 @@ enum TreeIndex { // Index of the output trees
5252 kTrees // N/A
5353};
5454
55- enum TrackTypeEnum : uint8_t {
56- GlobalTrack = 0 ,
57- ITSStandalone,
58- MFTStandalone,
59- Run2GlobalTrack = 254 ,
60- Run2Tracklet = 255
61- }; // corresponds to O2/Core/Framework/include/Framework/DataTypes.h
62- enum TrackFlagsRun2Enum {
63- ITSrefit = 0x1 ,
64- TPCrefit = 0x2 ,
65- GoldenChi2 = 0x4
66- }; // corresponds to O2/Core/Framework/include/Framework/DataTypes.h
6755enum MCParticleFlags : uint8_t {
6856 ProducedInTransport = 1 // Bit 0: 0 = from generator; 1 = from transport
6957};
@@ -309,4 +297,4 @@ struct {
309297} // namespace upgrades_utils
310298} // namespace o2
311299
312- #endif
300+ #endif
Original file line number Diff line number Diff line change 4848#include "SimulationDataFormat/MCTruthContainer.h"
4949#include "ReconstructionDataFormats/DCA.h"
5050#include "ReconstructionDataFormats/Vertex.h"
51+ #include "Framework/DataTypes.h"
5152#include "UpgradesAODUtils/Run2LikeAO2D.h"
5253#endif
5354
@@ -528,12 +529,12 @@ void ALICE3toAO2D()
528529 hPtSpectraFake -> Fill (track .getPt ());
529530
530531 tracks .fCollisionsID = lEventNumber ;
531- tracks .fTrackType = TrackTypeEnum ::Run2GlobalTrack ; //Make track selection happy, please
532+ tracks .fTrackType = o2 :: aod :: track :: TrackTypeEnum ::Run2Track ; //Make track selection happy, please
532533 tracks .fFlags = 0x0 ;
533534 //Assume it all worked, fool regular selections
534- tracks .fFlags |= TrackFlagsRun2Enum ::ITSrefit ;
535- tracks .fFlags |= TrackFlagsRun2Enum ::TPCrefit ;
536- tracks .fFlags |= TrackFlagsRun2Enum ::GoldenChi2 ;
535+ tracks .fFlags |= o2 :: aod :: track :: TrackFlagsRun2Enum ::ITSrefit ;
536+ tracks .fFlags |= o2 :: aod :: track :: TrackFlagsRun2Enum ::TPCrefit ;
537+ tracks .fFlags |= o2 :: aod :: track :: TrackFlagsRun2Enum ::GoldenChi2 ;
537538
538539 //Main: X, alpha, track params
539540 tracks .fX = track .getX ();
You can’t perform that action at this time.
0 commit comments