Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cc5bcbe
Initial commit for FT0 and FV0 amplitude bits per channel propagation…
sandor-lokos Feb 9, 2026
18a90ac
Refactored FIT bit implementation. NOTE: no functionality changed!
sandor-lokos Mar 23, 2026
cb615e9
deleted processCountersTrg function from SGCandProducer
sandor-lokos Mar 24, 2026
3cd6658
Set default thresholds for the FIT bits
sandor-lokos Mar 24, 2026
d0b324b
Formatting fixes
sandor-lokos Mar 24, 2026
30d11c3
Formatting fixes
sandor-lokos Mar 24, 2026
79d59ac
Formatting fixes
sandor-lokos Mar 24, 2026
c4d6505
Formatting fixes
sandor-lokos Mar 24, 2026
2ac21b0
Formatting fixes
sandor-lokos Mar 24, 2026
068cdb3
Formatting fixes
sandor-lokos Mar 24, 2026
ea76f12
PWGUD/Tasks/CMakeLists.txt COMPONENT_NAME warning -- fixed
sandor-lokos Mar 24, 2026
3f78ae7
Merge branch 'master' into FITbit_implementation
amatyja Mar 24, 2026
57edbca
Working Pn analyzer without cuts
sandor-lokos Apr 18, 2026
2ad6533
Introduced: collision level cuts
sandor-lokos Apr 18, 2026
ce79817
Fix firing channel mapping and add further diagnostic histograms to F…
sandor-lokos Apr 28, 2026
b4bb493
Separate the analysis task and the test task for the FIT bits, new: a…
sandor-lokos Apr 28, 2026
33b9998
Merge branch 'FITbit_implementation' of https://github.com/sandor-lok…
sandor-lokos Apr 28, 2026
9c93277
Updated FIT Multiplicity task
sandor-lokos Jun 7, 2026
42107a6
Executed clang-format on all modified/created files
sandor-lokos Jun 7, 2026
9fc0764
Please consider the following formatting changes
alibuild Jun 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 56 additions & 48 deletions PWGUD/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,66 +1,74 @@
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#Copyright 2019 - 2020 CERN and copyright holders of ALICE O2.
#See https: // alice-o2.web.cern.ch/copyright for details of the copyright holders.
#All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#This software is distributed under the terms of the GNU General Public
#License v3(GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
#In applying this license CERN does not waive the privileges and immunities
#granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

o2physics_add_library(UDGoodRunSelector
SOURCES UDGoodRunSelector.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG RapidJSON::RapidJSON)
SOURCES UDGoodRunSelector.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG RapidJSON::RapidJSON)

o2physics_target_root_dictionary(UDGoodRunSelector
HEADERS UDGoodRunSelector.h
LINKDEF UDGoodRunSelectorLinkDef.h)
o2physics_target_root_dictionary(UDGoodRunSelector
HEADERS UDGoodRunSelector.h
LINKDEF UDGoodRunSelectorLinkDef.h)

o2physics_add_library(UDFSParser
SOURCES UDFSParser.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
o2physics_add_library(UDFSParser
SOURCES UDFSParser.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)

o2physics_target_root_dictionary(UDFSParser
HEADERS UDFSParser.h
LINKDEF UDFSParserLinkDef.h)
o2physics_target_root_dictionary(UDFSParser
HEADERS UDFSParser.h
LINKDEF UDFSParserLinkDef.h)

o2physics_add_library(DGCutparHolder
SOURCES DGCutparHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
o2physics_add_library(DGCutparHolder
SOURCES DGCutparHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)

o2physics_target_root_dictionary(DGCutparHolder
HEADERS DGCutparHolder.h
LINKDEF DGCutparHolderLinkDef.h)
o2physics_target_root_dictionary(DGCutparHolder
HEADERS DGCutparHolder.h
LINKDEF DGCutparHolderLinkDef.h)

o2physics_add_library(SGCutParHolder
SOURCES SGCutParHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
o2physics_add_library(SGCutParHolder
SOURCES SGCutParHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)

o2physics_target_root_dictionary(SGCutParHolder
HEADERS SGCutParHolder.h
LINKDEF SGCutParHolderLinkDef.h)
o2physics_target_root_dictionary(SGCutParHolder
HEADERS SGCutParHolder.h
LINKDEF SGCutParHolderLinkDef.h)

o2physics_add_library(DGPIDSelector
SOURCES DGPIDSelector.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG)
o2physics_add_library(DGPIDSelector
SOURCES DGPIDSelector.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG)

o2physics_target_root_dictionary(DGPIDSelector
HEADERS DGPIDSelector.h
LINKDEF DGPIDSelectorLinkDef.h)
o2physics_target_root_dictionary(DGPIDSelector
HEADERS DGPIDSelector.h
LINKDEF DGPIDSelectorLinkDef.h)

o2physics_add_library(UPCCutparHolder
SOURCES UPCCutparHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)
o2physics_add_library(UPCCutparHolder
SOURCES UPCCutparHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)

o2physics_target_root_dictionary(UPCCutparHolder
HEADERS UPCCutparHolder.h
LINKDEF UPCCutparHolderLinkDef.h)
o2physics_target_root_dictionary(UPCCutparHolder
HEADERS UPCCutparHolder.h
LINKDEF UPCCutparHolderLinkDef.h)

o2physics_add_library(decayTree
SOURCES decayTree.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG RapidJSON::RapidJSON)
o2physics_add_library(decayTree
SOURCES decayTree.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EG RapidJSON::RapidJSON)

o2physics_target_root_dictionary(decayTree
HEADERS decayTree.h
LINKDEF decayTreeLinkDef.h)
o2physics_target_root_dictionary(decayTree
HEADERS decayTree.h
LINKDEF decayTreeLinkDef.h)

o2physics_add_library(FITCutParHolder
SOURCES FITCutParHolder.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore)

o2physics_target_root_dictionary(FITCutParHolder
HEADERS FITCutParHolder.h
LINKDEF FITCutParHolderLinkDef.h)
55 changes: 55 additions & 0 deletions PWGUD/Core/FITCutParHolder.cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// \FIT bit thresholds
// \author Sandor Lokos, sandor.lokos@cern.ch
// \since March 2026

#include "FITCutParHolder.h"

// setter
void FITCutParHolder::SetSaveFITbitsets(bool saveFITbitsets)
{
mSaveFITbitsets = saveFITbitsets;
}
void FITCutParHolder::SetThr1FV0A(float thr1_FV0A)
{
mThr1FV0A = thr1_FV0A;
}
void FITCutParHolder::SetThr1FT0A(float thr1_FT0A)
{
mThr1FT0A = thr1_FT0A;
}
void FITCutParHolder::SetThr1FT0C(float thr1_FT0C)
{
mThr1FT0C = thr1_FT0C;
}
void FITCutParHolder::SetThr2FV0A(float thr2_FV0A)
{
mThr2FV0A = thr2_FV0A;
}
void FITCutParHolder::SetThr2FT0A(float thr2_FT0A)
{
mThr2FT0A = thr2_FT0A;
}
void FITCutParHolder::SetThr2FT0C(float thr2_FT0C)
{
mThr2FT0C = thr2_FT0C;
}

// getter
bool FITCutParHolder::saveFITbitsets() const { return mSaveFITbitsets; }
float FITCutParHolder::thr1_FV0A() const { return mThr1FV0A; }
float FITCutParHolder::thr1_FT0A() const { return mThr1FT0A; }
float FITCutParHolder::thr1_FT0C() const { return mThr1FT0C; }
float FITCutParHolder::thr2_FV0A() const { return mThr2FV0A; }
float FITCutParHolder::thr2_FT0A() const { return mThr2FT0A; }
float FITCutParHolder::thr2_FT0C() const { return mThr2FT0C; }
75 changes: 75 additions & 0 deletions PWGUD/Core/FITCutParHolder.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// \FIT bit thresholds
// \author Sandor Lokos, sandor.lokos@cern.ch
// \since March 2026

#ifndef PWGUD_CORE_FITCUTPARHOLDER_H_
#define PWGUD_CORE_FITCUTPARHOLDER_H_

#include <Rtypes.h>

// object to hold customizable FIT bit thresholds
class FITCutParHolder
{
public:
// constructor
FITCutParHolder(bool saveFITbitsets = true,
float thr1_FV0A = 8.,
float thr1_FT0A = 8.,
float thr1_FT0C = 8.,
float thr2_FV0A = 20.,
float thr2_FT0A = 20.,
float thr2_FT0C = 20.)
: mSaveFITbitsets{saveFITbitsets},
mThr1FV0A{thr1_FV0A},
mThr1FT0A{thr1_FT0A},
mThr1FT0C{thr1_FT0C},
mThr2FV0A{thr2_FV0A},
mThr2FT0A{thr2_FT0A},
mThr2FT0C{thr2_FT0C}
{
}

// setters
void SetSaveFITbitsets(bool);
void SetThr1FV0A(float);
void SetThr1FT0A(float);
void SetThr1FT0C(float);
void SetThr2FV0A(float);
void SetThr2FT0A(float);
void SetThr2FT0C(float);

// getters
bool saveFITbitsets() const;
float thr1_FV0A() const;
float thr1_FT0A() const;
float thr1_FT0C() const;
float thr2_FV0A() const;
float thr2_FT0A() const;
float thr2_FT0C() const;

private:
bool mSaveFITbitsets;

float mThr1FV0A;
float mThr1FT0A;
float mThr1FT0C;

float mThr2FV0A;
float mThr2FT0A;
float mThr2FT0C;

ClassDefNV(FITCutParHolder, 1);
};

#endif // PWGUD_CORE_FITCUTPARHOLDER_H_
24 changes: 24 additions & 0 deletions PWGUD/Core/FITCutParHolderLinkDef.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// \FIT bit thresholds
// \author Sandor Lokos, sandor.lokos@cern.ch
// \since March 2026

#ifndef PWGUD_CORE_FITCUTPARHOLDERLINKDEF_H_
#define PWGUD_CORE_FITCUTPARHOLDERLINKDEF_H_

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class FITCutParHolder + ;

#endif // PWGUD_CORE_FITCUTPARHOLDERLINKDEF_H_
1 change: 1 addition & 0 deletions PWGUD/Core/SGCutParHolderLinkDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

#ifndef PWGUD_CORE_SGCUTPARHOLDERLINKDEF_H_
#define PWGUD_CORE_SGCUTPARHOLDERLINKDEF_H_

Expand Down
Loading