cms-l1-dpg / Phase2-L1Nano

NanoAOD ntupler for Phase-2 L1 Objects
Apache License 2.0
1 stars 6 forks source link

Update table producers to more specialised classes #29

Closed RobertJWard closed 1 month ago

RobertJWard commented 2 months ago

Changes L1nano table producers to move away from SimpleCandidateFlatTableProducer were needed following changes in CMSSW.

In general if SimpleCandidateFlatTableProducer can still be used, it is, else SimpleTriggerL1CandidateFlatTableProducer is used (based on l1t::L1Candidate) for the nano tables and SimpleP2GTCandidateFlatTableProducer is used (based on l1t::P2GTCandidate) for the GT tables. If the L1Candidate or P2GTCandidate producers aren't possible then more dedicated producers are added on a case-by-case basis.

In some cases singleton wasn't available with the new producer class so this has been commented out (although in these cases the option was false anyway), and several P2GT methods have new names that are now updated. In addition, some tables that previously were clones of others had to be made separate as they required a different producer to the table they were cloned from.