31 consumes<std::map<uint, std::vector<SiStripCluster> > >(
41 HLTProducer +
"HLTDecision", 2, -0.5, 1.5);
44 "SumOfClusterCharges_all",
"SumOfClusterCharges_all", 50, 0, 2000);
46 ibooker.
book1D(
"ChargeOfEachClusterTIB_all",
"ChargeOfEachClusterTIB_all",
49 ibooker.
book1D(
"ChargeOfEachClusterTOB_all",
"ChargeOfEachClusterTOB_all",
52 ibooker.
book1D(
"ChargeOfEachClusterTEC_all",
"ChargeOfEachClusterTEC_all",
55 ibooker.
book1D(
"NumberOfClustersAboveThreshold_all",
56 "NumberOfClustersAboveThreshold_all", 30, 30.5, 60.5);
60 "SumOfClusterCharges_hlt",
"SumOfClusterCharges_hlt", 50, 0, 2000);
62 ibooker.
book1D(
"ChargeOfEachClusterTIB_hlt",
"ChargeOfEachClusterTIB_hlt",
65 ibooker.
book1D(
"ChargeOfEachClusterTOB_hlt",
"ChargeOfEachClusterTOB_hlt",
68 ibooker.
book1D(
"ChargeOfEachClusterTEC_hlt",
"ChargeOfEachClusterTEC_hlt",
71 ibooker.
book1D(
"NumberOfClustersAboveThreshold_hlt",
72 "NumberOfClustersAboveThreshold_hlt", 30, 30.5, 60.5);
87 clusters_in_subcomponents;
88 if (HLTProducer ==
"ClusterMTCCFilter")
99 if (HLTProducer ==
"ClusterMTCCFilter") {
101 for (
std::map<
uint, std::vector<SiStripCluster> >::const_iterator it =
102 clusters_in_subcomponents->begin();
103 it != clusters_in_subcomponents->end(); it++) {
104 int generalized_layer = it->first;
105 std::vector<SiStripCluster> theclusters = it->second;
109 if (*filter_decision)
113 for (std::vector<SiStripCluster>::const_iterator icluster =
115 icluster != theclusters.end(); icluster++) {
117 unsigned int amplclus = 0;
118 for (
auto ia = icluster->amplitudes().begin();
119 ia != icluster->amplitudes().end(); ia++) {
120 if ((*ia) > 0) amplclus += (*ia);
122 if (generalized_layer == 31 || generalized_layer == 32 ||
128 if (generalized_layer == 51 || generalized_layer == 52) {
132 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
MonitorElement * ChargeOfEachClusterTIB_all
MonitorElement * NumberOfClustersAboveThreshold_hlt
MonitorElement * book1D(Args &&...args)
MonitorElement * HLTDecision
MonitorElement * ChargeOfEachClusterTEC_all
MonitorElement * SumOfClusterCharges_hlt
void setCurrentFolder(const std::string &fullpath)
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_