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

bug fix: configured run range dependence was ignored in TkModuleGroupSelector. everything was associated to ... #134

Conversation

joergbehr
Copy link
Contributor

...the first IOV.

the information in which module group a det can be found.
This information was unfortunately removed in a previous bug fix.
@ktf
Copy link
Contributor

ktf commented Aug 9, 2013

@demattia can you please review and eventually approve? @joergbehr Isn't this required also for CMSSW_7_0_X?

@ghost ghost assigned demattia Aug 9, 2013
@demattia
Copy link
Contributor

demattia commented Aug 9, 2013

Hi Giulio,

sorry for the stupid question, but I am just out of several overwhelming weeks and could not follow the recent changes in the procedures.
Can you please explain me how do I approve?
Also, Is there a notification system where I can see the pushes that are assigned to me?

Please, let me know,

thanks,

Marco


Marco De Mattia
Purdue University
e-mail: marco.de.mattia@cern.chmailto:marco.de.mattia@cern.ch
website:http://demattia.web.cern.ch/demattia/

On Aug 9, 2013, at 1:59 PM, Giulio Eulisse <notifications@github.commailto:notifications@github.com> wrote:

@demattiahttps://github.com/demattia can you please review and eventually approve? @joergbehrhttps://github.com/joergbehr Isn't this required also for CMSSW_7_0_X?


Reply to this email directly or view it on GitHubhttps://github.com//pull/134#issuecomment-22389927.

@ktf
Copy link
Contributor

ktf commented Aug 9, 2013

Ciao Marco. Please have a look at:

http://cms-sw.github.io/cmssw/tutorial-l2-check-topics.html

to have an idea of the process. We can sit together next week if you want. BTW, do you know what's roberto's github account?

@joergbehr
Copy link
Contributor Author

@ktf , yes it is required also for 7_0_X. Somehow I thought 6_2_X will be merged with 7_0_X at some point. Should I create a seperate pull request for 7_0_X or can this somehow be integrated into this one (I am rather new to git ...)?

@joergbehr
Copy link
Contributor Author

@ktf, @demattia finally I created now a pull request for 7_0_X: #348

@cmsbuild
Copy link
Contributor

The following categories have been signed by @demattia: Calibration and Alignment

@cms-git-alca

@ghost ghost assigned davidlt Aug 19, 2013
@ktf
Copy link
Contributor

ktf commented Aug 19, 2013

@davidlt for next ORP.

@fabiocos
Copy link
Contributor

+1

ktf added a commit that referenced this pull request Sep 21, 2013
…duleGroupSelector

AlCa bugfix: configured run range dependence was ignored in TkModuleGroupSelector.
@ktf ktf merged commit fedf2bc into cms-sw:CMSSW_6_2_X Sep 21, 2013
nclopezo added a commit to nclopezo/cmssw that referenced this pull request Nov 21, 2014
IB Pages: decide which IBs to show by reading config.map
gdimperi pushed a commit to gdimperi/cmssw that referenced this pull request Jun 21, 2015
mariadalfonso added a commit to mariadalfonso/cmssw that referenced this pull request May 6, 2017
New variables and fixed ntuples
jbsauvan added a commit to jbsauvan/cmssw that referenced this pull request Aug 31, 2017
kurtejung added a commit to kurtejung/cmssw that referenced this pull request Oct 9, 2017
Make jet sequences work for reco with 92X and 93X
fwyzard added a commit to makortel/cmssw that referenced this pull request Aug 17, 2018
Clean up unnecessary changes, whitespaces, defines and include directives.
@mrodozov mrodozov mentioned this pull request Sep 10, 2019
slava77 pushed a commit to slava77/cmssw that referenced this pull request Oct 9, 2021
Skylake platform, gcc with CMSSW flags, performance improvements & bug fixes
yulunmiao pushed a commit to yulunmiao/cmssw that referenced this pull request Oct 9, 2024
Code format HGCalMappingESSourceTester.cc

Removing unused includes and delarations after PR comments

Correction: missing :: for namespace

Fix code style indentation

record descriptions

