Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3576 commits
Select commit Hold shift + click to select a range
59d9432
Merge pull request #1172 from Jinglin-liu/FixBeamBkgrdProduction
pinkenburg Aug 12, 2025
f999b46
Merge pull request #1173 from Steepspace/CaloTowerStatus
pinkenburg Aug 13, 2025
ebc24f1
add cdb verbosity by default
osbornjd Aug 13, 2025
ffc8d72
Merge pull request #1174 from osbornjd/cdb_verbosity
osbornjd Aug 13, 2025
8280817
Collecting calo data overlay macros
Aug 15, 2025
7991472
Merge pull request #1175 from bseidlit/master
bseidlit Aug 15, 2025
acbd0cc
embedding macro with waveform simulation--draft
Shuonli Aug 15, 2025
912c74b
consolidate functions
osbornjd Aug 15, 2025
6d65c2e
fix the laser event rejection
osbornjd Aug 15, 2025
c090acc
add laser event rejection
osbornjd Aug 15, 2025
69e88e1
sepd wants to use template fit
pinkenburg Aug 15, 2025
6cbe821
Merge pull request #1179 from pinkenburg/sepd-template
pinkenburg Aug 15, 2025
02684f0
Revert "sepd wants to use template fit"
pinkenburg Aug 15, 2025
a7c35d7
Merge pull request #1180 from sPHENIX-Collaboration/revert-1179-sepd-…
pinkenburg Aug 15, 2025
0dfb001
added switch for flow flucuations for hijing flow afterburner
tmengel Aug 18, 2025
5ee66a2
Merge pull request #1178 from osbornjd/data_reco_refactor
osbornjd Aug 18, 2025
23635b8
Merge pull request #1177 from Shuonli/master
bseidlit Aug 19, 2025
9ce89c9
update prdf jenkins macro to use latest qa and function calls
osbornjd Aug 19, 2025
a863b88
Merge pull request #1183 from sPHENIX-Collaboration/jenkins_macro
osbornjd Aug 19, 2025
ede3e3e
adding temp macros
Aug 20, 2025
ecbf03b
Merge pull request #1184 from bseidlit/master
bseidlit Aug 20, 2025
b9ad6b2
hcal calib analysis
Aug 20, 2025
050968c
reduce verbosity
osbornjd Aug 20, 2025
900d2db
Merge pull request #1182 from tmengel/afterburn
osbornjd Aug 20, 2025
0b22d4f
added ppg08 hijing flow modification run settings
tmengel Aug 21, 2025
3878c07
Merge pull request #1185 from tmengel/afterburn
pinkenburg Aug 21, 2025
8674496
add calopacketskimmer
Shuonli Aug 21, 2025
de19bf6
Merge pull request #1186 from Shuonli/master
pinkenburg Aug 21, 2025
2a26fea
fix typos
pinkenburg Aug 28, 2025
3c47372
Merge pull request #1187 from pinkenburg/fix-typo
pinkenburg Aug 28, 2025
ad53b7d
one more typo
pinkenburg Aug 28, 2025
70af480
Merge pull request #1188 from pinkenburg/fix-typo
pinkenburg Aug 28, 2025
7d9403f
runProd.py - PSQL Query Fix
Steepspace Aug 31, 2025
d580c63
Fix: Resolve SettingWithCopyWarning in pandas filtering
Steepspace Aug 31, 2025
01ff449
runProd.py - Additional logs
Steepspace Aug 31, 2025
c3ea5ff
Refactor: Modernize path handling and improve readability in runProd.py
Steepspace Aug 31, 2025
d2b6fb5
Perf: Parallelize file existence check using multiprocessing
Steepspace Aug 31, 2025
eb97ff2
Merge pull request #1189 from Steepspace/CaloCDB
bseidlit Aug 31, 2025
b3f6e62
Add UEvsEta QA module
Jinglin-liu Sep 2, 2025
e3fc88c
Modify MC Calibration condition for run beyond 28
Shuonli Sep 5, 2025
c8a0ecc
making adjustments for golden run testing
jamesjl3 Sep 6, 2025
40c0c43
Removing reference to photon kinematic
jamesjl3 Sep 6, 2025
7e0286f
Update Fun4All_JetSkimmedProductionYear3.C
pinkenburg Sep 6, 2025
8dff127
Merge pull request #1192 from jamesjl3/master
pinkenburg Sep 6, 2025
c40c7a0
First pass at tpc maxdrift setting
adfrawley Sep 7, 2025
737af6f
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Sep 7, 2025
f03aa13
runProd.py: Simplify SQL Query
Steepspace Sep 8, 2025
8e26bb7
Merge pull request #1190 from Jinglin-liu/AddUEQA
osbornjd Sep 8, 2025
05f4bc1
Refactor: Offload tag selection logic from pandas to SQL query
Steepspace Sep 9, 2025
38a8875
Merge pull request #1193 from Steepspace/CaloCDB
pinkenburg Sep 9, 2025
be6f63b
mods for run2025
mchiu-bnl Sep 9, 2025
62871bd
Feat: Add runProd.C macro for automated CDB generation
Steepspace Sep 10, 2025
cedead3
add a flag setter in the function
osbornjd Sep 11, 2025
deddce1
Merge pull request #1197 from osbornjd/mvtxMisalign
osbornjd Sep 11, 2025
0067fa3
Merge branch 'sPHENIX-Collaboration:master' into mbd
mchiu-bnl Sep 11, 2025
69291e5
mods to work under sphnxpro account
mchiu-bnl Sep 11, 2025
8f160fa
mods to work under sphnxpro account
mchiu-bnl Sep 11, 2025
e5689b0
mods to work under sphnxpro account
mchiu-bnl Sep 11, 2025
0586a17
check md5sum list for cdb insert
pinkenburg Sep 12, 2025
2d5b899
Merge pull request #1198 from pinkenburg/update-CDBInsertUtils
pinkenburg Sep 12, 2025
67fd03e
Merge pull request #1194 from mchiu-bnl/mbd
pinkenburg Sep 12, 2025
3451833
update cdbtag
osbornjd Sep 12, 2025
67adf1a
Merge pull request #1199 from osbornjd/cdbtag
osbornjd Sep 12, 2025
d7bfb4b
Set flag to make TPC time zero correction in transforms optional, set…
adfrawley Sep 12, 2025
4c48e18
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Sep 12, 2025
87598ea
force pipe to be misaligned when mvtx is also misaligned
osbornjd Sep 14, 2025
398f6c9
Merge pull request #1201 from osbornjd/pipemisalign
osbornjd Sep 14, 2025
9dd7253
add g4_trkrvariables to pipe
osbornjd Sep 14, 2025
dbd0539
Merge pull request #1202 from osbornjd/pipemisalign
osbornjd Sep 14, 2025
402a7ef
runProd.py - Add safe Quit
Steepspace Sep 14, 2025
cddc229
Merge pull request #1191 from Shuonli/patch-9
pinkenburg Sep 15, 2025
3042a6c
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Sep 15, 2025
75139eb
Modify run 33 settings for flow configuration
tmengel Sep 15, 2025
3aa6059
Merge pull request #1099 from pinkenburg/enable-MVTX_APPLYMISALIGNMENT
pinkenburg Sep 16, 2025
76df246
Merge pull request #1203 from tmengel/afterburn
pinkenburg Sep 16, 2025
f40cfa7
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Sep 16, 2025
94987c9
update to latest production
osbornjd Sep 16, 2025
1644224
Merge branch 'master' of github.com:sPHENIX-Collaboration/macros
osbornjd Sep 16, 2025
4b6ab5e
Merge pull request #1195 from Steepspace/CaloCDB
bseidlit Sep 16, 2025
7270560
fix overlap of forward beampipe
osbornjd Sep 22, 2025
458f779
Merge pull request #1204 from osbornjd/overlapfix
osbornjd Sep 22, 2025
65d822b
switch to isobutane
osbornjd Sep 23, 2025
e671294
Merge branch 'master' of github.com:sPHENIX-Collaboration/macros into…
osbornjd Sep 23, 2025
2927a83
adjust to very low threshold
osbornjd Sep 24, 2025
3548659
Changes to make TPC drift parameters set only in PHG4TpcSubsystem, an…
adfrawley Sep 25, 2025
24abc1f
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Sep 25, 2025
ca242a0
Merge branch 'fix_tpc_driftlength' of github.com:adfrawley/macros int…
adfrawley Sep 25, 2025
dbdb750
Merge pull request #1205 from osbornjd/isobutane
osbornjd Sep 25, 2025
bafcb12
Merge branch 'sPHENIX-Collaboration:master' into master
bseidlit Sep 25, 2025
d59736d
hcal calib adding plotting macro
Sep 25, 2025
ce41e66
metadata py for hcal calib
Sep 25, 2025
19516a7
Merge pull request #1206 from bseidlit/master
bseidlit Sep 25, 2025
251e05f
working macros to avoid overlap for misaligned beam pipe
pinkenburg Sep 26, 2025
f612b5b
cleaned up
pinkenburg Sep 26, 2025
b53d3c1
remove unneeded no_overlapp protections
pinkenburg Sep 26, 2025
2dccc3c
Merge pull request #1207 from pinkenburg/fix-pipe
pinkenburg Sep 26, 2025
5e7d28a
apply misalignment to beamlines even if pipe is disabled
pinkenburg Sep 26, 2025
cea3795
Merge pull request #1208 from pinkenburg/fix-beamline-standalone
pinkenburg Sep 26, 2025
dc2e994
missing verbosity definition
osbornjd Sep 26, 2025
d1a8844
Merge pull request #1209 from sPHENIX-Collaboration/beamlinefix
osbornjd Sep 26, 2025
c715fd6
Feat: Add non-zero file size check to path validation utility
Steepspace Sep 26, 2025
0084a62
Merge pull request #1210 from Steepspace/CaloCDB
bseidlit Sep 26, 2025
65185fe
Merge branch 'master' of github.com:sPHENIX-Collaboration/macros into…
osbornjd Sep 28, 2025
5a7664c
build geometry from scratch
osbornjd Sep 29, 2025
9359dee
Create CDB tree on the stack to query content. This fixes a memory leak.
hupereir Sep 29, 2025
02b0922
Merge pull request #1211 from hupereir/cddb_fix
pinkenburg Sep 30, 2025
90ca0a5
remove drift vel setting and sampa bias setting for now
osbornjd Sep 30, 2025
cf9eff2
Merge pull request #1200 from adfrawley/fix_tpc_driftlength
osbornjd Sep 30, 2025
c95f9e5
Added scripts to extract pedestal and ZS thresholds from TPOT clock r…
hupereir Oct 1, 2025
9560cbf
renamed for clarity
hupereir Oct 1, 2025
985ecfd
Merge pull request #1212 from hupereir/TPOT_Calibrations
pinkenburg Oct 2, 2025
516ab48
Add drift_velocity_sim to TPC layergeom and access it from there duri…
adfrawley Oct 3, 2025
984ff7e
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Oct 3, 2025
dfc9a85
Set Sampa tbias to zero for now.
adfrawley Oct 3, 2025
5ca758f
Modify sampa tbias to match gz and z in simulations
adfrawley Oct 3, 2025
8720cbd
Merge pull request #1213 from adfrawley/after_tpc_geom_fix
osbornjd Oct 4, 2025
eea3a41
Mvtx streaming/triggered mode setup in PHG4MvtxHitReco
hrjheng Oct 6, 2025
83e8db6
PHG4MvtxHitReco parameter for streaming/triggered mode
hrjheng Oct 6, 2025
2b10744
default streaming
hrjheng Oct 6, 2025
68e379f
Change sampa bias correction to match new simulated sampa response.
adfrawley Oct 7, 2025
f64876e
Merge branch 'master' of https://github.com/sPHENIX-Collaboration/mac…
adfrawley Oct 7, 2025
7773a46
Merge pull request #1215 from adfrawley/after_tpc_geom_fix
osbornjd Oct 9, 2025
6a963ee
Merge pull request #1214 from hrjheng/mvtxhitreco
osbornjd Oct 10, 2025
4294559
now processing when there as few as 19 dsts
mchiu-bnl Oct 14, 2025
3ec615c
added if to handle old run2pp dsts
mchiu-bnl Oct 14, 2025
5b6e5ae
modified to handle very bad runs where timezero is out of window
mchiu-bnl Oct 14, 2025
f4b7892
Merge pull request #1216 from mchiu-bnl/mbd
pinkenburg Oct 14, 2025
29c4ba7
CaloCDB: Add HIST_CALOFITTINGQA for ZS Cross-Calibration
Steepspace Oct 15, 2025
e54b2ac
Merge pull request #1217 from Steepspace/CaloCDB
pinkenburg Oct 15, 2025
fa4bf41
turn on isstreaming mode by default
osbornjd Oct 15, 2025
d1dd7eb
Merge pull request #1218 from osbornjd/streaming_silicon_seeding
osbornjd Oct 16, 2025
8cb1b6d
update, cleanup and clang-tidyfy Fun4All_PRDFReconstruction.C
pinkenburg Oct 24, 2025
171103b
clang-tidy and include ordering for Fun4All_raw_hit_KFP.C
pinkenburg Oct 24, 2025
9aa006d
clang-tidy and include ordering for Fun4All_PRDFReconstruction
pinkenburg Oct 24, 2025
ab88f22
remove obsolete InttOdbcQuery
pinkenburg Oct 24, 2025
52537c9
remove obsolete InttOdbcQuery
pinkenburg Oct 24, 2025
cc227d9
remove obsolete InttOdbcQuery
pinkenburg Oct 24, 2025
d1aaea0
fix clang-tidy errors for some common macros
pinkenburg Oct 24, 2025
f2fb091
Merge pull request #1219 from pinkenburg/remove-intt-odbcquery
pinkenburg Oct 24, 2025
8c14ea9
fix Fun4All_Stream_Combiner, clang-tidy
pinkenburg Oct 25, 2025
d761566
add initial .clang-tidy config
pinkenburg Oct 25, 2025
5a0dbac
Merge pull request #1220 from pinkenburg/fix-streaming-macro
pinkenburg Oct 25, 2025
6eb2863
clang-tidy for G4_CEmc_Spacal.C
pinkenburg Oct 25, 2025
5281de8
clang-tidy for G4_HcalOut_ref.C
pinkenburg Oct 25, 2025
778e281
clang-tidy for G4_Pipe.C
pinkenburg Oct 25, 2025
cfbcdfd
remove obsolete Fun4All_CaloProduction.C
pinkenburg Oct 25, 2025
fff260a
clang-tidy for GlobalVariables.C
pinkenburg Oct 25, 2025
d0b560b
clang-tidy for NoBkgdSubJetReco.C
pinkenburg Oct 25, 2025
a96f3a7
clang-tidy for Sys_Calo.C
pinkenburg Oct 26, 2025
ef8038e
clang-tidy for CDBUtils.C
pinkenburg Oct 26, 2025
6a1f513
clang-tidy for CDBInsertUtils.C
pinkenburg Oct 26, 2025
213a52f
Merge pull request #1221 from pinkenburg/clang-tidy-1
pinkenburg Oct 26, 2025
3ac5670
fix include file ordering in G4_ActsGeom.C
pinkenburg Oct 26, 2025
55a97f7
fix include file order, clang-tidy for Fun4All_TrackSeeding.C
pinkenburg Oct 26, 2025
513b7c6
Merge pull request #1222 from pinkenburg/fix_actsgeom
pinkenburg Oct 26, 2025
ff45746
updated noise scaling, add fiber correction
Shuonli Oct 28, 2025
142edca
Update user prompt in README for interactive machine name
blackcathj Oct 28, 2025
a0550f9
Update user interactive node in README for consistency
blackcathj Oct 28, 2025
45a5387
fix clang-tidy
pinkenburg Oct 28, 2025
f2e226b
fix clang-tidy
pinkenburg Oct 28, 2025
6c1175f
use namespace
Shuonli Oct 28, 2025
9ffea84
Merge pull request #1225 from pinkenburg/clang-tidy-macro-1
pinkenburg Oct 28, 2025
6c8abdd
Merge pull request #1224 from sPHENIX-Collaboration/blackcathj-patch-1
pinkenburg Oct 28, 2025
bb019ed
addt0
pinkenburg Oct 30, 2025
f8f943d
save snapshot
pinkenburg Oct 30, 2025
fe275c7
clang-tidy for cal_mbd.C
pinkenburg Oct 30, 2025
0169ce7
clang-tidy for calib_t0mean.C
pinkenburg Oct 30, 2025
d910bfe
fix clang-tidy warnings
pinkenburg Oct 31, 2025
702a99d
add include guards for included macros
pinkenburg Oct 31, 2025
8320c98
remove empty space
pinkenburg Oct 31, 2025
091e0e3
Merge pull request #1227 from pinkenburg/clang-tidy-macro-2
pinkenburg Oct 31, 2025
9d7eb72
clang-tidy for make_mbd_l1lut
pinkenburg Oct 31, 2025
6400556
clang-format for make_mbd_l1lut
pinkenburg Oct 31, 2025
a6f4118
clang-tidy for make_timecorr.C
pinkenburg Oct 31, 2025
4c45875
clang-format for make_timecorr.C
pinkenburg Oct 31, 2025
11d8821
adjust include guard to convention
pinkenburg Oct 31, 2025
77d1175
clang-tidy for mbd/WAVEFORMS
pinkenburg Oct 31, 2025
547087a
clang-tidy for rearrange_pmts.C
pinkenburg Oct 31, 2025
10df5cf
clang-tidy for calcnew_gainsbyhvgroup.C
pinkenburg Oct 31, 2025
f4e678c
clang-tidy for mbd/HV
pinkenburg Oct 31, 2025
36a4134
clang-tidy for analaserscan
pinkenburg Oct 31, 2025
99b84e3
Merge pull request #1228 from pinkenburg/clang-tidy-macro-3
pinkenburg Nov 1, 2025
545fd41
add local include
pinkenburg Nov 1, 2025
4d9d3f0
clang-tidy, cppcheck for mbd/SLEW
pinkenburg Nov 1, 2025
6357a84
clang-tidy, cppcheck for mbd/THRESHOLDS
pinkenburg Nov 1, 2025
7d7bd22
Merge pull request #1229 from pinkenburg/clang-tidy-macro-4
pinkenburg Nov 1, 2025
f8f1455
clang-tidy, cppcheck for BcoQA
pinkenburg Nov 1, 2025
5889539
clang-tidy, cppcheck for BcoQA/condor
pinkenburg Nov 1, 2025
be67891
clang-tidy, cppcheck for BcoQA/condor
pinkenburg Nov 1, 2025
e6e5d76
fix include file order
pinkenburg Nov 1, 2025
0e6a46a
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
70753f6
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
4948631
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
7aca1d8
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
aa6d784
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
44e7d8b
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
4a2d5d7
remove local cppcheck suppression for unknownMacro
pinkenburg Nov 1, 2025
89fe581
load libraries after include files
pinkenburg Nov 1, 2025
c3fc087
clang-tidy for G4_BeamLine.C
pinkenburg Nov 1, 2025
8263d75
clang-tidy for G4_BlackHole.C
pinkenburg Nov 1, 2025
f335dfb
clang-tidy for G4_CEmc_Albedo.C
pinkenburg Nov 1, 2025
9440d98
clang-tidy for G4_CaloTrigger.C
pinkenburg Nov 1, 2025
34188b9
clang-tidy for G4_Centrality.C
pinkenburg Nov 1, 2025
81b07b9
clang-tidy for G4_Centrality.C
pinkenburg Nov 1, 2025
2ccbb7d
clang-tidy for G4_HcalIn_ref.C
pinkenburg Nov 1, 2025
4e420b6
clang-tidy for G4_Input.C
pinkenburg Nov 1, 2025
85f301d
clang-tidy for G4_KFParticle.C
pinkenburg Nov 1, 2025
60d8f70
clang-tidy for G4_Mbd.C
pinkenburg Nov 1, 2025
aa2b951
comment out readability-braces-around-statements from .clang-tidy
pinkenburg Nov 1, 2025
fa03981
clang-tidy for G4_PlugDoor.C
pinkenburg Nov 1, 2025
c202b99
clang-tidy for G4_RunSettings.C
pinkenburg Nov 1, 2025
7935afb
clang-tidy for G4_TopoClusterReco.C
pinkenburg Nov 1, 2025
144667f
clang-tidy for G4_TrkrSimulation.C
pinkenburg Nov 1, 2025
b989b49
Merge pull request #1226 from Shuonli/waveform
bseidlit Nov 1, 2025
6e90695
clang-tidy for G4_User.C
pinkenburg Nov 2, 2025
039dc89
clang-tidy for Jet_QA.C
pinkenburg Nov 2, 2025
e7147d1
save snapshot
pinkenburg Nov 2, 2025
a1e8834
Merge branch 'master' into clang-tidy-macro-5
pinkenburg Nov 2, 2025
74d54a3
clang-tidy for G4_CEmc_Spacal.C
pinkenburg Nov 2, 2025
30a51e5
clang-tidy for G4_TrkrVariables.C
pinkenburg Nov 2, 2025
7318148
clang-tidy for SaveGitTags.C
pinkenburg Nov 2, 2025
4b1ce8e
clang-tidy for Trkr_Clustering.C
pinkenburg Nov 2, 2025
3659354
clang-tidy for Trkr_LaserClustering.C
pinkenburg Nov 2, 2025
657e550
clang-tidy for Trkr_QA.C
pinkenburg Nov 2, 2025
37433c7
clang-tidy for Trkr_Reco.C
pinkenburg Nov 2, 2025
c1bcd36
clang-tidy for Trkr_TruthTables.C
pinkenburg Nov 2, 2025
900ca29
clang-tidy for DisplayOn.C
pinkenburg Nov 2, 2025
3bb839d
clang-tidy for G4_PSTOF.C
pinkenburg Nov 2, 2025
a71a353
clang-tidy for G4_ZDC.C
pinkenburg Nov 2, 2025
5d416f4
clang-tidy for G4_ParticleFlow.C
pinkenburg Nov 2, 2025
06bb88b
clang-tidy for HIJetReco.C
pinkenburg Nov 2, 2025
a70fcb3
clang-tidy for Trkr_Diagnostics.C
pinkenburg Nov 2, 2025
3a477ee
clang-tidy for Trkr_RecoInit.C
pinkenburg Nov 2, 2025
94f66b7
clang-tidy for Trkr_Reco_Cosmics.C
pinkenburg Nov 2, 2025
eaf75fb
clang-tidy for Trkr_TpcReadoutInit.C
pinkenburg Nov 2, 2025
54a13a1
clang-tidy for Trkr_TruthReco.C
pinkenburg Nov 2, 2025
f02824a
clang-tidy for Trkr_Eval.C
pinkenburg Nov 2, 2025
5ff1490
final cleanup
pinkenburg Nov 2, 2025
99809cd
Merge pull request #1230 from pinkenburg/clang-tidy-macro-5
pinkenburg Nov 2, 2025
c79962a
clang-tidy for calibrations/intt
pinkenburg Nov 2, 2025
de1af4a
clang-tidy for calibration/eventplane
pinkenburg Nov 2, 2025
9b5a44c
Merge pull request #1231 from pinkenburg/clang-tidy-macro-6
pinkenburg Nov 3, 2025
0007a47
clang-tidy fix for macros/detectors/sPHENIX
pinkenburg Nov 3, 2025
4f4b2b6
use const std::string & instead of const char * interface
pinkenburg Nov 3, 2025
3531d20
clang-tidy for tpc/jobB
pinkenburg Nov 3, 2025
910ae19
clang-tidy for tpc/TpcDVCalib/drift.C
pinkenburg Nov 3, 2025
f9ee178
clang-tidy for clibrations
pinkenburg Nov 3, 2025
77ca6ba
update comment
pinkenburg Nov 3, 2025
62fb403
Merge pull request #1232 from pinkenburg/clang-tidy-macro-7
pinkenburg Nov 4, 2025
534b769
Merge branch 'master' of github.com:sPHENIX-Collaboration/macros into…
osbornjd Nov 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
90 changes: 90 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
Language: Cpp
# BasedOnStyle: sphenix
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IndentCaseLabels: false
IndentWidth: 2
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 8
UseTab: Never
...

