Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3859 commits
Select commit Hold shift + click to select a range
9236479
clang-tidy for MvtxProduction
pinkenburg Nov 30, 2025
f233eaa
clang-tidy for sPHENIXStyle
pinkenburg Nov 30, 2025
0d6cb9f
clang-tidy for Gl1Production
pinkenburg Nov 30, 2025
4e939a9
clang-tidy for CaloProduction
pinkenburg Nov 30, 2025
79e543d
remove obsolete eventcombine
pinkenburg Nov 30, 2025
c6e7c89
clang-tidy for DataOverlayProduction
pinkenburg Nov 30, 2025
b24973e
Merge pull request #1241 from pinkenburg/clang-tidy-macro-13
pinkenburg Nov 30, 2025
40d03d7
replace tpcSpaceChargeReconstruction by PHTpcResiduals. Both classes …
hupereir Dec 2, 2025
af916a5
Merge pull request #1242 from hupereir/PHTpcResiduals-devel
osbornjd Dec 3, 2025
db967e4
fix ZF silicon seeding
Dec 5, 2025
fc6aede
Merge pull request #1243 from yuxdPKU/master
osbornjd Dec 5, 2025
b5c2050
Organize headers and fix clang-tidy error
jamesjl3 Dec 8, 2025
c725284
Change float literals to use uppercase 'F'
jamesjl3 Dec 8, 2025
50b4d1c
Merge pull request #1239 from jamesjl3/master
pinkenburg Dec 8, 2025
05febc4
Add first commit of macro to generate calorimeter systematic nodes.
emclaughlin2 Dec 10, 2025
2b2dd86
Add hadronic response uncertainty to calo systematics. Add cdb hist m…
emclaughlin2 Dec 10, 2025
8fd8766
Fix includes for both macros
emclaughlin2 Dec 10, 2025
6774794
Disable UnderlyingEventQA for pp
Jinglin-liu Dec 11, 2025
f2a3b92
fix clandy tidy warning
emclaughlin2 Dec 11, 2025
de90d3f
Merge pull request #1245 from Jinglin-liu/master
pinkenburg Dec 11, 2025
082f34d
fix clang tidy again
emclaughlin2 Dec 11, 2025
d80e904
remove legacy API
tmengel Dec 11, 2025
3e97e89
Merge pull request #1244 from emclaughlin2/master
bseidlit Dec 11, 2025
9a23be2
fix clang-tidy for calo_syst
pinkenburg Dec 11, 2025
37e7d90
clang-tidy for CDBTest
pinkenburg Dec 11, 2025
01b0eef
clang-tidy for CaloEmbedding
pinkenburg Dec 11, 2025
1669f61
clang-tidy for calo/utils
pinkenburg Dec 11, 2025
0bbb54a
Merge pull request #1246 from tmengel/cleanDTB
pinkenburg Dec 11, 2025
e363913
clang-tidy for CaloEmbedding
pinkenburg Dec 11, 2025
bbc7d29
Merge pull request #1247 from pinkenburg/clang-tidy-macro-15
pinkenburg Dec 12, 2025
97138bd
remove obsolete macros from 2023
pinkenburg Dec 12, 2025
a9560e1
feat: Add 'run3pp' support and update run ranges
Steepspace Dec 12, 2025
a779f68
clang-tidy for emc_pi0_tbt
pinkenburg Dec 12, 2025
0c709d5
clang-tidy for emcal_calib_year2
pinkenburg Dec 12, 2025
51d9fa1
Merge pull request #1249 from pinkenburg/clang-tidy-macro-16
pinkenburg Dec 12, 2025
5a24d1b
Merge pull request #1248 from Steepspace/CaloCDB
pinkenburg Dec 12, 2025
52b0ef1
Add no systematic change (no_calib) option for systematics
emclaughlin2 Dec 12, 2025
097e66b
Merge branch 'master' of github.com:emclaughlin2/sPHENIX-macros
emclaughlin2 Dec 12, 2025
9b1d9a0
clang-tidy for calo_syst
pinkenburg Dec 13, 2025
bf16bcb
Merge pull request #1250 from emclaughlin2/master
pinkenburg Dec 13, 2025
74ccbe4
fix clang-tidy for calibration/tpot
pinkenburg Dec 13, 2025
79ad48e
Merge pull request #1251 from pinkenburg/fix-tpot
pinkenburg Dec 13, 2025
3de5d2d
Add up and down systematics for calibration uncertainties and hadroni…
emclaughlin2 Dec 15, 2025
6fc54f7
Fix output plot name bug
emclaughlin2 Dec 15, 2025
f97d84f
clang-tidy for emcal_noisy_tower_macro
pinkenburg Dec 15, 2025
bbd8a18
Merge pull request #1252 from emclaughlin2/master
bseidlit Dec 15, 2025
f10cf5c
add a run3pp full reco macro
osbornjd Dec 15, 2025
09dc20d
Merge pull request #1253 from osbornjd/run3pp
osbornjd Dec 15, 2025
a3994ce
Merge branch 'master' into clang-tidy-macro-17
pinkenburg Dec 15, 2025
8a78265
removing old non-official cosmics calib code
Dec 15, 2025
4b6d2b5
Reframe Sys_Calo to generalize generating calibration systematic node…
emclaughlin2 Dec 15, 2025
3739b03
Merge pull request #1256 from emclaughlin2/master
pinkenburg Dec 15, 2025
8d3e294
Merge pull request #1255 from bseidlit/master
pinkenburg Dec 15, 2025
fd7da67
Merge pull request #1254 from pinkenburg/clang-tidy-macro-17
pinkenburg Dec 16, 2025
799d40e
Merge branch 'sPHENIX-Collaboration:master' into master
asasikum Dec 16, 2025
408ec68
files for hcal temp corr calib generation
Dec 16, 2025
34d2f47
Add pp run switch for JetQA module
Jinglin-liu Dec 16, 2025
f10bf2a
Merge branch 'master' of https://github.com/Jinglin-liu/macros
Jinglin-liu Dec 16, 2025
6506fa5
clang-tidy for genFinalCalib
pinkenburg Dec 16, 2025
4d9e6d3
clang-tidy for makeTemp
pinkenburg Dec 16, 2025
d44a227
more clang-tidy for genFinalCalib
pinkenburg Dec 16, 2025
171a64d
clang-tidy for genTSCalib
pinkenburg Dec 16, 2025
f1326d2
Merge pull request #1257 from asasikum/master
pinkenburg Dec 16, 2025
67872e5
Merge branch 'master' into pr_hcal_temp
pinkenburg Dec 16, 2025
14cb2ea
clang-tidy for genFinalCalib
pinkenburg Dec 16, 2025
901da6f
clang-tidy for Fun4All_HCal.C
pinkenburg Dec 16, 2025
80c6656
Merge pull request #1258 from asasikum/pr_hcal_temp
pinkenburg Dec 16, 2025
626d8bc
fix lamination correction to cdb
osbornjd Dec 17, 2025
c18f3ac
Merge pull request #1260 from osbornjd/run3pp
osbornjd Dec 17, 2025
039d878
CaloCDB: refactor runProd.py
Steepspace Dec 18, 2025
8e51fdf
Merge pull request #1259 from Jinglin-liu/master
pinkenburg Dec 18, 2025
6004bdf
switch to iterative silicon seed by default
osbornjd Dec 23, 2025
7773bf6
fix non-benign clang tidy warnings
osbornjd Dec 23, 2025
5e3aeaf
clean run.sh
asasikum Dec 31, 2025
32169cb
Merge pull request #1263 from asasikum/master
pinkenburg Dec 31, 2025
853b3a8
do not run vertexpropagator when convertseed is true
Jan 2, 2026
ae1d810
Merge pull request #1264 from yuxdPKU/macro_fix
osbornjd Jan 2, 2026
93f3e73
updated for run25pp
mchiu-bnl Jan 2, 2026
2995c1a
fix macro for new AddListFile API
pinkenburg Jan 2, 2026
7adedac
fix macro for new AddListFile API
pinkenburg Jan 2, 2026
15cf09a
fix clang-tidy for mbd
pinkenburg Jan 2, 2026
20ed44c
fix clang-tidy for mbd/HV
pinkenburg Jan 2, 2026
abd54e3
Merge pull request #1265 from mchiu-bnl/mbd
pinkenburg Jan 2, 2026
f099678
Merge pull request #1262 from osbornjd/iterative_seeding
osbornjd Jan 5, 2026
7dd27e9
separate track matching functions
osbornjd Jan 8, 2026
fcc22cd
Merge pull request #1266 from osbornjd/trackmatching
osbornjd Jan 8, 2026
9847a64
generalize function calls to use variable cluster map name
osbornjd Jan 8, 2026
c0b66fe
restore param order
osbornjd Jan 8, 2026
16fcc6a
fix syntax error
osbornjd Jan 8, 2026
174f3a2
Merge pull request #1267 from osbornjd/production_jobc
osbornjd Jan 9, 2026
8bec20c
changes to handle run type automatically
mchiu-bnl Jan 9, 2026
ca93ecb
Merge remote-tracking branch 'refs/remotes/origin/mbd' into mbd
mchiu-bnl Jan 9, 2026
024a40a
coderabbit fixes
mchiu-bnl Jan 9, 2026
4a297a0
clang-tidy fixes
mchiu-bnl Jan 9, 2026
d446ec9
Update calibrations/mbd/recal_mbd_mip.C
mchiu-bnl Jan 9, 2026
f1c3422
clang-tidy fixes
mchiu-bnl Jan 9, 2026
d0761c5
Merge remote-tracking branch 'refs/remotes/origin/mbd' into mbd
mchiu-bnl Jan 9, 2026
73e8a58
clang-tidy fixes
mchiu-bnl Jan 9, 2026
7685a13
seeds for pp fits
mchiu-bnl Jan 11, 2026
540f03b
remote TString use
pinkenburg Jan 11, 2026
8d84046
clang-tidy for recal_mbd_mip.C
pinkenburg Jan 11, 2026
1fa2a90
accept suggestions from the rabbit for recal_mbd_mip.C
pinkenburg Jan 11, 2026
0763f28
use GetObject instead of Get() with static cast
pinkenburg Jan 11, 2026
41e9e55
more clang-tidy fixes
mchiu-bnl Jan 11, 2026
b5ff27f
Update calibrations/mbd/recal_mbd_mip.C
mchiu-bnl Jan 11, 2026
58a9f73
fixed non-problem clang-tidy complained about
mchiu-bnl Jan 12, 2026
144a882
add geom to trkr init
osbornjd Jan 12, 2026
79c9f2a
fix clang-tidy
osbornjd Jan 12, 2026
1d91d7a
Merge pull request #1269 from osbornjd/geom
osbornjd Jan 12, 2026
d233da2
Merge pull request #1268 from mchiu-bnl/mbd
pinkenburg Jan 12, 2026
02d29a2
ensure drift velocities are consistent
osbornjd Jan 13, 2026
6712898
sEPD Event Plane Calibration
Steepspace Jan 13, 2026
8d3affa
Fun4All_sEPD: Switch to Standard Pointers
Steepspace Jan 14, 2026
ff69b9d
added more robust peak finder
mchiu-bnl Jan 15, 2026
95c2755
Merge pull request #1271 from mchiu-bnl/mbd
pinkenburg Jan 15, 2026
e3ace65
Revert "fix: add geom to trkr init"
osbornjd Jan 16, 2026
d701819
Merge pull request #1272 from sPHENIX-Collaboration/revert-1269-geom
osbornjd Jan 16, 2026
443f37c
add back in cdb geom call
osbornjd Jan 18, 2026
8655b14
moved to PLOTS subdirectory
mchiu-bnl Jan 18, 2026
06a5488
plot pedestal
mchiu-bnl Jan 18, 2026
f5a4b3d
added setoptstats
mchiu-bnl Jan 18, 2026
6070768
clang-tidy
mchiu-bnl Jan 18, 2026
f52157c
fix crash
osbornjd Jan 18, 2026
24f65c3
Merge pull request #1274 from mchiu-bnl/mbd
pinkenburg Jan 18, 2026
dac2f9f
using theirs
bogui56 Jan 19, 2026
a512a7a
Merge pull request #1273 from osbornjd/geom
osbornjd Jan 20, 2026
dc8a5a6
Merge pull request #1024 from bogui56/master
osbornjd Jan 20, 2026
c6a945c
add 0.5 mRad crossing angle
pinkenburg Jan 23, 2026
ba2870a
Merge pull request #1275 from pinkenburg/add-05mrad
pinkenburg Jan 23, 2026
bf37e71
Merge pull request #1181 from pinkenburg/sepd-templatefit
pinkenburg Jan 23, 2026
71b817a
add string for easier convert call
osbornjd Jan 26, 2026
77dfac5
Merge pull request #1276 from osbornjd/convertseeds_string
osbornjd Jan 26, 2026
2705928
add merger into nominal silicon seeding pipeline
osbornjd Jan 26, 2026
4e3d866
trigger jenkins
osbornjd Jan 27, 2026
c9b5a2a
add duplicate removal to sim
osbornjd Jan 28, 2026
6c6c109
Merge pull request #1277 from osbornjd/duplicate_removal
osbornjd Jan 29, 2026
d1dc5ef
add data/sim reco flag for tracking workflow
osbornjd Jan 29, 2026
a077350
fix module call and add a log
osbornjd Jan 29, 2026
d098e8b
added mbd_status
mchiu-bnl Jan 29, 2026
834a882
Merge pull request #1280 from mchiu-bnl/mbd
pinkenburg Jan 29, 2026
5bbf8f8
Fun4All_sEPD - Use default CentralityScale CDB
Steepspace Jan 30, 2026
66eb3b5
Update README
Steepspace Jan 30, 2026
ec4eaf6
fix stupid typo
osbornjd Jan 30, 2026
d3540e1
Merge pull request #1279 from osbornjd/test_silicon_seed_offsets
osbornjd Jan 30, 2026
a6d9cb5
run multiple pythia8 generators
pinkenburg Jan 30, 2026
aa1db64
use proper initialization for stl map
pinkenburg Jan 30, 2026
54600c1
adjust CaloEmbedding for new pythia8 in G4_Input
pinkenburg Jan 30, 2026
b1a2e9d
fix clang-tidy for hcal_tsc_cos
pinkenburg Jan 30, 2026
eaa4d45
clang-tidy for calo/hcal_calib_year2/fileQA
pinkenburg Jan 31, 2026
250aadc
Merge pull request #1282 from pinkenburg/clang-tidy-macro-18
pinkenburg Jan 31, 2026
639e9d4
Merge branch 'master' into multiple-pythia8
pinkenburg Jan 31, 2026
709b2e4
add testing range (run >= 100)
pinkenburg Jan 31, 2026
bf47c4c
Merge pull request #1281 from pinkenburg/multiple-pythia8
pinkenburg Jan 31, 2026
64a6471
Code Review
Steepspace Feb 1, 2026
6c3bd00
Code Review 2
Steepspace Feb 1, 2026
db0870a
CaloCDB: runProd.py - O+O Update
Steepspace Feb 1, 2026
b0c4650
add more realistic beam spot to auau and pp sims
osbornjd Feb 4, 2026
19cc696
add time
osbornjd Feb 4, 2026
40b2ce2
add output manager to Fun4All_sEPD.C
pinkenburg Feb 4, 2026
5259050
Merge pull request #1285 from osbornjd/real_vertex
osbornjd Feb 5, 2026
d505a92
Fun4All_sEPD: Histogram Saving
Steepspace Feb 7, 2026
f2402a2
Add Fun4All_QVecCalib.C
Steepspace Feb 8, 2026
e0a8319
runProd.py - Condor Scripts
Steepspace Feb 9, 2026
dec6321
Data overlay macros
Feb 9, 2026
ee7272d
adding G4 setup
Feb 9, 2026
da680f3
fix G4_RunSettings.C
pinkenburg Feb 10, 2026
f901278
Merge pull request #1289 from pinkenburg/fix-G4_RunSettings
pinkenburg Feb 10, 2026
8ef87e0
updates to G4 embedding macro
Feb 11, 2026
6b53eb0
add 0.75 mRad Xing angle for run 35
pinkenburg Feb 12, 2026
635af27
add 0.75 mRad Xing angle for run 35
pinkenburg Feb 12, 2026
b8edb9f
Merge pull request #1290 from pinkenburg/mrad-075
pinkenburg Feb 12, 2026
2693c54
use 20 cm z vtx width for 0.75 mRad
pinkenburg Feb 13, 2026
12674ab
Merge pull request #1291 from pinkenburg/mrad-075-a
pinkenburg Feb 13, 2026
4bc2d69
remove tpot matching from production workflow for now
osbornjd Feb 17, 2026
6585411
Merge pull request #1293 from osbornjd/remove_tpot_matching
osbornjd Feb 18, 2026
6f2468f
make seed qa run on seed containers
osbornjd Feb 18, 2026
f986894
clang-tidy
osbornjd Feb 18, 2026
44f50f5
Merge pull request #1295 from osbornjd/fix_qa
osbornjd Feb 18, 2026
9db8cc2
split the output TTree
pinkenburg Feb 21, 2026
18fcecb
empty commit to trigger jenkins
pinkenburg Feb 23, 2026
03e31a7
fix clang-tidy
pinkenburg Feb 23, 2026
40b5bb4
Merge pull request #1270 from Steepspace/sEPD-Calib-Gen
pinkenburg Feb 23, 2026
763e1fd
Changed USE_PHI_AS_RAD_AVERAGE_CORRECTIONS default value to true. Thi…
hupereir Feb 23, 2026
98174ae
Do not overwrite USE_PHI_AS_RAD_AVERAGE_CORRECTIONS default value.
hupereir Feb 23, 2026
8e52975
Update TpcLaminationFitting settings in Trkr_LaserClustering
bkimelman Feb 23, 2026
a2bfb83
Add new configuration variables for tracking
bkimelman Feb 23, 2026
5d45533
Enable USE_PHI_AS_RAD_AVERAGE_CORRECTIONS flag
bkimelman Feb 23, 2026
af48a75
Merge pull request #1296 from hupereir/distortion_correction_default_…
osbornjd Feb 24, 2026
1a2235f
Merge branch 'master' into master
osbornjd Feb 24, 2026
6043a92
add distortion corrections
osbornjd Feb 24, 2026
4f0806c
clang tidy fixes
Feb 24, 2026
7bcfd6b
Merge pull request #1298 from osbornjd/fix_qa
osbornjd Feb 24, 2026
d5d77aa
Merge pull request #1297 from bkimelman/master
osbornjd Feb 24, 2026
a8c2478
Add common G4Setup_sPHENIX.C
pinkenburg Feb 24, 2026
0f2a584
Merge pull request #1299 from pinkenburg/add-g4setup
pinkenburg Feb 24, 2026
eb15398
fix clang-tidy, move G4Setup.C to common
pinkenburg Feb 24, 2026
9143e75
Merge pull request #1288 from bseidlit/master
pinkenburg Feb 24, 2026
d69b3fb
data embedding run scripts
Feb 25, 2026
2755753
improve run script
Feb 26, 2026
22297bd
swap epd combining
Feb 26, 2026
2788c3c
more improvements
Feb 26, 2026
427c287
Merge pull request #1300 from bseidlit/master
bseidlit Feb 26, 2026
bd56e6e
CaloTowerStatus - Removal of set_time_cut
Steepspace Feb 26, 2026
b647fec
adding calo status skimmer to process_calo
Feb 26, 2026
42d9289
mods to support Run3OO dataset
mchiu-bnl Feb 27, 2026
9a62214
returns 1 on abort
mchiu-bnl Feb 27, 2026
83f3c93
fix clang-tidy
pinkenburg Feb 27, 2026
a73d527
Merge pull request #1303 from mchiu-bnl/mbd
pinkenburg Feb 27, 2026
7aa0b76
Merge pull request #1301 from Steepspace/CaloTowerStatus
pinkenburg Feb 27, 2026
b9ec69f
Merge pull request #1302 from bseidlit/master
pinkenburg Feb 27, 2026
ee51705
add cluster map name option to track matching
osbornjd Feb 27, 2026
f71c6e2
add ZDC functional waveform fitting
Feb 27, 2026
5281381
Merge pull request #1305 from bseidlit/master
pinkenburg Feb 27, 2026
77bc6b7
Merge pull request #1304 from osbornjd/clustermapname
osbornjd Feb 27, 2026
fae569e
EventPlaneReco (Cleanup)
Steepspace Feb 28, 2026
6ca5368
adding sim flag for calostatusskimmer
Mar 1, 2026
60f41f1
Merge pull request #1307 from bseidlit/master
bseidlit Mar 1, 2026
84eea94
fix tpc seed vertex qa plots
osbornjd Mar 2, 2026
7b3adb9
Merge pull request #1308 from osbornjd/tpcvertex
osbornjd Mar 2, 2026
a3421b5
ZDC/SMD waveform reco system def
Mar 3, 2026
6081d73
Merge pull request #1309 from bseidlit/master
bseidlit Mar 4, 2026
992d4fd
get Calo_Fitting.C production ready, no zdc processing
pinkenburg Mar 4, 2026
49cc04e
fix clang-tidy
pinkenburg Mar 4, 2026
3cc83a9
fix clang-tidy
pinkenburg Mar 4, 2026
8ce0481
Merge pull request #1310 from pinkenburg/calo-fitting-production
pinkenburg Mar 4, 2026
270f661
move the zdc raw data reco to this macro
pinkenburg Mar 4, 2026
d45599f
Merge pull request #1311 from pinkenburg/calo-calib-zdc-raw
pinkenburg Mar 4, 2026
c8ee051
Adding PPG14 run 36 to RunSettings w/ HIJING afterburner settings - f…
tmengel Mar 4, 2026
051e90f
Update run settings output message to run36
pinkenburg Mar 5, 2026
1bbfb11
Merge pull request #1312 from tmengel/hijing_flowMod_run36
pinkenburg Mar 5, 2026
8e9e1b7
Code Review - Fix unlink()
Steepspace Mar 9, 2026
a67cf02
Code Review - Fix Potential infinite loop
Steepspace Mar 9, 2026
bb1298a
runProd.py - Update Run 3 O+O Run Range
Steepspace Mar 9, 2026
d1127d4
Code Review - Fix unlink logic error
Steepspace Mar 9, 2026
7344912
runProd.py: Remove redundant directory creation
Steepspace Mar 9, 2026
f154716
Merge pull request #1306 from Steepspace/sEPD-EventPlaneReco
pinkenburg Mar 10, 2026
8953749
add BcoLumiProduction macros
pinkenburg Mar 10, 2026
b9b3f33
empty commit to trigger jenkins
pinkenburg Mar 11, 2026
6970fa1
empty commit to trigger jenkins
pinkenburg Mar 12, 2026
fd4c257
Merge pull request #1313 from pinkenburg/BcoLumiProduction
pinkenburg Mar 13, 2026
cb446bd
apply PHENIXBeamParameter to all generators
pinkenburg Mar 13, 2026
c50ea58
Merge pull request #1315 from pinkenburg/fix-dual-pythia8
pinkenburg Mar 13, 2026
58a0723
Add run 37 dNdEta analysis for OO
pinkenburg Mar 14, 2026
40cdb3d
Merge pull request #1316 from pinkenburg/OOdNdEta
pinkenburg Mar 14, 2026
afb0120
CaloCDB: Fix Header Name
Steepspace Mar 19, 2026
468eafd
Refactor: Migrate runProd.C from CDBUtils to CDBInterface
Steepspace Mar 19, 2026
b7feaa8
Merge pull request #1261 from Steepspace/CaloCDB
pinkenburg Mar 19, 2026
edb12ee
fixing HCal cosmics production macro
Apr 3, 2026
5e881c3
Merge branch 'master' into master
bseidlit Apr 3, 2026
f1a85e1
Merge pull request #1318 from bseidlit/master
bseidlit Apr 3, 2026
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
48 changes: 48 additions & 0 deletions BcoLumiProduction/Fun4All_BcoLumi.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