Re-introducing headers.h file needed for serialization classes

remove data and change locations to cms-data folder

moving to single record as all conds produced have the same IOV

re-introducing 1 record per payload, addressing additional code comments

moving to printf, removing unused product, and message logger

code checks

remove unused iomanip

adding digi SoAs

update collection names

moving emulators to SimCalorimetry/HGCalSimAlgos, adapting paths

moving digi soa filler to alpaka and adding extra tools

some progress with soafiller

updating

fixing but in module es producer (assignment of capture block index instead of capture block)

add dense index map for HGCalElectronicsId

add getMaxDataSize & getMaxERxSize functions

fix getDenseIndex bug; add typcode map to ModuleIndexer (to retrieve module dense index offset); use regexp for type code

add getFedAndModuleIndex; rename getDenseIndex -> getIndexForModule(Data) for elecID

add calibrations Alpaka ESProducer

rename ES_HGCal*Parameter.cc -> HGCal*ParameterHostCollection.cc for clarity

int -> uint32_t; uncomment debugging print out

clean

add HGCal configuration ESProducers + record + tester

rename ES_HGCal*Parameter.cc -> HGCal*ParameterHostCollection.cc for clarity

rename HGCal*ParameterHostCollection.cc -> HGCal*ParameterDeviceCollection.cc for clarity

rename 'HGCal.*(Device|Host)Collection -> (Device|Host)' for readability; move calib SoAs to CondFormats/HGCalObjects/; move TestHGCalRecHitESProducers to test

rename 'HGCal.*(Device|Host)Collection -> HGCal.*(Device|Host)' for readability

add HGCalRecHit

