Skip to content

Commit 0fabd0e

Browse files
committed
MegaLinter fixes
1 parent ce16e1a commit 0fabd0e

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

PWGDQ/DataModel/ReducedInfoTables.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ namespace reducedmft
267267
DECLARE_SOA_INDEX_COLUMN(ReducedEvent, reducedevent); //!
268268
DECLARE_SOA_COLUMN(FilteringFlags, filteringFlags, uint8_t); //!
269269

270-
DECLARE_SOA_COLUMN(Pt, pt, float); //!
271-
DECLARE_SOA_COLUMN(Eta, eta, float); //!
272-
DECLARE_SOA_COLUMN(Phi, phi, float); //!
273-
DECLARE_SOA_COLUMN(Sign, sign, int); //!
270+
DECLARE_SOA_COLUMN(Pt, pt, float); //!
271+
DECLARE_SOA_COLUMN(Eta, eta, float); //!
272+
DECLARE_SOA_COLUMN(Phi, phi, float); //!
273+
DECLARE_SOA_COLUMN(Sign, sign, int); //!
274274
DECLARE_SOA_COLUMN(MftClusterSizesAndTrackFlags, mftClusterSizesAndTrackFlags, uint64_t); //!
275275
} // namespace reducedmft
276276

@@ -438,27 +438,27 @@ DECLARE_SOA_COLUMN(FwdDcaY2, fwdDcaY2, float); //! Y component of forward DCA
438438
// pair information
439439
namespace reducedpair
440440
{
441-
DECLARE_SOA_INDEX_COLUMN(ReducedEvent, reducedevent); //!
442-
DECLARE_SOA_COLUMN(Mass, mass, float); //!
443-
DECLARE_SOA_COLUMN(Pt, pt, float); //!
444-
DECLARE_SOA_COLUMN(Eta, eta, float); //!
445-
DECLARE_SOA_COLUMN(Phi, phi, float); //!
446-
DECLARE_SOA_COLUMN(Sign, sign, int); //!
447-
DECLARE_SOA_COLUMN(FilterMap, filterMap, uint32_t); //!
448-
DECLARE_SOA_COLUMN(McDecision, mcDecision, uint32_t); //!
449-
DECLARE_SOA_COLUMN(Tauz, tauz, float); //! Longitudinal pseudo-proper time of lepton pair (in ns)
450-
DECLARE_SOA_COLUMN(TauzErr, tauzErr, float); //! Error on longitudinal pseudo-proper time of lepton pair (in ns)
451-
DECLARE_SOA_COLUMN(Tauxy, tauxy, float); //! Transverse pseudo-proper time of lepton pair (in ns)
452-
DECLARE_SOA_COLUMN(TauxyErr, tauxyErr, float); //! Error on transverse pseudo-proper time of lepton pair (in ns)
453-
DECLARE_SOA_COLUMN(Lz, lz, float); //! Longitudinal projection of decay length
454-
DECLARE_SOA_COLUMN(Lxy, lxy, float); //! Transverse projection of decay length
455-
DECLARE_SOA_COLUMN(Chi2pca, chi2pca, float); //! Chi2 for PCA of the dilepton
441+
DECLARE_SOA_INDEX_COLUMN(ReducedEvent, reducedevent); //!
442+
DECLARE_SOA_COLUMN(Mass, mass, float); //!
443+
DECLARE_SOA_COLUMN(Pt, pt, float); //!
444+
DECLARE_SOA_COLUMN(Eta, eta, float); //!
445+
DECLARE_SOA_COLUMN(Phi, phi, float); //!
446+
DECLARE_SOA_COLUMN(Sign, sign, int); //!
447+
DECLARE_SOA_COLUMN(FilterMap, filterMap, uint32_t); //!
448+
DECLARE_SOA_COLUMN(McDecision, mcDecision, uint32_t); //!
449+
DECLARE_SOA_COLUMN(Tauz, tauz, float); //! Longitudinal pseudo-proper time of lepton pair (in ns)
450+
DECLARE_SOA_COLUMN(TauzErr, tauzErr, float); //! Error on longitudinal pseudo-proper time of lepton pair (in ns)
451+
DECLARE_SOA_COLUMN(Tauxy, tauxy, float); //! Transverse pseudo-proper time of lepton pair (in ns)
452+
DECLARE_SOA_COLUMN(TauxyErr, tauxyErr, float); //! Error on transverse pseudo-proper time of lepton pair (in ns)
453+
DECLARE_SOA_COLUMN(Lz, lz, float); //! Longitudinal projection of decay length
454+
DECLARE_SOA_COLUMN(Lxy, lxy, float); //! Transverse projection of decay length
455+
DECLARE_SOA_COLUMN(Chi2pca, chi2pca, float); //! Chi2 for PCA of the dilepton
456456
DECLARE_SOA_COLUMN(CosPointingAngle, cosPointingAngle, float); //! Cosine of the pointing angle
457-
DECLARE_SOA_COLUMN(U2Q2, u2q2, float); //! Scalar product between unitary vector with event flow vector (harmonic 2)
458-
DECLARE_SOA_COLUMN(U3Q3, u3q3, float); //! Scalar product between unitary vector with event flow vector (harmonic 3)
459-
DECLARE_SOA_COLUMN(Cos2DeltaPhi, cos2deltaphi, float); //! Cosinus term using event plane angle (harmonic 2)
460-
DECLARE_SOA_COLUMN(Cos3DeltaPhi, cos3deltaphi, float); //! Cosinus term using event plane angle (harmonic 3)
461-
DECLARE_SOA_COLUMN(CollisionId, collisionId, int); //!
457+
DECLARE_SOA_COLUMN(U2Q2, u2q2, float); //! Scalar product between unitary vector with event flow vector (harmonic 2)
458+
DECLARE_SOA_COLUMN(U3Q3, u3q3, float); //! Scalar product between unitary vector with event flow vector (harmonic 3)
459+
DECLARE_SOA_COLUMN(Cos2DeltaPhi, cos2deltaphi, float); //! Cosinus term using event plane angle (harmonic 2)
460+
DECLARE_SOA_COLUMN(Cos3DeltaPhi, cos3deltaphi, float); //! Cosinus term using event plane angle (harmonic 3)
461+
DECLARE_SOA_COLUMN(CollisionId, collisionId, int); //!
462462
// DECLARE_SOA_INDEX_COLUMN(ReducedMuon, reducedmuon2); //!
463463
DECLARE_SOA_DYNAMIC_COLUMN(Px, px, //!
464464
[](float pt, float phi) -> float { return pt * std::cos(phi); });

PWGDQ/TableProducer/tableMaker.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ struct TableMaker {
192192
Preslice<aod::FwdTrackAssoc> fwdtrackIndicesPerCollision = aod::track_association::collisionId;
193193

194194
Service<o2::ccdb::BasicCCDBManager> ccdb;
195-
bool fDoDetailedQA = false; // Bool to set detailed QA true, if QA is set true
195+
bool fDoDetailedQA = false; // Bool to set detailed QA true, if QA is set true
196196
bool fDoDetailedMftQA = false; // Bool to set detailed MFT QA true, if QA is set true
197-
int fCurrentRun; // needed to detect if the run changed and trigger update of calibrations etc.
197+
int fCurrentRun; // needed to detect if the run changed and trigger update of calibrations etc.
198198

199199
// TODO: filter on TPC dedx used temporarily until electron PID will be improved
200200
Filter barrelSelectedTracks = ifnode(fIsRun2.node() == true, aod::track::trackType == uint8_t(aod::track::Run2Track), aod::track::trackType == uint8_t(aod::track::Track)) && o2::aod::track::pt >= fConfigBarrelTrackPtLow && nabs(o2::aod::track::eta) <= fConfigBarrelTrackMaxAbsEta && o2::aod::track::tpcSignal >= fConfigMinTpcSignal && o2::aod::track::tpcSignal <= fConfigMaxTpcSignal && o2::aod::track::tpcChi2NCl < 4.0f && o2::aod::track::itsChi2NCl < 36.0f;

0 commit comments

Comments
 (0)