Skip to content
Merged
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions PWGEM/PhotonMeson/Core/EMCPhotonCut.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <Rtypes.h>

#include <cmath>
#include <functional>
#include <string>

Expand All @@ -45,7 +46,7 @@

// Temporary function to check if cluster passes selection criteria. To be replaced by framework filters.
template <typename T, typename Cluster>
bool IsSelected(Cluster const& cluster) const

Check failure on line 49 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
if (!IsSelectedEMCal(EMCPhotonCuts::kDefinition, cluster)) {
return false;
Expand Down Expand Up @@ -73,7 +74,7 @@

// Returns true if a cluster survives the cuts!
template <typename Cluster>
bool IsSelectedEMCal(const EMCPhotonCuts& cut, Cluster const& cluster) const

Check failure on line 77 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
{
switch (cut) {
case EMCPhotonCuts::kDefinition:
Expand Down Expand Up @@ -117,14 +118,14 @@
}

// Setters
void SetClusterizer(std::string clusterDefinitionString = "kV3Default");

Check failure on line 121 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetMinE(float min = 0.7f);

Check failure on line 122 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetMinNCell(int min = 1);

Check failure on line 123 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetM02Range(float min = 0.1f, float max = 0.7f);

Check failure on line 124 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetTimeRange(float min = -20.f, float max = 25.f);

Check failure on line 125 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetTrackMatchingEta(std::function<float(float)> funcTM);

Check failure on line 126 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetTrackMatchingPhi(std::function<float(float)> funcTM);

Check failure on line 127 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetMinEoverP(float min = 0.7f);

Check failure on line 128 in PWGEM/PhotonMeson/Core/EMCPhotonCut.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
void SetUseExoticCut(bool flag = true);
void SetUseTM(bool flag = true);

Expand Down
Loading