17 constexpr
unsigned int PHIBINS = 18;
18 constexpr
float PHIMIN = -0.5;
19 constexpr
float PHIMAX = 17.5;
22 constexpr
unsigned int R6BINS = 64;
23 constexpr
float R6MIN = -0.5;
24 constexpr
float R6MAX = 63.5;
25 constexpr
unsigned int R10BINS = 1024;
26 constexpr
float R10MIN = -0.5;
27 constexpr
float R10MAX = 1023.5;
29 constexpr
unsigned int ETABINS = 22;
30 constexpr
float ETAMIN = -0.5;
31 constexpr
float ETAMAX = 21.5;
35 : histFolder_(ps.getUntrackedParameter<
std::
string>(
"HistFolder",
"L1T/L1TRCT")),
38 filterTriggerType_(ps.getParameter<
int>(
"filterTriggerType")),
39 selectBX_(ps.getUntrackedParameter<
int>(
"selectBX", 2)) {
44 std::cout <<
"L1TRCT: constructor...." << std::endl;
114 std::cout <<
"L1TRCT: analyze...." << std::endl;
130 double triggerType = static_cast<double>(
e.experimentType()) + 0.001;
131 double triggerTypeLast = static_cast<double>(edm::EventAuxiliary::ExperimentType::ErrorTrigger) + 0.001;
138 if (
e.isRealData()) {
140 edm::LogInfo(
"L1TRCT") <<
"\n Event of TriggerType " <<
e.experimentType() <<
" rejected" << std::endl;
157 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection - RCT";
162 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection - Layer2 ";
169 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin(); ireg != rgn->end(); ireg++) {
170 if (ireg->et() > 0) {
175 if (ireg->et() > 0) {
177 if (ireg->et() > 5) {
183 if (ireg->overFlow())
191 if (ireg->fineGrain())
204 for (L1CaloEmCollection::const_iterator iem = em->begin(); iem != em->end(); iem++) {
205 if (iem->rank() == 0)
209 if (iem->isolated()) {
212 if (iem->rank() > 10) {
218 if (iem->rank() > 10) {
223 if (iem->isolated()) {
225 if (iem->rank() > 10) {
230 if (iem->rank() > 10) {