220 changes: 220 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# list all enabled checks: clang-tidy -list-checks
# list all checks: clang-tidy -checks='*' -list-checks
# run checks on the cmd line: clang-tidy -checks='bugprone-*' *.cc (followed by all our includes, look it up in our wiki
#
Checks: '
-*,
bugprone-argument-comment,
bugprone-assert-side-effect,
bugprone-assignment-in-if-condition,
bugprone-bad-signal-to-kill-thread,
bugprone-bitwise-pointer-cast,
bugprone-bool-pointer-implicit-conversion,
bugprone-branch-clone,
bugprone-casting-through-void,
bugprone-chained-comparison,
bugprone-compare-pointer-to-member-virtual-function,
bugprone-copy-constructor-init,
bugprone-crtp-constructor-accessibility,
bugprone-dangling-handle,
bugprone-dynamic-static-initializers,
bugprone-empty-catch,
bugprone-exception-escape,
bugprone-fold-init-type,
bugprone-forward-declaration-namespace,
bugprone-forwarding-reference-overload,
# bugprone-implicit-widening-of-multiplication-result,
bugprone-inaccurate-erase,
bugprone-inc-dec-in-conditions,
bugprone-incorrect-enable-if,
bugprone-incorrect-enable-shared-from-this,
bugprone-incorrect-roundings,
bugprone-infinite-loop,
bugprone-integer-division,
bugprone-lambda-function-name,
bugprone-macro-parentheses,
bugprone-macro-repeated-side-effects,
bugprone-misplaced-operator-in-strlen-in-alloc,
bugprone-misplaced-pointer-arithmetic-in-alloc,
bugprone-misplaced-widening-cast,
bugprone-move-forwarding-reference,
bugprone-multiple-new-in-one-expression,
bugprone-multiple-statement-macro,
bugprone-no-escape,
bugprone-non-zero-enum-to-bool-conversion,
bugprone-nondeterministic-pointer-iteration-order,
bugprone-not-null-terminated-result,
bugprone-optional-value-conversion,
bugprone-parent-virtual-call,
# bugprone-pointer-arithmetic-on-polymorphic-object,
bugprone-posix-return,
bugprone-redundant-branch-condition,
bugprone-reserved-identifier,
bugprone-return-const-ref-from-parameter,
bugprone-shared-ptr-array-mismatch,
bugprone-signal-handler,
bugprone-signed-char-misuse,
bugprone-sizeof-container,
bugprone-sizeof-expression,
bugprone-spuriously-wake-up-functions,
bugprone-standalone-empty,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-string-literal-with-embedded-nul,
bugprone-stringview-nullptr,
bugprone-suspicious-enum-usage,
bugprone-suspicious-include,
bugprone-suspicious-memory-comparison,
bugprone-suspicious-memset-usage,
bugprone-suspicious-missing-comma,
bugprone-suspicious-realloc-usage,
bugprone-suspicious-semicolon,
bugprone-suspicious-string-compare,
bugprone-suspicious-stringview-data-usage,
bugprone-swapped-arguments,
bugprone-switch-missing-default-case,
bugprone-tagged-union-member-count,
bugprone-terminating-continue,
bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable,
bugprone-unchecked-optional-access,
bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor,
bugprone-unhandled-exception-at-new,
bugprone-unhandled-self-assignment,
bugprone-unique-ptr-array-mismatch,
bugprone-unsafe-functions,
bugprone-unused-local-non-trivial-variable,
bugprone-unused-raii,
bugprone-unused-return-value,
bugprone-use-after-move,
bugprone-virtual-near-miss,
# cppcoreguidelines-macro-usage,
cppcoreguidelines-prefer-member-initializer,
# cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-virtual-class-destructor,
google-build-using-namespace,
google-global-names-in-headers,
hicpp-avoid-goto,
# hicpp-braces-around-statements,
hicpp-deprecated-headers,
hicpp-exception-baseclass,
hicpp-explicit-conversions,
hicpp-function-size,
hicpp-ignored-remove-result,
hicpp-invalid-access-moved,
hicpp-member-init,
hicpp-move-const-arg,
hicpp-multiway-paths-covered,
hicpp-named-parameter,
hicpp-new-delete-operators,
hicpp-no-assembler,
hicpp-no-malloc,
hicpp-noexcept-move,
hicpp-signed-bitwise,
hicpp-special-member-functions,
hicpp-static-assert,
hicpp-undelegated-constructor,
hicpp-uppercase-literal-suffix,
hicpp-use-emplace,
hicpp-use-equals-default,
hicpp-use-equals-delete,
hicpp-use-noexcept,
hicpp-use-nullptr,
hicpp-use-override,
hicpp-vararg,
misc-confusable-identifiers,
misc-coroutine-hostile-raii,
misc-definitions-in-headers,
misc-header-include-cycle,
misc-misleading-bidirectional,
misc-misleading-identifier,
misc-misplaced-const,
misc-new-delete-overloads,
misc-no-recursion,
misc-non-copyable-objects,
misc-non-private-member-variables-in-classes,
misc-redundant-expression,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
misc-unused-alias-decls,
misc-unused-parameters,
misc-unused-using-decls,
misc-use-anonymous-namespace,
modernize-loop-convert,
modernize-redundant-void-arg,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-nullptr,
modernize-use-using,
# performance-enum-size,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-move-constructor-init,
performance-no-automatic-move,
performance-no-int-to-ptr,
performance-noexcept-destructor,
performance-noexcept-move-constructor,
performance-noexcept-swap,
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
readability-avoid-const-params-in-decls,
readability-avoid-nested-conditional-operator,
readability-avoid-return-with-void-value,
readability-avoid-unconditional-preprocessor-if,
# readability-braces-around-statements,
readability-const-return-type,
readability-container-contains,
readability-container-data-pointer,
readability-container-size-empty,
# readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-duplicate-include,
readability-else-after-return,
readability-enum-initial-value,
readability-function-size,
readability-identifier-naming,
readability-inconsistent-declaration-parameter-name,
readability-isolate-declaration,
readability-make-member-function-const,
# readability-math-missing-parentheses,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-named-parameter,
readability-non-const-parameter,
readability-operators-representation,
readability-qualified-auto,
readability-redundant-access-specifiers,
readability-redundant-casting,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-inline-specifier,
readability-redundant-member-init,
readability-redundant-preprocessor,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-reference-to-constructed-temporary,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-suspicious-call-argument,
readability-uniqueptr-delete-release,
readability-uppercase-literal-suffix,
readability-use-anyofallof,
readability-use-std-min-max
'