add DIGI2RECO calibration algorithms (see https://gitlab.cern.ch/hgcal-dpg/hgcal-comm/-/merge_requests/3)[C; remove detId/elecId from SoAs (should be redundant since common indexer); add HGCROCChannelDataFrame<HGCalDetId> to classes_def.xml

Move HGCalRawDataDefinitions.h.

[WIP] Refactor unpacker.

parse arrays of gain-dependent calibration parameters in eRx-blocks

add missing Noise attribute

updating usage of Rcd

fixing cfg files

Convert ECON-D payload to 32b words.

[Unpacker] rebase the unpacker on denseIdx and SoA digis

Update unpacker code.

SoA format of HGCal ECON-D header

Unpack header information to HGCalECONDInfoSoA; Add in quality checks for ECON-D

remove unused

add typecode regexp; pass typecode to modIndexer_.processNewModule

update ESProducers

update record

fix ESInputTags

prefix filename with T_EventSetup_

add HGCalConfiguration & HGCalConfigurationESProducer

Update and rename HGCalRecHitProducer.cc to HGCalRecHitProducers.cc

fill HGCal config structs for unpacker (header marks, charMode)

update calibration kernels

read HGCal FED & ECON-D configuration from JSON

Update unpacker to use HGCalConfiguration structure

make manual overrides truly optional

fix compilation issue due to initialization of const gain

Change to LogDebug

adding dense index info producer

adding hgcalmapping customise

fix misunderstanding in max data size expected from indexer

Implement TH2Poly in DQM based on 14e856f

Update HGCalConfigurationESProducer.cc

update unpacker and HGCalConfiguration

Add definitions of flags in digi SOA

update the other part to most recent commit

Add flags for passthrough ECON-Ds

Debug: loop through every denseIdx

Fix the number of channel in eRx;Add default flag for digi, representing digi not read in raw data

fully read config parameters from JSONs for config SoA; add sanity checks; add HGCalMappingModuleIndexer::getNFED; rename getFedAndModuleIndex -> getIndexForFedAndModule; clean code; ...

rename macro

silence debugging message in ESProducers

silence cout

add HGCalMappingModuleIndexer::getMaxModuleSize(fedid)

typo; SystemTestEventFilters/data -> Configuration/data

bugfix in the cm Sum

fixing dense index issue

Update comment in HGCalMappingParameterSoA.h

Some additional fixes (cms-sw#132)

- remove_if was missing a call to std::vector::erase to effectively remove unused entries
- typecodemap was missing a reset with the final indices
- usage of command line options was missing in module map tester
- do not use moduleLUT in DenseIndexInfoESProducer!! it has the full dimensions before trimming to the actual number of ECON-Ds in a FED

Add parsing function for econd flag; renaming HGCalECONDInfo to HGCalECONDPacketInfo

Add irot to module mapper (cms-sw#134)

* - remove_if was missing a call to std::vector::erase to effectively remove unused entries
- typecodemap was missing a reset with the final indices
- usage of command line options was missing in module map tester

* do not use moduleLUT in DenseIndexInfoESProducer!!

* Adding optional irot to module mapper file
- If existing it will be put in the module info SoA
- othwerwise a default irot=0 (baseline is used)

Suppress "unused variable" warning: remove CellIndexer in HGCalDigiSoaFiller.cc

apply code formats (cms-sw#135)

Apply suggestions from code review

Apply easy suggestions by Matti. (Looking into other comment & suggestions.)

Co-authored-by: Matti Kortelainen <matti.kortelainen@cern.ch>

'const json' to fix compilation issue for Matti's suggestion

gain index should be taken as is, not subtracted by 1

make use of valid at rechit level / set rechit valids

fill rec hitflags

update kernel after closure

Implement suggestions for CMSSW_14_1_X PR cms-sw#45665 (cms-sw#137)

* Implement TH2Poly in DQM Services for HGCal DQM
* Apply changes from code quality checks
* Add a patch based on makortel's comments
* enum -> namespace + constexpr uint{8,16,32}_t
* Matti suggestion: remove '_t' postfix from HGCalFEDReadoutSequence_t, HGCalROCConfig_t, HGCalECONDConfig_t, HGCalFedConfig_t structs
* Matti suggestions & code checks: remove redundant comments; silence debugging cout or use MessageLogger; move includes; remove trailing '_' from function arguments
* Matti suggestion: reuse typecodeMap_.find() to avoid searching twice (TODO: throw exception if not found?)
* Matti suggestion: use SET_PORTABLEHOSTCOLLECTION_READ_RULES; add ClassVersion+checksum
* Matti suggestion: iRecord.getRecord<...>. -> iRecord.
* Matti suggestion: iRecord.getRecord<...>. -> iRecord.; rm redundant includes & couts; pass reference to fill_SoA_column to avoid copy
* Matti suggestions: use SET_PORTABLEHOSTCOLLECTION_READ_RULES for HGCalRecHitHost; Remove deprecated HGCalFlaggedECONDInfo* & comments;
* Matti suggestion: throw exception if type code not found; replace for-loop with std::accumulate
* Matti suggestion: remove TestObjects
* Matti suggestions: remove config as member data and produce unique_ptr instead of shared_ptr; NULL → nullptr; initialize optional override; memcp -> std::copy
* Matti suggestions: use file in path
* removing soafiller and updating buildfile (cms-sw#139)
* address comments on HGCalRecHitCalibrationAlgorithms.dev.cc
* irot as uint8_t instead of char
* restore DQM without TH2Poly
* apply code formats

---------

Co-authored-by: ywkao <ywkao@hep1.phys.ntu.edu.tw>
Co-authored-by: Pedro <psilva@cern.ch>

restore release base DQM classes (cms-sw#140)

move to chrono calls instead of struct inside namespace (cms-sw#141)

address comments (cms-sw#142)

update include (cms-sw#143)

remove ECON-D tests as they'll need to be re-written in a different form (cms-sw#144)

Declare HGCalRecHitCalibrationAlgorithms::calibrate as const method (cms-sw#145)

* remove ECON-D tests as they'll need to be re-written in a different form

* enable const

patching unpacker for padding of capture blocks within FED

move check of padding to start of capture block

Fix the throw, so the processing won't stop at the first event with error

Update HGCalRecHitCalibrationAlgorithms.dev.cc

CM sum -> 0.5*CM sum

Change the throws to specific returns

Optimize the producer

Debugging the padding of eRx subpackets

roll back (cms-sw#149)

apply code checks and remove dqm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants