Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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.

Check failure on line 10 in PWGUD/Core/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / PR formatting / copyright headers

Missing or malformed copyright notice

This source file is missing the correct copyright notice.

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
Loading