Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Muon mvaid in nano #1

Merged
merged 578 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
578 commits
Select commit Hold shift + click to select a range
2bc7bc9
Delete test.py
jeongeun Oct 26, 2022
6e5dc7d
Delete testAnyBX.py
jeongeun Oct 26, 2022
f5db6b9
Delete testCRAFT.py
jeongeun Oct 26, 2022
3e38b93
Delete testCRAFTCosmic.py
jeongeun Oct 26, 2022
d2c0fa5
Delete testL1MuonMatcherExt.py
jeongeun Oct 26, 2022
fb7fa9f
Delete testL1MuonMatcherExt_JPsi.py
jeongeun Oct 26, 2022
b97e9c4
Removed EventFilter/Playback
Dr15Jones Oct 27, 2022
04d59db
Changed profiling analyzers to edm::one::EDAnalyzer
Dr15Jones Oct 27, 2022
4a307cd
Fix unit test: use LNF so that input files can be read from ibeos
smuzaffar Oct 27, 2022
0178083
Adding codes to process the reconstruction files of Muon Tomography
indra-ehep Oct 20, 2022
c8554a7
Adding code to process the reconstruction files for Muon Tomography
indra-ehep Oct 26, 2022
967873a
use "--hltProcess reHLT" in Run-3 Data RelVals
missirol Oct 26, 2022
7b83130
Add histogram full name if exception happens in DQMRootSource
Dr15Jones Oct 25, 2022
3b4c114
RooFit-related fixes in DiMuonMassBiasClient
guitargeek Oct 26, 2022
c9bbed0
GE21 recHits in GEMonlineDQM
quark2 Oct 26, 2022
a8285b3
customize eta range of Tracker Alignment ALCARECO producer for phase-…
mmusich Oct 26, 2022
def379a
add ALCA step to phase-2 runTheMatrix workflows
mmusich Oct 26, 2022
2b97600
supply more updated AlCaRecoTriggerBits payload in Run4 global tag
mmusich Oct 26, 2022
4602a8c
supply TkPhase2OTCPERecord for refitting
mmusich Oct 26, 2022
07bed85
fix matching between pat trigger objects and L1 objects
swertz Oct 27, 2022
faf3536
Remove commented unnecessary code from DigiAccumulatorMixModFactory.h
makortel Oct 27, 2022
96298ec
Use SiPixel CPE (cluster repair) with speed=0; i.e., without ProbQ co…
mmasciov Oct 17, 2022
2ee09e5
Remove warning when disabling probQ computation
mmasciov Oct 17, 2022
59aa4c3
update WithoutProbQ for phase2
slava77 Oct 19, 2022
a839501
Restore previous warning, except for default value
mmasciov Oct 22, 2022
6571f16
Use float representation in comparison
mmasciov Oct 23, 2022
9c059bb
Require the AlpakaService to be enabled before running on a Device
fwyzard Sep 7, 2022
952519f
add protection for alca step in the patatrack phase-2 workflows
mmusich Oct 28, 2022
8eeba80
add protection for alca step in the prodlike and pixel-tracking only …
mmusich Oct 28, 2022
719701c
Use tokens rather than labels in accessing collections in Alignment/C…
Oct 24, 2022
1c8e0ff
Add a test suit to investigate why some of the SimHits are declared i…
Oct 27, 2022
41081ef
Code check
Oct 27, 2022
0196503
Update the ERA name
Oct 27, 2022
2bdb86e
Removed unused EDAnalyzer.h header from AnalysisJV
Dr15Jones Oct 28, 2022
a1126b6
Removed unused EDAnalyzer.h from HLTJetMETValidation.h
Dr15Jones Oct 28, 2022
5466272
Remove unused EDAnalyzer.h in Reco* packages
Dr15Jones Oct 28, 2022
4634973
Removed unused EDAnalyzer.h from L1Trigger*
Dr15Jones Oct 28, 2022
f4da981
Removed unused EDAnalyzer.h header from DQMOffline
Dr15Jones Oct 28, 2022
27ad0a4
Removed unneeded include of EDAnalyzer.h from DQM
Dr15Jones Oct 28, 2022
cc46890
HLT menu development for 12_4_X (branch: 12_6_X)
missirol Oct 29, 2022
ad2bc3e
Update of frozen GRun menu to HLT 2022-V1.5
missirol Oct 29, 2022
d04e645
move DIGIHI2018PPRECO RelVal step to Fake2 HLT menu
missirol Oct 30, 2022
5432473
Update several scripts in Geometry/HGCalCommonData/test/python to sup…
Oct 28, 2022
ef4f7ae
Replace cout with edm::LOgVerbatim in Alignment/CommonAlignmentMonitor
Oct 27, 2022
ecbe9ae
Delete some of the obsolete files in Geometry/HGCalCommonData/test ar…
Oct 28, 2022
dae9bb9
Use tokens rather than labels in accessing collections within Alignme…
Oct 26, 2022
4180802
require states to be pos-def
swagata87 Oct 27, 2022
39f3901
simple option to rerun failed workflows from a matrix report
vlimant Oct 25, 2022
d58d528
Made MagFieldConfigDBWriter an edm::one::EDAnalyzer
Dr15Jones Oct 27, 2022
8b8019f
Update trigger filters for jets stored in Nano for Run3 menu
johnalison Oct 21, 2022
450fb88
Porting Run3 chages to V10/triggerObjects_cff.py
johnalison Oct 28, 2022
c58f913
Change RecoEgamma modules to one::EDAnalyzer
Dr15Jones Oct 20, 2022
17171d7
Add protection to eta values for phase2 scenario
Oct 29, 2022
6458ac4
Made DataFormats test modules thread-friendly
Dr15Jones Oct 27, 2022
529b7fd
Modernized TestCaloSelectors
Dr15Jones Oct 27, 2022
211e4d1
Moved EGamma test modules to thread-friendly types
Dr15Jones Oct 27, 2022
167bd14
Changed PATHIPhotonTestModule to a thread-friendly module type
Dr15Jones Oct 27, 2022
e9a6c16
Move RecoParticleFlow test modules to edm::one::EDAnalyzers
Dr15Jones Oct 27, 2022
7e6fe63
Avoid getting EventSetup data in TripletFilter
Dr15Jones Oct 27, 2022
e536c4f
Made RecoTBCalo analysis modules thread-friendly
Dr15Jones Oct 27, 2022
e76f572
pixelLess DNN test
leonardogiannini Oct 25, 2022
f1fd6c7
Removed unused EDAnalyzer.h from METTester
Dr15Jones Oct 28, 2022
22cd51e
modifying HCAL trigger key generation scripts
Michael-Krohn Oct 28, 2022
de5639f
Make a new set of PU correction factor for 2022 calibration runs
Oct 31, 2022
ec961b2
fix rerecoCommon DQM sequence
francescobrivio Oct 31, 2022
274fa38
Work around a segfault when a non-consumed module with Transfomer abi…
makortel Oct 28, 2022
461a150
Add new HI Beamspot to the Run-3 HI MC and change vertex smearing to …
tvami Oct 18, 2022
35add34
Modify more scripts in Geometry/HGCalCommonData/test/python to retain…
Oct 30, 2022
236b2f5
Raw prime wf for Run 3 data w/ dropped strips + approx. clusters
mandrenguyen Oct 26, 2022
46c3b6d
force FEVT content to store approx clusters (dropped w/ other *_hlt* …
mandrenguyen Oct 26, 2022
263bdbb
use correct customize in 140.58
mandrenguyen Oct 26, 2022
9f76842
add era and fully specify raw label in event content
mandrenguyen Oct 29, 2022
796b23c
mising file
mandrenguyen Oct 29, 2022
825c2fa
remove unneeded line
mandrenguyen Oct 29, 2022
6476c84
EMTF DQM fix to remove duplicate x-axis bin labels
nickh2000 Nov 1, 2022
3ad2f1c
Remove obsolete class from Validation/HGCalValidation
Nov 1, 2022
215b831
Converted remaining DQM modules to edm::one::EDAnalyzer
Dr15Jones Oct 27, 2022
bbdb16c
Change recoBSVTagInfoValidationAnalyzer to be thread-friendly
Dr15Jones Oct 27, 2022
0f152e3
Deal with cases in which file is a nullptr
perrotta Oct 28, 2022
53a5159
Move hit position from entry to local in DIGI and validation
fabiocos Oct 21, 2022
ff1acb9
adding photon and muon leg trigger filters of HLT_Mu17_Photon30_IsoCa…
mrcthiel Sep 5, 2022
22717f6
updating triggerObjects_cff V10
mrcthiel Oct 30, 2022
a661e48
Change threshold for presample mean for forward region in pedestal qu…
abhih1 Oct 31, 2022
3372961
Remove reference to FastTimeGeometry from Fireworks - this is an obso…
Nov 1, 2022
0bd6dfb
Fix deprecation warnings in DQMOffline/CalibMuon
Dr15Jones Oct 27, 2022
fd46085
Modify the dumping for geometry vsiulation of HCAL
Nov 3, 2022
f932570
NanoV10 - Adding correct Iso filter name (without cut values) for Run3
Nov 2, 2022
fb88bbb
Update Track MHT and MET output
Chriisbrown Aug 30, 2022
0f18829
initial MET update
Chriisbrown Sep 8, 2022
11a47e7
Revert phi range to interface document
Chriisbrown Sep 8, 2022
65a5c84
Changes which make the sum px and sum py match the firmware. There ar…
Sep 8, 2022
ee6f0d6
Fix to phi output
Chriisbrown Sep 9, 2022
b53fbb7
Re-write the CORDIC function to match the one used by the firmware.
Sep 11, 2022
08895c6
Fix a bug and update some log messages.
Sep 11, 2022
63f3172
Fix some inconsistencies in the MET and MET phi computation between t…
Sep 11, 2022
0849c28
Changes after the code format checks.
Sep 12, 2022
c6a41b8
remove L1TNtuples
Oct 24, 2022
7aee8fa
fix comments
Nov 2, 2022
6d6d2f0
Added getByToken to edm::EventBase
Dr15Jones Nov 2, 2022
b089814
Fix a bug for wrong DetID assignment in HCAL - relevenat for Runs 1,2…
Nov 3, 2022
7db263d
Complete the checks
Nov 3, 2022
50e1808
Code check
Nov 3, 2022
8977be2
Remove WatchRuns restriction on HectorProducer
Dr15Jones Nov 3, 2022
403da92
Add D97 == D88+T25
Oct 25, 2022
e23e728
fix README
Oct 25, 2022
028f171
rebase,add alcareco step
Oct 31, 2022
081ab74
give OnlineLuminosityRecord info to HLT's LumiMonitor plugin
missirol Oct 26, 2022
003de05
fix edge-case of profiles-wrt-lumi in SiPixelPhase1EfficiencyExtras
missirol Oct 30, 2022
037a92f
Add a new Prodcut file Phase2 HCAL and modify the scenarios accordingly
Nov 3, 2022
fce4d7d
added plugin EvFFEDExcluder
missirol Nov 5, 2022
90fc0f3
Made DQMRivetClient thread-friendly
Dr15Jones Oct 27, 2022
5fb041e
Set member data in GEMClusterProcessor
Dr15Jones Nov 4, 2022
095d643
add ppEra_Run3_pp_on_PbPb_approxSiStripClusters scenario
francescobrivio Nov 7, 2022
4cc5b9e
Remove and modify many more test scripts in Geometry/HGCalCommonData …
Nov 3, 2022
b5640c6
Revert "Deal with late mothers in HydjetHadronizer"
Dr15Jones Oct 27, 2022
5021526
Throw exception when problem with parent index in hydjet
Dr15Jones Oct 27, 2022
f998c65
Changed kMaxMultiplicity to 200000 to match change to hydjet
Dr15Jones Oct 27, 2022
6459eec
Use Era Run3_pp_on_PbPb_approxSiStripClusters in DQM clients with tra…
francescobrivio Nov 4, 2022
b319f02
add onlineMetaDataInputTag in beamhlt DQM client for HI running
francescobrivio Nov 4, 2022
58e1dcc
add FED 1022 to the list passed to rawPrimeDataRepacker
mmusich Nov 4, 2022
ab43812
normalize syntax for toModify
vlimant Oct 20, 2022
372461e
normalize syntax for toReplaceWith and task copy
vlimant Oct 20, 2022
ffda2fc
fixing all typos
vlimant Oct 20, 2022
59623e1
fix further typos
vlimant Oct 20, 2022
bc90bcc
missed the CHadron
vlimant Oct 20, 2022
0760a9f
remove run3_nanoAOD_devel modifier
vlimant Oct 20, 2022
3bbf397
that modify was not safe
vlimant Oct 20, 2022
4beb61b
drop 80X, 94X, 102X MINI input to NANO support
vlimant Oct 20, 2022
f357c7b
remove commented bits
vlimant Oct 20, 2022
4f3ec22
remove support for old mini also for the V10
vlimant Oct 20, 2022
b1a19c9
remove unused import of era
vlimant Oct 20, 2022
4a0e7e1
parameter validation for TriggerObjectTableProducer
vlimant Oct 21, 2022
7b5135c
parameter validation for SimpleFlatTableProducer derived producers
vlimant Oct 21, 2022
9ddcd39
setComment and default values
vlimant Oct 21, 2022
96ad852
code format
vlimant Oct 21, 2022
aef64b4
fix SimpleTrackFlatTableProducer linking issue due to changes in fill…
vlimant Oct 24, 2022
5a1969c
use default cfi label
vlimant Oct 24, 2022
df9d737
use default label. add parameter validation for Lumibased producers
vlimant Oct 24, 2022
4ea8a1d
parameter validation for GenJetGenPartMerger
vlimant Oct 24, 2022
16de79e
remove unnecessary parameter : from validation of SimpleBeamspotFlatT…
vlimant Oct 24, 2022
03b63b0
code formatting
vlimant Oct 24, 2022
1be9e36
parameter validation for UniqueStringProducer
vlimant Oct 24, 2022
08751be
parameter validation for CrossCleaners
vlimant Oct 24, 2022
12ed25b
specify allowed values for type
vlimant Oct 24, 2022
7ec5a88
parameter validation for GlobalVariablesTableProducer
vlimant Oct 24, 2022
bd824f4
fix linking error due to Demangle
vlimant Oct 25, 2022
70bee12
parameter validation for NativeArrayTableProducer
vlimant Oct 25, 2022
a0c8b5e
LHCInfoProducer needs no parameters
vlimant Oct 25, 2022
2fe8f2d
parameter validation for NanoAODDQM
vlimant Oct 25, 2022
2f29cf3
more infromative parameter description
vlimant Oct 25, 2022
ca58daa
remove comment line
vlimant Oct 25, 2022
d9f194c
parameter validation for VertexTableProducer
vlimant Oct 25, 2022
e82f3da
not a used parameter ;from configuration validation
vlimant Oct 25, 2022
fb4b4a6
parameter validation for PatJetIDValueMapProducer, and configuration …
vlimant Oct 25, 2022
2251dae
overlooked change of module import
vlimant Oct 25, 2022
534b7c7
overlooked RUN2UL16PUPPI option
vlimant Oct 25, 2022
d67580c
unused parameter ; from configuration validation
vlimant Oct 25, 2022
8c500ae
code format
vlimant Oct 25, 2022
0f64c80
put run2_miniAOD_94XFall17 back in ; will clean up later
vlimant Oct 25, 2022
40b8f97
fixed numbering for the nano workflows
vlimant Oct 25, 2022
1527f5e
no need for modifiers in a reMINI-reNANO workflow
vlimant Oct 26, 2022
65b90d1
no need for modifiers in a reMINI-reNANO workflow
vlimant Oct 26, 2022
19f88d3
better comments for TriggerObjectTableProducer parameters
vlimant Oct 27, 2022
c1769e0
drop run2_nanoAOD_106Xv1 at top level
vlimant Oct 27, 2022
708084c
add default values for these parameters to ease cloning
vlimant Oct 27, 2022
f7dfd74
drop run2_nanoAOD_106Xv1 downstream
vlimant Oct 27, 2022
13e75f3
lots of cloning from default configuration files
vlimant Oct 27, 2022
6e59d10
code formatting
vlimant Oct 27, 2022
0a2e5b0
remove workflows
vlimant Oct 28, 2022
89cc9e9
make lowPtElectrons the default
vlimant Oct 28, 2022
7de5ef7
remove commented lines
vlimant Oct 28, 2022
423f3ae
make use of svDoc_ for documentation
vlimant Oct 28, 2022
9c8268a
wipe out trace of compression and mcOnly
vlimant Oct 28, 2022
4493ddb
remove commented lines
vlimant Oct 28, 2022
e12d01f
Migration from deprecated ::JetCorrector class
wddgit Oct 27, 2022
3c8c41f
fix geometry XML
Nov 5, 2022
d9138d5
Changes implemented for Run3 EGamma photon MVA ID
Prasant1993 Oct 29, 2022
84f42da
Deleted photon IDMVA weight files from the repository
Prasant1993 Oct 29, 2022
b6e4b16
first commit
TomasKello Oct 31, 2022
7188ed4
Changed propertry reader from INFO format to json format
TomasKello Oct 31, 2022
b7b947e
small update of README.md
connorpa Feb 19, 2020
5dae154
Updated syntax
TomasKello Oct 31, 2022
5d27450
implementing tests
TomasKello Oct 31, 2022
b221f7a
Condor submit script if cmsRun is used
TomasKello Oct 31, 2022
342c02f
removing very old / deprecated file for old version of GCP
connorpa Apr 9, 2020
775c078
Move PlotAlignmentValidation class in src/interface dir to compile it…
TomasKello Oct 31, 2022
b67dd26
trying runtests
connorpa Jul 7, 2020
d5e2c0c
Corrected wrong configuration
DaveBrun94 Sep 8, 2020
4d46078
first setup of unit tests for DMR including merge step for python exe…
TomasKello Oct 31, 2022
0a6eb53
post-merge fixes and code-formats + code-checks
TomasKello Oct 31, 2022
3d94486
Added option to run on full Run 2
cardinia Oct 4, 2019
8b13331
Updated DMRTrends with fixed luminosity
TomasKello Oct 31, 2022
1ffb4f7
Allow jobs to overwrite jobFlavour
TomasKello Oct 31, 2022
764eee6
implement Split Vertex Validation in all-in-one tool
TomasKello Oct 31, 2022
4b5ec88
GCP unit test
TomasKello Oct 31, 2022
98c40a8
add missing comma to unit test json file
mmusich Apr 7, 2021
27362db
new PV trends implementation part1
henriettepetersen Nov 4, 2022
f2af439
new PV trends implementation part2
henriettepetersen Nov 4, 2022
0f18789
Implementation for JetHT validation
May 6, 2021
279e493
small fix needed otherwise the SplitV unit tests fail
TomasKello Oct 31, 2022
1766c5c
Proper GCP condition loading
SenneVanPutte Jul 13, 2021
8bba909
Ensure python3 compability
DaveBrun94 Oct 26, 2021
dbdb4de
Changes to the data format used in the output tree
amecca Dec 16, 2021
aa8cad5
Major update to new All-in-on: DMR
TomasKello Feb 11, 2022
86b17ae
cosmetic and other minor fixes for trends and fix for compatibility o…
TomasKello Oct 31, 2022
73d572c
Better drawing style for dxy and dz
Apr 20, 2022
e6ed0cc
Fixing all unit tests before merge
TomasKello Oct 31, 2022
6d91eff
code-format & code-checks
mmusich Jul 9, 2022
6c92f08
Removing "GraphicsMagick"-dependence of GCP unit test.
TomasKello Jul 11, 2022
06cce52
delete hanging pointers in GCP macro
mmusich Jul 14, 2022
62ba22f
First bunch of comments addressed.
TomasKello Jul 20, 2022
d2ff62c
Second round of comments implemented.
TomasKello Oct 31, 2022
8741561
Addressing user comments.
TomasKello Oct 22, 2022
005f9c1
first try
Nov 2, 2022
367138e
Use ppEra_Run3_pp_on_PbPb_approxSiStripClusters for hi_run in visuali…
francescobrivio Nov 8, 2022
1aa87be
Move HcalCalIsolatedBunchSelector from Commissioning to ZB PD
tvami Nov 7, 2022
07aa00c
Modify the analysis code of SimHit Results
Nov 6, 2022
bc83fa3
Code check
Nov 6, 2022
4cac1fc
Also commit the macro
Nov 6, 2022
3e9affb
Code check
Nov 6, 2022
4a4b829
fix compilation issues in CompareAlignments, post cms-sw#38304 merge
mmusich Nov 9, 2022
d94ce76
define hfjetshowershape in custom_jme
swertz Nov 9, 2022
a538ca5
remove btag SF branch from nanoAOD
swertz Nov 9, 2022
eb7d31b
remove unused modules from nanoAOD
swertz Nov 9, 2022
5d1fec7
Add tracking only PU workflows
AdrianoDee Oct 13, 2022
24b1e35
Update Run3 offline and offline_relval GTs
francescobrivio Oct 21, 2022
a214a4a
fix snapshot of run3_data_relval GT to be identical to run3_data GT
francescobrivio Oct 23, 2022
c25cd5f
Update JEC AK4PFPuppi tag in Run3 offline and offline_relval GTs
francescobrivio Nov 1, 2022
8c33371
Update to implement noise occupancy in neighbouring channels without…
Nov 3, 2022
1986fb6
update after code-format check
Nov 4, 2022
76a5f10
Do not call methods on EcalTrigTowerConstituentsMap nullptr
Dr15Jones Nov 4, 2022
08973f7
add provision to use RooCMSShape as a background shape in DiMuonMassB…
mmusich Oct 23, 2022
f62aea7
miscellaneous improvements to DiMuonMassBias monitoring
mmusich Nov 1, 2022
e458058
improve fit and plotting limits in DiMuonMassBiasMonitor and Client
mmusich Nov 1, 2022
0626c6c
improve messaging in DiMuonMassBiasClient
mmusich Nov 1, 2022
aa444d8
add provisions for Crystal-ball fits in DiMuonMassBiasClient
mmusich Nov 3, 2022
18ea35b
optimize parameters for the upsilon->mm fit
mmusich Nov 3, 2022
8b22181
Remove MVASelector tags for tracking in MC GTs
tvami Nov 7, 2022
baa6882
change default isrptmin2fac to recover ul behavior in first run3 mc
Nov 10, 2022
2f81021
HLT menu development for 12_5_X (branch: 12_6_X)
missirol Nov 10, 2022
3373989
Adding HZZ 2018UL electron ID to miniAOD for Run3
asculac Nov 10, 2022
b46ff26
Extend the testing of wrong cell assinments in HCAL
Nov 10, 2022
cea80d4
Code check
Nov 10, 2022
411c8f6
Remove MVASelector tags for tracking in data GTs + re-snapshot frozen GT
tvami Nov 10, 2022
3ea740e
Remove all obsolete files relevant to FastTimerGeoemtry from HGCal re…
Nov 7, 2022
61a8293
Remove obsolete files FastTimeTopology and its usage from Geometry/Ca…
Nov 12, 2022
652c995
get rid of edited file
Nov 12, 2022
55a5b5e
Merge pull request #39861 from ahinzmann/enablePuppiPhotonProtectionF…
cmsbuild Nov 14, 2022
d871ee4
rebase to master
Nov 14, 2022
f7900dc
Merge branch 'master' into muonMVAID-inNano
cramonal Nov 14, 2022
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
11 changes: 6 additions & 5 deletions Calibration/HcalCalibAlgos/macros/AnalyzeMain.C
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@ int main(Int_t argc, Char_t *argv[]) {
const char *meanFileName = argv[3];
int mode = (argc > 4) ? atoi(argv[4]) : 0;
int modeLHC = (argc > 5) ? atoi(argv[5]) : 3;
int nMax = (argc > 6) ? atoi(argv[6]) : -1;
bool debug = (argc > 7) ? (atoi(argv[7]) > 0) : false;
std::cout << "Input File List " << inputFileName << std::endl
<< "Output ROOT File Name " << outputFileName << std::endl
<< "Output Mean File Name " << meanFileName << std::endl
<< "Mode " << mode << " ModeLHC " << modeLHC << std::endl;

AnalyzeLepTree *tree = new AnalyzeLepTree(inputFileName, mode, modeLHC);
tree->Loop();
tree->writeHisto(outputFileName);
tree->writeMeanError(meanFileName);
delete tree;
AnalyzeLepTree tree(inputFileName, mode, modeLHC);
tree.Loop(nMax, debug);
tree.writeHisto(outputFileName);
tree.writeMeanError(meanFileName);

return 0;
}
24 changes: 17 additions & 7 deletions Calibration/HcalCalibAlgos/macros/HBHEMuonOfflineAnalyzer.C
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
///////////////////////////////////////////////////////////////////////////////
//
// HBHEMuonOfflineAnalyzer h1(tree,outfile,rcorFile,flag,mode,maxDHB,maxDHE,
// cutMu,cutP,over,runLo,runHi,etaMin,etaMax,debug);
// HBHEMuonOfflineAnalyzer h1(infile,outfile,rcorFile,flag,mode,maxDHB,maxDHE,
// cutMu,cutP,over,runLo,runHi,etaMin,etaMax,debug);
// HBHEMuonOfflineAnalyzer h1(tree, outfile, rcorFile, flag, mode, maxDHB,
// maxDHE, cutMu, cutP, nevMax, over, runLo,
// runHi, etaMin, etaMax, debug);
// HBHEMuonOfflineAnalyzer h1(infile, outfile, rcorFile, flag, mode, maxDHB,
// maxDHE, cutMu, cutP, nevMax, over, runLo,
// runHi, etaMin, etaMax, debug);
// h1.Loop()
//
// tree TTree* Pointer to the tree chain
Expand All @@ -26,6 +28,8 @@
// cutMu int Selection of muon type:
// (tight:0; medium:1; loose:2) default (0)
// cutP float Minimum muon momentum; default (10)
// nevMax int Maximum # oe entries to be processed; -1 means
// all entries (-1)
// over int Override some of the selection
// (0: not to override; 1: override) default (0)
// runLO int Minimum run number (1)
Expand Down Expand Up @@ -341,6 +345,7 @@ public:
int maxDHE = 7,
int cutMu = 0,
float cutP = 10,
int nevMax = -1,
int over = 0,
int runLo = 1,
int runHi = 99999999,
Expand All @@ -356,6 +361,7 @@ public:
int maxDHE = 7,
int cutMu = 0,
float cutP = 10,
int nevMax = -1,
int over = 0,
int runLo = 1,
int runHi = 99999999,
Expand Down Expand Up @@ -414,6 +420,7 @@ private:
static const unsigned int nmax_ = 10;
int nCut_;
const double cutP_;
const int nevMax_;
const bool over_, debug_;
int modeLHC_, maxDepthHB_, maxDepthHE_, maxDepth_;
int runLo_, runHi_, etaMin_, etaMax_;
Expand Down Expand Up @@ -466,13 +473,14 @@ HBHEMuonOfflineAnalyzer::HBHEMuonOfflineAnalyzer(TChain *tree,
int maxDHE,
int cutMu,
float cutP,
int nevMax,
int over,
int runLo,
int runHi,
int etaMin,
int etaMax,
bool deb)
: nCut_(cutMu), cutP_(cutP), over_(over == 1), debug_(deb), cFactor_(false) {
: nCut_(cutMu), cutP_(cutP), nevMax_(nevMax), over_(over == 1), debug_(deb), cFactor_(false) {
if ((nCut_ < 0) || (nCut_ > 2))
nCut_ = 0;
Init(tree, rcorFileName, flag, mode, maxDHB, maxDHE, runLo, runHi, etaMin, etaMax);
Expand All @@ -490,13 +498,14 @@ HBHEMuonOfflineAnalyzer::HBHEMuonOfflineAnalyzer(const char *infile,
int maxDHE,
int cutMu,
float cutP,
int nevMax,
int over,
int runLo,
int runHi,
int etaMin,
int etaMax,
bool deb)
: nCut_(cutMu), cutP_(cutP), over_(over == 1), debug_(deb), cFactor_(false) {
: nCut_(cutMu), cutP_(cutP), nevMax_(nevMax), over_(over == 1), debug_(deb), cFactor_(false) {
if ((nCut_ < 0) || (nCut_ > 2))
nCut_ = 0;
TChain *chain = new TChain("hcalHBHEMuon/TREE");
Expand Down Expand Up @@ -859,9 +868,10 @@ void HBHEMuonOfflineAnalyzer::Loop() {
return;

Long64_t nentries = fChain->GetEntriesFast();

if (debug_)
std::cout << "nevent = " << nentries << std::endl;
if (nevMax_ > 0)
nentries = nevMax_;

Long64_t nbytes = 0, nb = 0, nsel1 = 0, nsel2 = 0;
Long64_t nstep1 = 0, nstep2 = 0, nstep3 = 0, nstep4 = 0;
Expand Down
24 changes: 14 additions & 10 deletions Calibration/HcalCalibAlgos/macros/OfflineMain.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

int main(Int_t argc, Char_t *argv[]) {
if (argc < 4) {
std::cerr << "Please give 14 arguments \n"
std::cerr << "Please give 15 arguments \n"
<< "InputFileName"
<< "\n"
<< "outputFileName"
Expand All @@ -29,6 +29,7 @@ int main(Int_t argc, Char_t *argv[]) {
<< "mode (default 3)\n"
<< "cutMu: muon type (default 0)\n"
<< "minimum muon momentum (default 10)\n"
<< "maximum entries to be processed: -1 means all (default -1)\n"
<< "override all constraints in storage (default 0)\n"
<< "maxDHB (default 4)\n"
<< "maxDHE (default 7)\n"
Expand All @@ -48,19 +49,21 @@ int main(Int_t argc, Char_t *argv[]) {
int mode = (argc > 4) ? atoi(argv[4]) : 3;
int cutMu = (argc > 5) ? atoi(argv[5]) : 0;
float cutP = (argc > 6) ? atof(argv[6]) : 10;
int over = (argc > 7) ? atoi(argv[7]) : 0;
int maxDHB = (argc > 8) ? atoi(argv[8]) : 4;
int maxDHE = (argc > 9) ? atoi(argv[9]) : 7;
int runLo = (argc > 10) ? atoi(argv[10]) : 0;
int runHi = (argc > 11) ? atoi(argv[11]) : 99999999;
int etaMin = (argc > 12) ? atoi(argv[12]) : 1;
int etaMax = (argc > 13) ? atoi(argv[13]) : 29;
const char *corrFileName = (argc > 14) ? argv[14] : "";
int nevMax = (argc > 7) ? atoi(argv[7]) : -1;
int over = (argc > 8) ? atoi(argv[8]) : 0;
int maxDHB = (argc > 9) ? atoi(argv[9]) : 4;
int maxDHE = (argc > 10) ? atoi(argv[10]) : 7;
int runLo = (argc > 11) ? atoi(argv[11]) : 0;
int runHi = (argc > 12) ? atoi(argv[12]) : 99999999;
int etaMin = (argc > 13) ? atoi(argv[13]) : 1;
int etaMax = (argc > 14) ? atoi(argv[14]) : 29;
const char *corrFileName = (argc > 15) ? argv[15] : "";
std::cout << "Input File List " << inputFileList << std::endl
<< "Output FIle Name " << outFileName << std::endl
<< "Correction File Name " << corrFileName << std::endl
<< "Flag " << flag << " Mode " << mode << std::endl
<< "Muon type " << cutMu << "Minimum muon momentum " << cutP << " Override " << over << std::endl
<< "Muon type " << cutMu << " Minimum muon momentum " << cutP << std::endl
<< "Maximum # of entries to process " << nevMax << " Override " << over << std::endl
<< "Max Depth (HB) " << maxDHB << " (HE) " << maxDHE << std::endl
<< "Run (low) " << runLo << " (High) " << runHi << std::endl
<< "Eta (min) " << etaMin << " (max) " << etaMax << std::endl;
Expand All @@ -74,6 +77,7 @@ int main(Int_t argc, Char_t *argv[]) {
maxDHE,
cutMu,
cutP,
nevMax,
over,
runLo,
runHi,
Expand Down
4 changes: 2 additions & 2 deletions CommonTools/PileupAlgos/python/Puppi_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
NumOfPUVtxsForCharged = primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged,
DeltaZCutForChargedFromPUVtxs = primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs,
PtMaxNeutralsStartSlope = 20.,
PtMaxPhotons = 20.,
clonePackedCands = False, # should only be set to True for MiniAOD
algos = {
0: dict(
Expand Down Expand Up @@ -102,6 +103,5 @@
pp_on_AA.toModify(puppi, algos = [])

puppiNoLep = puppi.clone(
puppiNoLep = True,
PtMaxPhotons = 20.
puppiNoLep = True
)
1 change: 1 addition & 0 deletions DQMOffline/JetMET/interface/JetAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ class JetAnalyzer : public DQMEDAnalyzer {
MonitorElement* mPt_1;
MonitorElement* mPt_2;
MonitorElement* mPt_3;
MonitorElement* mPt_log;
MonitorElement* mEta;
MonitorElement* mPhi;
MonitorElement* mPt_uncor;
Expand Down
5 changes: 5 additions & 0 deletions DQMOffline/JetMET/src/JetAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ void JetAnalyzer::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRu
mPt_1 = ibooker.book1D("Pt_1", "Pt spectrum of jets - range 1", 20, 0, 100);
mPt_2 = ibooker.book1D("Pt_2", "Pt spectrum of jets - range 2", 60, 0, 300);
mPt_3 = ibooker.book1D("Pt_3", "Pt spectrum of jets - range 3", 100, 0, 5000);
mPt_log = ibooker.book1D("Pt_log", "Pt spectrum of jets - log", 100, 0, 50);
// Low and high pt trigger paths
mPt_Lo = ibooker.book1D("Pt_Lo", "Pt (Pass Low Pt Jet Trigger)", 20, 0, 100);
//mEta_Lo = ibooker.book1D("Eta_Lo", "Eta (Pass Low Pt Jet Trigger)", etaBin_, etaMin_, etaMax_);
Expand All @@ -394,6 +395,7 @@ void JetAnalyzer::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRu
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_1", mPt_1));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_2", mPt_2));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_3", mPt_3));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_log", mPt_log));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Lo", mPt_Lo));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Lo", mPhi_Lo));
map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Hi", mPt_Hi));
Expand Down Expand Up @@ -3896,6 +3898,9 @@ void JetAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetu
mPt_3 = map_of_MEs[DirName + "/" + "Pt_3"];
if (mPt_3 && mPt_3->getRootObject())
mPt_3->Fill(correctedJet.pt());
mPt_log = map_of_MEs[DirName + "/" + "Pt_log"];
if (mPt_log && mPt_log->getRootObject())
mPt_log->Fill(log10(correctedJet.pt()));
mEta = map_of_MEs[DirName + "/" + "Eta"];
if (mEta && mEta->getRootObject())
mEta->Fill(correctedJet.eta());
Expand Down
82 changes: 0 additions & 82 deletions Geometry/CaloEventSetup/plugins/FastTimeTopologyBuilder.cc

This file was deleted.

16 changes: 0 additions & 16 deletions Geometry/CaloEventSetup/python/FastTimeTopology_cfi.py

This file was deleted.

Loading