Skip to content

Commit 8020da3

Browse files
Add new TRD calibration includes and variables - fix TRD extra information
1 parent c1dce5b commit 8020da3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Detectors/AOD/include/AODProducerWorkflow/AODProducerWorkflowSpec.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include "DataFormatsTRD/TrackTRD.h"
2222
#include "TRDBase/PadCalibrationsAliases.h"
2323
#include "DataFormatsTRD/NoiseCalibration.h"
24+
#include "DataFormatsTRD/CalGain.h"
25+
#include "DataFormatsTRD/Constants.h"
2426
#include "DetectorsBase/GRPGeomHelper.h"
2527
#include "DetectorsBase/Propagator.h"
2628
#include "Framework/DataProcessorSpec.h"
@@ -239,6 +241,8 @@ class AODProducerWorkflowDPL : public Task
239241
bool mThinTracks{false};
240242
bool mPropTracks{false};
241243
bool mPropMuons{false};
244+
float mTrackQCKeepGlobalTracks{false};
245+
float mTrackQCRetainOnlydEdx{false};
242246
float mTrackQCFraction{0.00};
243247
int64_t mTrackQCNTrCut{4};
244248
float mTrackQCDCAxy{3.};
@@ -251,6 +255,7 @@ class AODProducerWorkflowDPL : public Task
251255
float mMaxPropXiu{5.0f}; // max X_IU for which track is to be propagated if mPropTracks is true. (other option: o2::constants::geom::XTPCInnerRef + 0.1f)
252256

253257
const o2::trd::LocalGainFactor* mTRDLocalGain; // TRD local gain factors from krypton calibration
258+
const o2::trd::CalGain* mTRDGainCalib; // TRD time-dependent gain calib at chamber level
254259
const o2::trd::NoiseStatusMCM* mTRDNoiseMap; // TRD noise map
255260

256261
std::unordered_set<GIndex> mGIDUsedBySVtx;
@@ -282,6 +287,7 @@ class AODProducerWorkflowDPL : public Task
282287
TStopwatch mTimer;
283288
bool mEMCselectLeading{false};
284289
uint64_t mEMCALTrgClassMask = 0;
290+
size_t mCurrentTRDTrigID = 0; // current index of the TRD trigger record, to speed up search
285291

286292
// unordered map connects global indices and table indices of barrel tracks
287293
std::unordered_map<GIndex, int> mGIDToTableID;

0 commit comments

Comments
 (0)