#include <bcolumicount/BcoLumiReco.h>
#include <ffamodules/SyncReco.h>

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

#include <fun4allraw/Fun4AllPrdfInputManager.h>

#include <phool/recoConsts.h>

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

R__LOAD_LIBRARY(libbcolumicount.so)
R__LOAD_LIBRARY(libfun4all.so)
R__LOAD_LIBRARY(libffamodules.so)
R__LOAD_LIBRARY(libfun4allraw.so)

void Fun4All_BcoLumi(const int nEvents = 0,
const std::string &inlist = "gl1daq.list",
const std::string &outfile = "DST_BCOINFO-00081000-00000.root")
{
Fun4AllServer *se = Fun4AllServer::instance();
// se->Verbosity(1);

SyncReco *sync = new SyncReco();
// sync->Verbosity(10);
se->registerSubsystem(sync);

BcoLumiReco *lumi = new BcoLumiReco();
// lumi->Verbosity(10);
se->registerSubsystem(lumi);

Fun4AllInputManager *in = new Fun4AllPrdfInputManager("PRDFin");
in->AddListFile(inlist);
se->registerInputManager(in);
Fun4AllOutputManager *out = new Fun4AllDstOutputManager("out",outfile);
se->registerOutputManager(out);

se->run(nEvents);

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