Skip to content

Commit a22c25a

Browse files
authored
Merge branch 'AliceO2Group:dev' into new-detector4
2 parents 0638cac + 84dd75d commit a22c25a

File tree

32 files changed

+2295
-697
lines changed

32 files changed

+2295
-697
lines changed

Common/Constants/include/CommonConstants/PhysicsConstants.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ enum Pdg {
8888
kHyperHydrogen4 = 1010010040,
8989
kHyperHelium4 = 1010020040,
9090
kHyperHelium5 = 1010020050,
91-
kHyperHelium4Sigma = 1110020040
91+
kHyperHelium4Sigma = 1110020040,
92+
kLambda1520_Py = 102134
9293
};
9394

9495
/// \brief Declarations of masses for additional particles
@@ -150,6 +151,7 @@ constexpr double MassHyperHydrogen4 = 3.922434;
150151
constexpr double MassHyperHelium4 = 3.921728;
151152
constexpr double MassHyperHelium5 = 4.839961;
152153
constexpr double MassHyperHelium4Sigma = 3.995;
154+
constexpr double MassLambda1520_Py = 1.5195;
153155

154156
/// \brief Declarations of masses for particles in ROOT PDG_t
155157
constexpr double MassDown = 0.00467;

Common/Constants/include/CommonConstants/make_pdg_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class Pdg(Enum):
144144
kHyperHelium4 = 1010020040
145145
kHyperHelium5 = 1010020050
146146
kHyperHelium4Sigma = 1110020040
147-
147+
kLambda1520_Py = 102134 # PYTHIA code different from PDG
148148

149149
dbPdg = ROOT.o2.O2DatabasePDG
150150

DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/TimeDeadMap.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
#ifndef ALICEO2_ITSMFT_TIMEDEADMAP_H
1515
#define ALICEO2_ITSMFT_TIMEDEADMAP_H
1616

17-
#include "Rtypes.h"
18-
#include <vector>
17+
#include <Rtypes.h>
18+
19+
#include <cstdint>
1920
#include <map>
21+
#include <string>
22+
#include <vector>
2023

2124
namespace o2
2225
{

DataFormats/Headers/include/Headers/Stack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct Stack {
3838
struct freeobj {
3939
freeobj(memory_resource* mr) : resource(mr) {}
4040
memory_resource* resource{nullptr};
41-
void operator()(std::byte* ptr) { resource->deallocate(ptr, 0, 0); }
41+
void operator()(std::byte* ptr) { resource->deallocate(ptr, 0, alignof(std::max_align_t)); }
4242
};
4343

4444
public:

Detectors/CTP/workflowScalers/src/ctp-ccdb-orbit.cxx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,14 @@ int main(int argc, char** argv)
124124
ret = api.storeAsTFileAny(&(vect), ccdbPath, metadata, tmin, tmax);
125125
} else {
126126
std::cout << "Storing:" << ccdbPath << " tmin:" << tmin << " tmax:" << tmax << " ts:" << tt << std::endl;
127-
ret = api.storeAsTFileAny(&(vect), ccdbPath, metadata, tmin, tmax);
127+
std::string filename = "orbitReset.root";
128+
TClass* tcls = TClass::GetClass(typeid(vect));
129+
auto ti = tcls->GetTypeInfo();
130+
auto classname = "std::vector<int64_t>";
131+
metadata["adjustableEOV"] = "true";
132+
ret = api.storeAsTFile_impl(&(vect), *ti, ccdbPath, metadata, tmin, tmax);
133+
o2::ccdb::CcdbObjectInfo oi(ccdbPath, classname, filename, metadata, tmin, tmax);
134+
adjustOverriddenEOV(api, oi);
128135
}
129136
}
130137
//

Detectors/ITSMFT/ITS/macros/test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ o2_add_test_root_macro(CheckDuplicates.C
113113
PUBLIC_LINK_LIBRARIES O2::DataFormatsITS
114114
O2::DataFormatsITSMFT
115115
LABELS its)
116+
117+
o2_add_test_root_macro(CheckDROF.C
118+
PUBLIC_LINK_LIBRARIES O2::DataFormatsITS
119+
O2::DataFormatsITSMFT
120+
LABELS its)

0 commit comments

Comments
 (0)