Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3957 commits
Select commit Hold shift + click to select a range
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
d2414f1
macro to make the 1d temp graph from the root files produced by CaloT…
Feb 6, 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
2371fa3
Add EMCalShowerShapeQA
Jinglin-liu Apr 13, 2026
e759e3c
Merge pull request #1319 from Jinglin-liu/EMCalShowerShapes
pinkenburg Apr 17, 2026
f760e5b
Clarify CDBInterface usage with a comment
pinkenburg Apr 26, 2026
131455b
static_correction_filename is now left empty in G4_TrkrVariables.C
hupereir Apr 27, 2026
4579ce6
fix typo.
hupereir Apr 27, 2026
6525f08
Merge pull request #1320 from hupereir/static_correction_fix
pinkenburg Apr 28, 2026
dd4143d
use central G4Setup_sPHENIX.C, remove obsolete call to load dacmap
pinkenburg Apr 28, 2026
8eaf6ee
Merge pull request #1322 from pinkenburg/fix-intt-2
pinkenburg Apr 28, 2026
cb56995
latest Fun4All_Year2_Fitting.C macro
pinkenburg Apr 29, 2026
169ef24
Merge pull request #1323 from pinkenburg/caloprod-update
pinkenburg Apr 29, 2026
511389b
Handle time-averaged distortion corrections the same way as static an…
hupereir Apr 30, 2026
7bb3c1b
Use the same procedure to load static distortions and time series as …
hupereir Apr 30, 2026
b7f36ac
cleanup. Relies on default values
hupereir Apr 30, 2026
4b08f9f
Merge pull request #1324 from hupereir/distortion_setup_fix
osbornjd May 4, 2026
a633c2f
mods to do pro calibration pass on final DSTs
mchiu-bnl May 7, 2026
f0ab1c2
Merge remote-tracking branch 'refs/remotes/origin/mbd' into mbd
mchiu-bnl May 7, 2026
81aa6cb
fixed typo
mchiu-bnl May 7, 2026
8edd46e
Update calibrations/mbd/prorun_mbdcal.sh
mchiu-bnl May 8, 2026
1498114
Update calibrations/mbd/prorun.sh
mchiu-bnl May 8, 2026
e686129
comment out build=none line
mchiu-bnl May 8, 2026
3381a6e
fix clang-tidy errors
pinkenburg May 8, 2026
af52532
Merge pull request #1325 from mchiu-bnl/mbd
pinkenburg May 8, 2026
3674c7e
Fixed a bug in loading distortions in MC.
hupereir May 14, 2026
71d5180
Merge pull request #1326 from hupereir/distortions-bug-fix
pinkenburg May 14, 2026
6389a91
(1) Add macro for new Subsys reco module in core software to produce …
dillfitz May 16, 2026
3a78120
HRJ - Initial commit to kickoff
hrjheng May 25, 2026
4c618f2
fix clang-tidy
hrjheng May 25, 2026
626e2ef
fix clang-tidy
pinkenburg May 26, 2026
2e239ff
Merge pull request #1286 from asasikum/master
pinkenburg May 26, 2026
e94d407
Write dst with diffuse laser events only
mitrankova May 26, 2026
70ddd53
rename; use the least biased trigger (trigger bit 14)
hrjheng May 26, 2026
dfdd738
small change - re-use run 35 for OO sims, use consistent name OO_COLL…
pinkenburg May 27, 2026
28cad2d
Add AuAu_COLLISION (0), use OO_COLLISION
pinkenburg May 27, 2026
8040638
fix switch collision statement
pinkenburg May 27, 2026
5ad3e51
Merge pull request #1328 from hrjheng/OO-sim-pileup
pinkenburg May 27, 2026
deda031
clang-tidy
osbornjd May 28, 2026
26a77b4
Merge pull request #1329 from mitrankova/DiffuseLaserEventSelector_dst
osbornjd May 28, 2026
6153133
use std::format instead of TSTring::Form
pinkenburg May 28, 2026
368c155
Merge pull request #1330 from pinkenburg/fix-diffuserlaser
pinkenburg May 28, 2026
ab4b3fb
replace ProdA_2024 by newcdbtag
pinkenburg May 28, 2026
c574484
Merge pull request #1331 from pinkenburg/use-newcdbtag
pinkenburg May 28, 2026
4263dfb
add new production macros
pinkenburg Jun 3, 2026
01005ed
Merge pull request #1332 from pinkenburg/add-calo-macros
pinkenburg Jun 3, 2026
dca71db
Update default options in jet reconstruction macros to not apply scal…
vbailey2 Jun 3, 2026
0c57f8f
clang-tidy fixes for tower_slope_macro
pinkenburg Jun 3, 2026
9168cde
change order of output files consistent with skimming macro
pinkenburg Jun 3, 2026
a8399c6
clang-tidy for Fun4All_DiffuseLaser.C
pinkenburg Jun 3, 2026
b08906d
Merge pull request #1334 from pinkenburg/clang-tidy-fix-6-3-2026
pinkenburg Jun 3, 2026
a2778d0
update track fitting for run3pp dsts
osbornjd Jun 5, 2026
4c25cab
merge with master
osbornjd Jun 5, 2026
a411493
Merge pull request #1335 from osbornjd/trackfittermacro
osbornjd Jun 5, 2026
03c621b
Merge pull request #1327 from dillfitz/master
osbornjd Jun 5, 2026
05688bf
updates to directories for final calibrations
mchiu-bnl Jun 8, 2026
e31672d
updates to directories for final calibrations
mchiu-bnl Jun 8, 2026
c7434fa
Merge remote-tracking branch 'refs/remotes/origin/mbd' into mbd
mchiu-bnl Jun 8, 2026
351a32a
updates to directories for final calibrations
mchiu-bnl Jun 8, 2026
5c46666
add macros files for Tom
osbornjd Jun 8, 2026
4537eb2
Remove getenv setting from GasModel_condor.job
pinkenburg Jun 8, 2026
92d6ce5
fix clang-tidy
osbornjd Jun 8, 2026
13572e7
Merge branch 'PHGarfield' of github.com:osbornjd/macros into PHGarfield
osbornjd Jun 8, 2026
7d85847
fix other clang tidy errors
osbornjd Jun 9, 2026
ffe64df
Merge branch 'master' of github.com:sPHENIX-Collaboration/macros into…
osbornjd Jun 9, 2026
251f2cd
more residual clang-tidy
osbornjd Jun 9, 2026
92a5cf7
Merge pull request #1337 from osbornjd/PHGarfield
osbornjd Jun 9, 2026
0fe5f74
Merge pull request #1336 from mchiu-bnl/mbd
pinkenburg Jun 10, 2026
cf1d475
fix converter
osbornjd Jun 12, 2026
a6907dd
Merge pull request #1338 from osbornjd/converter
osbornjd Jun 12, 2026
c6c9de4
save gl1 packet in vernier scan dst
pinkenburg Jun 15, 2026
341722c
fix TestFieldMap.C macro (needs merged PR in coresoftware)
pinkenburg Jun 15, 2026
925dedc
Merge pull request #1339 from pinkenburg/vernier-save-gl1
pinkenburg Jun 15, 2026
6de0861
Merge pull request #1333 from vbailey2/jetqaupdate
pinkenburg Jun 16, 2026
69496bc
check for geometry building from scratch
osbornjd Jun 16, 2026
90a4b17
add macro to show how to write the cdb dump and read it back
pinkenburg Jun 16, 2026
443ed1b
Merge pull request #1341 from pinkenburg/test-cdb-filedump
pinkenburg Jun 17, 2026
94f7d24
the mdc cdb tag should be enough
osbornjd Jun 18, 2026
d8cea40
add helper function to load geometry explicitly separately in data/sim
osbornjd Jun 18, 2026
7c0525c
Merge pull request #1340 from osbornjd/geom_cdb
pinkenburg Jun 18, 2026
ebcc252
remove obsolete Fun4All_SingleStream_Combiner_lumi.C
pinkenburg Jun 18, 2026
906121e
Merge pull request #1342 from pinkenburg/cleanup
osbornjd Jun 18, 2026
b5792c5
add ppmode flag to vertexer
osbornjd Jun 23, 2026
e99b032
Merge pull request #1343 from osbornjd/vertexing
osbornjd Jun 23, 2026
27f0c1e
call standardized functions
osbornjd Jun 23, 2026
fbe1a6f
Merge pull request #1344 from osbornjd/vertexing
osbornjd Jun 23, 2026
5992001
re-add tpot matching into default seeding workflow
osbornjd Jun 23, 2026
96a1082
Separate streaming luminosity calculation into separate Subsysreco mo…
dillfitz Jun 24, 2026
ef96675
Read output of StreamingBcoReco into StreamingLumiReco rather than ou…
dillfitz Jun 25, 2026
2b12c28
Merge pull request #1347 from dillfitz/refactor-streaming-lumi
pinkenburg Jun 25, 2026
96ff14a
remove tpot from track fitting
osbornjd Jun 25, 2026
d5daa4f
Merge pull request #1346 from osbornjd/tpot_seeding
osbornjd Jun 25, 2026
ce296db
Adding the 3D starting script
tkhemmick Jun 9, 2026
51f6dbb
updates concerning directory structures and sym links
tkhemmick Jun 9, 2026
6a458d0
2500 jobs for 3D calculation.
tkhemmick Jun 9, 2026
bd84af7
Added capability for a Variable Electric Field Value.
tkhemmick Jun 23, 2026
3239918
Update Garfield production scripts for variable electric field
tkhemmick Jun 26, 2026
16d2aea
copy Fun4All_Prdf_Combiner.C from prodmacros
pinkenburg Jun 26, 2026
7857d22
Merge pull request #1349 from pinkenburg/copy-prodmacro
pinkenburg Jun 26, 2026
edf9101
Merge pull request #1348 from tkhemmick/VariableElectricField
pinkenburg Jun 27, 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
65 changes: 65 additions & 0 deletions BcoLumiProduction/Fun4All_BcoLumi.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

#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>

#include <fstream>

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")
{
std::string outfile = "DST_BCOINFO-";
std::ifstream file("gl1daq.list"); // open the file
if (!file.is_open()) {
std::cerr << "Failed to open file\n";
}

// There is probably a better way to do this... revisit!
std::string infilename;
if (std::getline(file, infilename)) {
std::string run_segments = infilename.substr(infilename.size() - 17, 8);
outfile += run_segments;
outfile += ".root";
} else {
std::cout << "File is empty or read failed\n";
}

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