|
| L1TComparison (const ParameterSet &) |
|
| ~L1TComparison () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 65 of file L1TComparison.cc.
void L1TComparison::analyze |
( |
Event const & |
iEvent, |
|
|
EventSetup const & |
iSetup |
|
) |
| |
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 198 of file L1TComparison.cc.
199 cout <<
"L1TComparison Module output for " <<
tag_ <<
"\n";
208 LogWarning(
"MissingProduct") <<
"L1Upgrade e-gamma's not found." << std::endl;
213 if (ibx < XTMPB->getFirstBX())
217 int sizeA = XTMPA->
size(ibx);
218 int sizeB = XTMPB->
size(ibx);
219 if (sizeA != sizeB) {
220 cout <<
"L1T COMPARISON FAILURE: collections have different sizes for bx = " << ibx <<
"\n";
222 auto itB = XTMPB->
begin(ibx);
223 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
244 LogWarning(
"MissingProduct") <<
"L1Upgrade tau's not found." << std::endl;
249 if (ibx < XTMPB->getFirstBX())
253 int sizeA = XTMPA->
size(ibx);
254 int sizeB = XTMPB->
size(ibx);
255 if (sizeA != sizeB) {
256 cout <<
"L1T COMPARISON FAILURE: collections have different sizes for bx = " << ibx <<
"\n";
258 auto itB = XTMPB->
begin(ibx);
259 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
280 LogWarning(
"MissingProduct") <<
"L1Upgrade jet's not found." << std::endl;
285 if (ibx < XTMPB->getFirstBX())
289 int sizeA = XTMPA->
size(ibx);
290 int sizeB = XTMPB->
size(ibx);
291 if (sizeA != sizeB) {
292 cout <<
"L1T COMPARISON FAILURE: collections have different sizes for bx = " << ibx <<
"\n";
294 auto itB = XTMPB->
begin(ibx);
295 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
316 LogWarning(
"MissingProduct") <<
"L1Upgrade sum's not found." << std::endl;
321 if (ibx < XTMPB->getFirstBX())
325 int sizeA = XTMPA->
size(ibx);
326 int sizeB = XTMPB->
size(ibx);
328 if (sizeA != sizeB) {
329 cout <<
"L1T COMPARISON WARNING: sums collections have different sizes for bx = " << ibx <<
"\n";
330 cout <<
"L1T COMPARISON WARNING: sums collections A size = " << sizeA
331 <<
" sums collection B size = " << sizeB <<
"\n";
332 cout <<
"L1T COMPARISON WARNING: known issue because packer has not been udpated for Minbias\n";
334 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
335 cout <<
"L1T COMPARISON : EtSum type: A = " << itA->getType() <<
"\n";
337 for (
auto itB = XTMPB->
begin(ibx); itB != XTMPB->
end(ibx); ++itB) {
338 cout <<
"L1T COMPARISON : EtSum type: B = " << itB->getType() <<
"\n";
347 if (sizeA != sizeB) {
348 cout <<
"L1T COMPARISON FAILURE: collections have different sizes for bx = " << ibx <<
"\n";
350 auto itB = XTMPB->
begin(ibx);
351 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
352 cout <<
"L1T COMPARISON : EtSum type: A = " << itA->getType() <<
" vs B = " << itB->getType() <<
"\n";
353 if (itA->getType() != itB->getType()) {
354 cout <<
"L1T COMPARISON FAILURE: Different types .... EtSum type:" << itA->getType() <<
" vs "
355 << itB->getType() <<
"\n";
358 cout <<
"L1T COMPARISON WARNING: (known issue) sum of type " << itA->getType()
359 <<
" when emulated has a dummy value (pending proper emulation)"
364 cout <<
"L1T COMPARISON FAILURE: for type " << itA->getType() <<
"\n";
372 cout <<
"L1T COMPARISON WARNING: (known issue) not checking sum of type " << itA->getType() <<
"\n";
388 LogWarning(
"MissingProduct") <<
"L1Upgrade muon's not found." << std::endl;
393 if (ibx < XTMPB->getFirstBX())
397 int sizeA = XTMPA->
size(ibx);
398 int sizeB = XTMPB->
size(ibx);
399 if (sizeA != sizeB) {
400 cout <<
"L1T COMPARISON FAILURE: collections have different sizes for bx = " << ibx <<
"\n";
402 auto itB = XTMPB->
begin(ibx);
403 for (
auto itA = XTMPA->
begin(ibx); itA != XTMPA->
end(ibx); ++itA) {
References BXVector< T >::begin(), compare_l1candidate(), gather_cfg::cout, BXVector< T >::end(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), iEvent, edm::HandleBase::isValid(), L1Analysis::kMinBiasHFM1, L1Analysis::kMinBiasHFP0, L1Analysis::kTotalEtEm, and BXVector< T >::size().