59 if(HLTProducer==
"ClusterMTCCFilter") iEvent.
getByLabel(HLTProducer,
"", clusters_in_subcomponents);
69 if(HLTProducer==
"ClusterMTCCFilter"){
71 for(
std::map<uint,std::vector<SiStripCluster> >::const_iterator it = clusters_in_subcomponents->begin(); it != clusters_in_subcomponents->end(); it++){
72 int generalized_layer = it->first;
73 std::vector<SiStripCluster> theclusters = it->second;
77 for(std::vector<SiStripCluster>::const_iterator icluster = theclusters.begin(); icluster != theclusters.end(); icluster++){
79 unsigned int amplclus=0;
80 for(std::vector<uint8_t>::const_iterator ia=icluster->amplitudes().begin(); ia!=icluster->amplitudes().end(); ia++) {
81 if ((*ia)>0) amplclus+=(*ia);
83 if(generalized_layer==31 || generalized_layer==32 || generalized_layer==33){
87 if(generalized_layer==51 || generalized_layer==52){
91 if(generalized_layer==60 ){
104 if(outputMEsInRootFile){
T getParameter(std::string const &) const
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
MonitorElement * NumberOfClustersAboveThreshold_all
MonitorElement * SumOfClusterCharges_all
MonitorElement * ChargeOfEachClusterTEC_hlt
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * ChargeOfEachClusterTIB_all
MonitorElement * NumberOfClustersAboveThreshold_hlt
MonitorElement * HLTDecision
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * ChargeOfEachClusterTEC_all
MonitorElement * SumOfClusterCharges_hlt
MonitorElement * ChargeOfEachClusterTOB_hlt
SiStripMonitorHLT(const edm::ParameterSet &)
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * ChargeOfEachClusterTIB_hlt
MonitorElement * ChargeOfEachClusterTOB_all
void setCurrentFolder(const std::string &fullpath)