30 consumes<std::map<uint, std::vector<SiStripCluster> > >(
40 HLTProducer +
"HLTDecision", 2, -0.5, 1.5);
43 "SumOfClusterCharges_all",
"SumOfClusterCharges_all", 50, 0, 2000);
45 ibooker.
book1D(
"ChargeOfEachClusterTIB_all",
"ChargeOfEachClusterTIB_all",
48 ibooker.
book1D(
"ChargeOfEachClusterTOB_all",
"ChargeOfEachClusterTOB_all",
51 ibooker.
book1D(
"ChargeOfEachClusterTEC_all",
"ChargeOfEachClusterTEC_all",
54 ibooker.
book1D(
"NumberOfClustersAboveThreshold_all",
55 "NumberOfClustersAboveThreshold_all", 30, 30.5, 60.5);
59 "SumOfClusterCharges_hlt",
"SumOfClusterCharges_hlt", 50, 0, 2000);
61 ibooker.
book1D(
"ChargeOfEachClusterTIB_hlt",
"ChargeOfEachClusterTIB_hlt",
64 ibooker.
book1D(
"ChargeOfEachClusterTOB_hlt",
"ChargeOfEachClusterTOB_hlt",
67 ibooker.
book1D(
"ChargeOfEachClusterTEC_hlt",
"ChargeOfEachClusterTEC_hlt",
70 ibooker.
book1D(
"NumberOfClustersAboveThreshold_hlt",
71 "NumberOfClustersAboveThreshold_hlt", 30, 30.5, 60.5);
86 clusters_in_subcomponents;
87 if (HLTProducer ==
"ClusterMTCCFilter")
98 if (HLTProducer ==
"ClusterMTCCFilter") {
100 for (
std::map<
uint, std::vector<SiStripCluster> >::const_iterator it =
101 clusters_in_subcomponents->begin();
102 it != clusters_in_subcomponents->end(); it++) {
103 int generalized_layer = it->first;
104 std::vector<SiStripCluster> theclusters = it->second;
108 if (*filter_decision)
112 for (std::vector<SiStripCluster>::const_iterator icluster =
114 icluster != theclusters.end(); icluster++) {
116 unsigned int amplclus = 0;
117 for (
auto ia = icluster->amplitudes().begin();
118 ia != icluster->amplitudes().end(); ia++) {
119 if ((*ia) > 0) amplclus += (*ia);
121 if (generalized_layer == 31 || generalized_layer == 32 ||
127 if (generalized_layer == 51 || generalized_layer == 52) {
131 if (generalized_layer == 60) {
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * NumberOfClustersAboveThreshold_all
MonitorElement * SumOfClusterCharges_all
MonitorElement * ChargeOfEachClusterTEC_hlt
void setCurrentFolder(std::string const &fullpath)
MonitorElement * ChargeOfEachClusterTIB_all
MonitorElement * NumberOfClustersAboveThreshold_hlt
MonitorElement * book1D(Args &&...args)
MonitorElement * HLTDecision
MonitorElement * ChargeOfEachClusterTEC_all
MonitorElement * SumOfClusterCharges_hlt
MonitorElement * ChargeOfEachClusterTOB_hlt
SiStripMonitorHLT(const edm::ParameterSet &)
edm::EDGetTokenT< int > filerDecisionToken_
MonitorElement * ChargeOfEachClusterTIB_hlt
edm::EDGetTokenT< std::map< uint, std::vector< SiStripCluster > > > clusterInSubComponentsToken_
MonitorElement * ChargeOfEachClusterTOB_all
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< uint > sumOfClusterToken_