CheckOptions:
readability-operators-representation.BinaryOperators: '&&;&=;&;|;~;!;!=;||;|=;^;^='
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ tmtags

# For rubinius:
*.rbc

# root/G4 output files
*.root
*.macro

# valgrind
*.valgrind
*.log
33 changes: 33 additions & 0 deletions BcoQA/Fun4All_Gl1QA.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#include <ffarawmodules/Gl1BcoDump.h>

#include <fun4all/Fun4AllServer.h>
#include <fun4all/Fun4AllInputManager.h>

#include <fun4allraw/Fun4AllPrdfInputManager.h>

#include <Rtypes.h> // defines R__LOAD_LIBRARY macro for clang-tidy
#include <TSystem.h>

R__LOAD_LIBRARY(libfun4all.so)
R__LOAD_LIBRARY(libfun4allraw.so)
R__LOAD_LIBRARY(libffarawmodules.so)

void Fun4All_Gl1QA(int nEvents = 0,
const std::string &input_list = "gl1daq.list",
const std::string &outfile = "gl1daq.root")
{
Fun4AllServer *se = Fun4AllServer::instance();
// se->Verbosity(1);
Gl1BcoDump *gl1dmp = new Gl1BcoDump();
gl1dmp->OutFileName(outfile);
se->registerSubsystem(gl1dmp);
Fun4AllInputManager *in = new Fun4AllPrdfInputManager("PRDFin");
in->AddListFile(input_list);
se->registerInputManager(in);

se->run(nEvents);

se->End();
delete se;
gSystem->Exit(0);
}
33 changes: 33 additions & 0 deletions BcoQA/Fun4All_TpcQA.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#include <ffarawmodules/TpcBcoDump.h>

#include <fun4all/Fun4AllServer.h>
#include <fun4all/Fun4AllInputManager.h>

#include <fun4allraw/Fun4AllPrdfInputManager.h>

#include <Rtypes.h> // defines R__LOAD_LIBRARY macro for clang-tidy
#include <TSystem.h>

R__LOAD_LIBRARY(libfun4all.so)
R__LOAD_LIBRARY(libfun4allraw.so)
R__LOAD_LIBRARY(libffarawmodules.so)

void Fun4All_TpcQA(int nEvents = 0,
const std::string &input_list = "prdf.list",
const std::string &outfile = "bcodiff.root")
{
Fun4AllServer *se = Fun4AllServer::instance();
// se->Verbosity(1);
TpcBcoDump *tpcdmp = new TpcBcoDump();
tpcdmp->OutFileName(outfile);
se->registerSubsystem(tpcdmp);
Fun4AllInputManager *in = new Fun4AllPrdfInputManager("PRDFin");
in->AddListFile(input_list);
se->registerInputManager(in);

se->run(nEvents);

se->End();
delete se;
gSystem->Exit(0);
}
Loading