Skip to content

Commit 876dafd

Browse files
committed
Merge branch 'renaming_plots' into add_data_TPCMFT_HF_h
2 parents 6ee35b4 + f98deb6 commit 876dafd

File tree

666 files changed

+102811
-30653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

666 files changed

+102811
-30653
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ExperimentalAutoDetectBinPacking: false
2424
IndentCaseLabels: true
2525
IndentFunctionDeclarationAfterType: true
2626
IndentWidth: 2
27+
InsertNewlineAtEOF: true
2728
# It is broken on windows. Breaks all #include "header.h"
2829
---
2930
Language: Cpp

.github/workflows/mega-linter.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: ml
3939
# You can override MegaLinter flavor used to have faster performances
4040
# More info at https://megalinter.io/flavors/
41-
uses: oxsecurity/megalinter@v7
41+
uses: oxsecurity/megalinter@v8
4242
env:
4343
# All available variables are described in documentation:
4444
# https://megalinter.io/configuration/
@@ -47,6 +47,16 @@ jobs:
4747
VALIDATE_ALL_CODEBASE: false
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949

50+
# Upload MegaLinter artifacts
51+
- name: Archive production artifacts
52+
uses: actions/upload-artifact@v4
53+
if: success() || failure()
54+
with:
55+
name: MegaLinter reports
56+
path: |
57+
megalinter-reports
58+
mega-linter.log
59+
5060
# Create or delete the cleanup branch
5161
- name: Update cleanup branch
5262
if: ${{ github.event.repository.owner.login == 'AliceO2Group' }}

ALICE3/Core/CMakeLists.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ o2physics_add_library(ALICE3Core
1515
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
1616

1717
o2physics_target_root_dictionary(ALICE3Core
18-
HEADERS TOFResoALICE3.h
19-
DelphesO2TrackSmearer.h
20-
LINKDEF ALICE3CoreLinkDef.h)
18+
HEADERS TOFResoALICE3.h
19+
DelphesO2TrackSmearer.h
20+
LINKDEF ALICE3CoreLinkDef.h)
21+
22+
o2physics_add_library(FastTracker
23+
SOURCES FastTracker.cxx
24+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
25+
26+
o2physics_target_root_dictionary(FastTracker
27+
HEADERS FastTracker.h
28+
LINKDEF FastTrackerLinkDef.h)

ALICE3/Core/DetLayer.h

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
12+
///
13+
/// \file DetLayer.h
14+
/// \author David Dobrigkeit Chinellato
15+
/// \since 11/03/2021
16+
/// \brief Basic struct to hold information regarding a detector layer to be used in fast simulation
17+
///
18+
19+
#ifndef ALICE3_CORE_DETLAYER_H_
20+
#define ALICE3_CORE_DETLAYER_H_
21+
22+
#include "TString.h"
23+
24+
namespace o2::fastsim
25+
{
26+
27+
struct DetLayer {
28+
// TString for holding name
29+
TString name;
30+
31+
// position variables
32+
float r; // radius in centimeters
33+
float z; // z dimension in centimeters
34+
35+
// material variables
36+
float x0; // radiation length
37+
float xrho; // density
38+
39+
// resolution variables for active layers
40+
float resRPhi; // RPhi resolution in centimeters
41+
float resZ; // Z resolution in centimeters
42+
43+
// efficiency
44+
float eff; // detection efficiency
45+
46+
// layer type
47+
int type; // 0: undefined/inert, 1: silicon, 2: gas/tpc
48+
};
49+
50+
} // namespace o2::fastsim
51+
52+
#endif // ALICE3_CORE_DETLAYER_H_

0 commit comments

Comments
 (0)