Skip to content

Commit d48785f

Browse files
committed
do not leave uninitialized variables
1 parent 7ad69b8 commit d48785f

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎DPG/Tasks/TPC/tpcSkimsTableCreator.cxx‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -698,20 +698,20 @@ struct TreeWriterTpcTof {
698698
HistogramRegistry registry{"registry", {}};
699699

700700
struct TofTrack {
701-
bool isApplyHardCutOnly;
702-
double maxMomHardCutOnly;
703-
double maxMomTPCOnly;
704-
double tpcNSigma;
705-
double nSigmaTPCOnly;
706-
double downsamplingTsalis;
707-
double mass;
708-
double tofNSigma;
709-
double itsNSigma;
710-
double tpcExpSignal;
711-
o2::track::PID::ID pid;
712-
double dwnSmplFactor;
713-
double nSigmaTofTpctof;
714-
double nSigmaTpcTpctof;
701+
bool isApplyHardCutOnly{false};
702+
double maxMomHardCutOnly{UndefValueDouble};
703+
double maxMomTPCOnly{UndefValueDouble};
704+
double tpcNSigma{UndefValueDouble};
705+
double nSigmaTPCOnly{UndefValueDouble};
706+
double downsamplingTsalis{UndefValueDouble};
707+
double mass{UndefValueDouble};
708+
double tofNSigma{UndefValueDouble};
709+
double itsNSigma{UndefValueDouble};
710+
double tpcExpSignal{UndefValueDouble};
711+
o2::track::PID::ID pid{0};
712+
double dwnSmplFactor{UndefValueDouble};
713+
double nSigmaTofTpctof{UndefValueDouble};
714+
double nSigmaTpcTpctof{UndefValueDouble};
715715
};
716716

717717
Service<o2::ccdb::BasicCCDBManager> ccdb{};

0 commit comments

Comments
 (0)