Skip to content

Commit 02871af

Browse files
committed
Fix types
1 parent e0481d5 commit 02871af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ struct HfTrackIndexSkimCreator {
11881188

11891189
struct : ConfigurableGroup {
11901190
Configurable<bool> isRun2{"isRun2", false, "enable Run 2 or Run 3 GRP objects for magnetic field"};
1191-
Configurable<bool> do3Prong{"do3Prong", 0, "do 3 prong"};
1191+
Configurable<bool> do3Prong{"do3Prong", false, "do 3 prong"};
11921192
Configurable<bool> doDstar{"doDstar", false, "do D* candidates"};
11931193
Configurable<bool> debug{"debug", false, "debug mode"};
11941194
Configurable<bool> debugPvRefit{"debugPvRefit", false, "debug lines for primary vertex refit"};
@@ -2117,8 +2117,8 @@ struct HfTrackIndexSkimCreator {
21172117

21182118
std::array<std::vector<bool>, kN2ProngDecays> cutStatus2Prong;
21192119
std::array<std::vector<bool>, kN3ProngDecays> cutStatus3Prong;
2120-
bool nCutStatus2ProngBit[kN2ProngDecays]; // bit value for selection status for each 2-prong candidate where each selection is one bit and they are all set to 1
2121-
bool nCutStatus3ProngBit[kN3ProngDecays]; // bit value for selection status for each 3-prong candidate where each selection is one bit and they are all set to 1
2120+
uint8_t nCutStatus2ProngBit[kN2ProngDecays]; // bit value for selection status for each 2-prong candidate where each selection is one bit and they are all set to 1
2121+
uint8_t nCutStatus3ProngBit[kN3ProngDecays]; // bit value for selection status for each 3-prong candidate where each selection is one bit and they are all set to 1
21222122

21232123
for (int iDecay2P = 0; iDecay2P < kN2ProngDecays; iDecay2P++) {
21242124
nCutStatus2ProngBit[iDecay2P] = BIT(kNCuts2Prong[iDecay2P]) - 1;
@@ -2324,7 +2324,7 @@ struct HfTrackIndexSkimCreator {
23242324
}
23252325

23262326
if (config.debug) {
2327-
int prong2CutStatus[kN2ProngDecays];
2327+
uint8_t prong2CutStatus[kN2ProngDecays];
23282328
for (int iDecay2P = 0; iDecay2P < kN2ProngDecays; iDecay2P++) {
23292329
prong2CutStatus[iDecay2P] = nCutStatus2ProngBit[iDecay2P];
23302330
for (int iCut = 0; iCut < kNCuts2Prong[iDecay2P]; iCut++) {
@@ -2588,7 +2588,7 @@ struct HfTrackIndexSkimCreator {
25882588
}
25892589

25902590
if (config.debug) {
2591-
int prong3CutStatus[kN3ProngDecays];
2591+
uint8_t prong3CutStatus[kN3ProngDecays];
25922592
for (int iDecay3P = 0; iDecay3P < kN3ProngDecays; iDecay3P++) {
25932593
prong3CutStatus[iDecay3P] = nCutStatus3ProngBit[iDecay3P];
25942594
for (int iCut = 0; iCut < kNCuts3Prong[iDecay3P]; iCut++) {

0 commit comments

Comments
 (0)