70 for (
const auto& tp : *ecalTPsSent ) {
72 if ( tp.compressedEt() > 0 ) {
73 ecalSentSet.emplace(tp.id().ieta(), tp.id().iphi(), tp.compressedEt());
81 for (
const auto& tp : *ecalTPsRecd ) {
83 if ( tp.compressedEt() > 0 ) {
84 ecalRecdSet.emplace(tp.id().ieta(), tp.id().iphi(), tp.compressedEt(), tp.sample(0).raw()>>13);
86 if ( ((tp.sample(0).raw()>>13) & 0b11) > 0 ) {
89 ecalMasked.emplace(tp.id().ieta(), tp.id().iphi(), 0);
94 std::set_difference(ecalSentSet.begin(), ecalSentSet.end(), ecalRecdSet.begin(), ecalRecdSet.end(), std::inserter(ecalSentNotRecdSet, ecalSentNotRecdSet.begin()));
95 for (
const auto& tp : ecalSentNotRecdSet ) {
99 SimpleTower tpNoEt(tp.ieta_, tp.iphi_, 0);
100 if ( ecalMasked.find(tpNoEt) == ecalMasked.end() ) {
107 std::set_difference(ecalRecdSet.begin(), ecalRecdSet.end(), ecalSentSet.begin(), ecalSentSet.end(), std::inserter(ecalRecdNotSentSet, ecalRecdNotSentSet.begin()));
108 for (
const auto& tp : ecalRecdNotSentSet ) {
112 SimpleTower tpNoEt(tp.ieta_, tp.iphi_, 0);
113 if ( ecalMasked.find(tpNoEt) == ecalMasked.end() ) {
120 std::set_intersection(ecalRecdSet.begin(), ecalRecdSet.end(), ecalSentSet.begin(), ecalSentSet.end(), std::inserter(ecalSentAndRecdSet, ecalSentAndRecdSet.begin()));
121 for (
const auto& tp : ecalSentAndRecdSet ) {
126 for (
const auto& ecalTp : *ecalTPsRecd ) {
132 if(ecalTp.fineGrain()==1){
136 if(((ecalTp.sample(0).raw()>>13)&1)==1){
140 if(((ecalTp.sample(0).raw()>>14)&1)==1){
144 if(((ecalTp.sample(0).raw()>>15)&1)==1){
149 for (
const auto& ecalTp : *ecalTPsSent ) {
154 if(ecalTp.fineGrain()==1){
167 for (
const auto& tp : *hcalTPsSent ) {
169 if ( tp.SOI_compressedEt() > 0 ) {
170 hcalSentSet.emplace(tp.id().ieta(), tp.id().iphi(), tp.SOI_compressedEt());
177 for (
const auto& tp : *hcalTPsRecd ) {
179 if ( tp.SOI_compressedEt() > 0 ) {
180 hcalRecdSet.emplace(tp.id().ieta(), tp.id().iphi(), tp.SOI_compressedEt(), tp.sample(0).raw()>>13);
185 std::set_difference(hcalSentSet.begin(), hcalSentSet.end(), hcalRecdSet.begin(), hcalRecdSet.end(), std::inserter(hcalSentNotRecdSet, hcalSentNotRecdSet.begin()));
186 for (
const auto& tp : hcalSentNotRecdSet ) {
190 SimpleTower tpNoEt(tp.ieta_, tp.iphi_, 0);
191 if ( hcalMasked.find(tpNoEt) == hcalMasked.end() ) {
198 std::set_difference(hcalRecdSet.begin(), hcalRecdSet.end(), hcalSentSet.begin(), hcalSentSet.end(), std::inserter(hcalRecdNotSentSet, hcalRecdNotSentSet.begin()));
199 for (
const auto& tp : hcalRecdNotSentSet ) {
203 SimpleTower tpNoEt(tp.ieta_, tp.iphi_, 0);
204 if ( hcalMasked.find(tpNoEt) == hcalMasked.end() ) {
211 std::set_intersection(hcalRecdSet.begin(), hcalRecdSet.end(), hcalSentSet.begin(), hcalSentSet.end(), std::inserter(hcalSentAndRecdSet, hcalSentAndRecdSet.begin()));
212 for (
const auto& tp : hcalSentAndRecdSet ) {
218 for (
const auto& hcalTp : *hcalTPsRecd ) {
223 if(hcalTp.SOI_fineGrain()){
227 if(((hcalTp.sample(0).raw()>>13)&1)==1){
231 if(((hcalTp.sample(0).raw()>>14)&1)==1){
235 if(((hcalTp.sample(0).raw()>>15)&1)==1){
240 for (
const auto& hcalTp : *hcalTPsSent ) {
245 if(hcalTp.SOI_fineGrain()==1){
MonitorElement * hcalTPRawEtSent_
MonitorElement * hcalTPRawEtRecdNotSent_
MonitorElement * ecalOccRecdNotSent_
MonitorElement * ecalOccSentNotRecd_
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalTPSourceSent_
MonitorElement * hcalOccMaskedSentNotRecd_
MonitorElement * ecalOccMaskedRecdNotSent_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalTPSourceRecd_
MonitorElement * ecalTPRawEtRecd_
MonitorElement * ecalTPRawEtSentNotRecd_
MonitorElement * hcalOccSentNotRecd_
MonitorElement * ecalOccRecd_
MonitorElement * ecalOccRecd_isECALLinkInError_
std::set< SimpleTower > SimpleTowerSet
MonitorElement * hcalOccRecd_
MonitorElement * ecalOccRecd_isECALTowerMasked_
MonitorElement * ecalTPRawEtSent_
MonitorElement * hcalOccRecd_isHCALTowerMasked_
MonitorElement * hcalTPRawEtSentNotRecd_
MonitorElement * hcalOccSent_
MonitorElement * hcalOccRecd_isHCALLinkInError_
MonitorElement * ecalOccMaskedSentNotRecd_
MonitorElement * hcalOccMaskedRecdNotSent_
MonitorElement * hcalOccSentAndRecd_
MonitorElement * hcalTPRawEtSentAndRecd_
MonitorElement * ecalOccSentAndRecd_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
MonitorElement * ecalOccSent_isFineGrainVB_
MonitorElement * ecalOccSent_
void updateMismatch(const edm::Event &e, int mismatchType)
MonitorElement * ecalOccRecd_isECALLinkMasked_
MonitorElement * hcalOccRecd_isHCALLinkMasked_
edm::EDGetTokenT< HcalTrigPrimDigiCollection > hcalTPSourceRecd_
MonitorElement * hcalOccRecd_hasFeatureBits_
MonitorElement * hcalOccSent_hasFeatureBits_
MonitorElement * hcalTPRawEtRecd_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > ecalTPSourceSent_
MonitorElement * ecalOccRecd_isFineGrainVB_
MonitorElement * ecalTPRawEtSentAndRecd_
MonitorElement * ecalTPRawEtRecdNotSent_
MonitorElement * hcalOccRecdNotSent_