8 monitorDir_(ps.getParameter<
std::
string>(
"monitorDir")),
9 verbose_(ps.getParameter<
bool>(
"verbose")),
18 clusterNBin_(ps.getParameter<
std::
vector<unsigned>>(
"clusterNBin")),
19 clusterMinBin_(ps.getParameter<
std::
vector<double>>(
"clusterMinBin")),
20 clusterMaxBin_(ps.getParameter<
std::
vector<double>>(
"clusterMaxBin")),
21 useDataClustersOnlyInBX0_(ps.getParameter<
bool>(
"useDataClustersOnlyInBX0")) {}
29 for (
unsigned iType = 0; iType <
chambers_.size(); iType++) {
31 for (
unsigned iData = 0; iData <
dataEmul_.size(); iData++) {
33 for (
unsigned iVar = 0; iVar <
clusterVars_.size(); iVar++) {
48 edm::LogInfo(
"L1TdeGEMTPG") <<
"L1TdeGEMTPG: analyzing collections" << std::endl;
56 for (
auto it = dataClusters->begin();
it != dataClusters->end();
it++) {
57 auto range = dataClusters->get((*it).first);
59 for (
auto cluster =
range.first; cluster !=
range.second; cluster++) {
60 if (cluster->isValid()) {
72 for (
auto it = emulClusters->begin();
it != emulClusters->end();
it++) {
73 auto range = emulClusters->get((*it).first);
75 for (
auto cluster =
range.first; cluster !=
range.second; cluster++) {
76 if (cluster->isValid()) {
std::vector< unsigned > clusterNBin_
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< std::string > chambers_
std::vector< std::string > dataEmul_
std::vector< double > clusterMinBin_
bool useDataClustersOnlyInBX0_
L1TdeGEMTPG(const edm::ParameterSet &ps)
std::vector< std::string > clusterVars_
key
prepare the HTCondor submission files and eventually submit them
std::vector< double > clusterMaxBin_
void analyze(const edm::Event &, const edm::EventSetup &) override
Log< level::Info, false > LogInfo
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< GEMPadDigiClusterCollection > emul_token_
edm::EDGetTokenT< GEMPadDigiClusterCollection > data_token_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
std::map< uint32_t, std::map< std::string, MonitorElement * > > chamberHistos