17#include <TVirtualPad.h>
33 float padLocal = tracklet.getPositionBinSigned() * constants::GRANULARITYTRKLPOS;
35 int mcmCol = (tracklet.getMCM() % constants::NMCMROBINCOL) + constants::NMCMROBINCOL * (tracklet.getROB() % 2);
42 return float((mcmCol + 1) * constants::NCOLMCM) + padLocal - 10.0;
48 : mDataSpan(dataspan), mPad(pad)
55 int det = -1,
rob = -1,
mcm = -1;
59 det =
x.getDetector();
64 det =
x.getDetector();
68 O2ERROR(
"found neither digits nor tracklets in MCM");
72 mName = Form(
"det%03d_rob%d_mcm%02d", det,
rob,
mcm);
73 mDesc = Form(
"Detector %02d_%d_%d (%03d) - MCM %d:%02d", det / 30, (det % 30) / 6, det % 6, det,
rob,
mcm);
79 mFirstPad = mcmcol * constants::NCOLMCM - 1;
80 mLastPad = (mcmcol + 1) * constants::NCOLMCM + 2;
93 auto adc = digit.getADC();
94 for (
int tb = 0; tb < 30; ++tb) {
112 trkl.SetLineColor(kRed);
113 trkl.SetLineWidth(3);
117 auto slope = -tracklet.getSlopeBinSigned() * constants::GRANULARITYTRKLSLOPE / constants::ADDBITSHIFTSLOPE;
128 TMarker clustermarker;
129 clustermarker.SetMarkerColor(kRed);
130 clustermarker.SetMarkerStyle(2);
131 clustermarker.SetMarkerSize(1.5);
134 cogmarker.SetMarkerColor(kGreen);
135 cogmarker.SetMarkerStyle(3);
136 cogmarker.SetMarkerSize(1.5);
138 for (
int p = 2; p <=
mDigitsHisto->GetNbinsX() - 1; ++p) {
152 clustermarker.DrawMarker(clpos,
t - 0.5);
162 hitmarker.SetMarkerColor(kBlue);
163 hitmarker.SetMarkerStyle(38);
165 if (hit.getCharge() > 0.0) {
166 hitmarker.SetMarkerSize(log10(hit.getCharge()));
167 hitmarker.DrawMarker(hit.getPadCol(), hit.getTimeBin());
175 line.SetLineColor(kBlue);
176 line.SetLineWidth(2.0);
179 line.DrawLine(trkl.getStartPoint().getPadCol(), trkl.getStartPoint().getTimeBin(), trkl.getEndPoint().getPadCol(), trkl.getEndPoint().getTimeBin());
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this baseline(disable=0)") AddOptionRTC(maxConsecTimeBinAboveThreshold
configStandalone Reconstruction rec_tpc float
MCMDisplay(RawDataSpan &mcmdata, TVirtualPad *pad=nullptr)
void drawMCTrackSegments()
RawDisplay(RawDataSpan &dataspan, TVirtualPad *pad=nullptr)
void drawDigits(std::string opt="colz")
float PadColF(o2::trd::Tracklet64 &tracklet)
Modified version of o2::trd::Tracklet64::getPadCol returning a float.
static int getROBSide(int irob)
boost::iterator_range< std::vector< o2::trd::Tracklet64 >::iterator > tracklets
std::vector< TrackSegment > makeMCTrackSegments()
boost::iterator_range< std::vector< o2::trd::Digit >::iterator > digits
boost::iterator_range< std::vector< HitPoint >::iterator > hits