@@ -38,7 +38,8 @@ namespace tpc
3838class TPCInterpolationDPL : public Task
3939{
4040 public:
41- TPCInterpolationDPL (std::shared_ptr<o2::globaltracking::DataRequest> dr, o2::dataformats::GlobalTrackID::mask_t src, o2::dataformats::GlobalTrackID::mask_t srcMap, std::shared_ptr<o2::base::GRPGeomRequest> gr, bool useMC, bool processITSTPConly, bool sendTrackData, bool debugOutput) : mDataRequest (dr), mSources (src), mSourcesMap (srcMap), mGGCCDBRequest (gr), mUseMC (useMC), mProcessITSTPConly (processITSTPConly), mSendTrackData (sendTrackData), mDebugOutput (debugOutput) {}
41+ TPCInterpolationDPL (std::shared_ptr<o2::globaltracking::DataRequest> dr, o2::dataformats::GlobalTrackID::mask_t src, o2::dataformats::GlobalTrackID::mask_t srcMap, std::shared_ptr<o2::base::GRPGeomRequest> gr, bool useMC,
42+ bool processITSTPConly, bool sendTrackData, bool debugOutput, bool extDetResid) : mDataRequest (dr), mSources (src), mSourcesMap (srcMap), mGGCCDBRequest (gr), mUseMC (useMC), mProcessITSTPConly (processITSTPConly), mSendTrackData (sendTrackData), mDebugOutput (debugOutput), mExtDetResid (extDetResid) {}
4243 ~TPCInterpolationDPL () override = default ;
4344 void init (InitContext& ic) final ;
4445 void run (ProcessingContext& pc) final ;
@@ -58,14 +59,16 @@ class TPCInterpolationDPL : public Task
5859 bool mProcessITSTPConly {false }; // /< should also tracks without outer point (ITS-TPC only) be processed?
5960 bool mProcessSeeds {false }; // /< process not only most complete track, but also its shorter parts
6061 bool mDebugOutput {false }; // /< add more information to the output (track points of ITS, TRD and TOF)
62+ bool mExtDetResid {true }; // /< produce unbinned residuals for external detectors
6163 bool mSendTrackData {false }; // /< if true, not only the clusters but also corresponding track data will be sent
6264 uint32_t mSlotLength {600u }; // /< the length of one calibration slot required to calculate max number of tracks per TF
6365 int mMatCorr {2 }; // /< the material correction to be used for track interpolation
6466 TStopwatch mTimer ;
6567};
6668
6769// / create a processor spec
68- framework::DataProcessorSpec getTPCInterpolationSpec (o2::dataformats::GlobalTrackID::mask_t srcCls, o2::dataformats::GlobalTrackID::mask_t srcVtx, o2::dataformats::GlobalTrackID::mask_t srcTrk, o2::dataformats::GlobalTrackID::mask_t srcTrkMap, bool useMC, bool processITSTPConly, bool sendTrackData, bool debugOutput);
70+ framework::DataProcessorSpec getTPCInterpolationSpec (o2::dataformats::GlobalTrackID::mask_t srcCls, o2::dataformats::GlobalTrackID::mask_t srcVtx, o2::dataformats::GlobalTrackID::mask_t srcTrk,
71+ o2::dataformats::GlobalTrackID::mask_t srcTrkMap, bool useMC, bool processITSTPConly, bool sendTrackData, bool debugOutput, bool extDetResid);
6972
7073} // namespace tpc
7174} // namespace o2
0 commit comments