36 edm::LogInfo (
"rpcrechitprobability") <<
"[RPCRecHitProbability]: Begin Run " ;
81 for(
int i = 0 ;
i< 6 ;
i++) {
84 name<<(
i+1)<<
"RecHitMuonEta";
85 title<<
"At least " <<(
i+1)<<
" Cluster vs Eta";
90 name<<(
i+1)<<
"RecHitMuonPhiB";
91 title<<
"At least " <<(
i+1)<<
" Cluster vs Phi-Barrel";
96 name<<(
i+1)<<
"RecHitMuonPtB";
97 title<<
"At least " <<(
i+1)<<
" Cluster vs Pt-Barrel";
102 name<<(
i+1)<<
"RecHitMuonPhiEP";
103 title<<
"At least " <<(
i+1)<<
" Cluster vs Phi-Endcap+";
108 name<<(
i+1)<<
"RecHitMuonPtEP";
109 title<<
"At least " <<(
i+1)<<
" Cluster vs Pt-Endcap+";
114 name<<(
i+1)<<
"RecHitMuonPhiEM";
115 title<<
"At least " <<(
i+1)<<
" Cluster vs Phi-Endcap-";
120 name<<(
i+1)<<
"RecHitMuonPtEM";
121 title<<
"At least " <<(
i+1)<<
" Cluster vs Pt-Endcap-";
142 edm::LogWarning (
"rpcrechitprobability") <<
"[RPCRecHitProbability]: DCS bit OFF" ;
147 edm::LogInfo (
"rpcrechitprobability") <<
"[RPCRecHitProbability]: Beginning analyzing event " <<
counter;
152 std::map<RPCDetId , std::vector<RPCRecHit> > rechitMuon;
156 int nStaMuons = muonCands->size();
158 for(
int i = 0;
i < nStaMuons;
i++ ) {
164 float eta = muCand->
eta();
165 float pt = muCand->
pt();
168 float phi = muCand->
phi();
175 }
else if (eta < -0.8){
184 std::vector<TrackingRecHitRef > rpcTrackRecHits;
188 int recHitCounter = 0;
190 if (!(*it)->isValid ())
continue;
191 int muSubDetId = (*it)->geographicalId().subdetId();
200 while (recHitCounter >= j+1 && j<6){
206 }
else if (eta < -0.8){
220 edm::LogError (
"rpcrechitprobability") <<
"[RPCRecHitProbability]: Muons - Product not valid for event" <<
counter;
229 if ( ! e.
getByLabel(
"scalersRawToDigi", dcsStatus) ){
241 for (DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
242 dcsStatusItr != dcsStatus->end(); ++dcsStatusItr){
MonitorElement * RPCRecHitMuonEta_
void beginRun(const edm::Run &r, const edm::EventSetup &c)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
MonitorElement * NumberOfMuonPhi_EM_
MonitorElement * NumberOfMuonPt_EP_
std::string globalFolder_
MonitorElement * NumberOfMuonEta_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * recHitEta_[6]
MonitorElement * NumberOfMuonPt_B_
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 * NumberOfMuonPt_EM_
bool isGlobalMuon() const
MonitorElement * recHitPt_B_[6]
std::string subsystemFolder_
virtual void endJob(void)
MonitorElement * recHitPhi_B_[6]
MonitorElement * recHitPhi_EP_[6]
MonitorElement * recHitPt_EM_[6]
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
MonitorElement * NumberOfMuonPhi_EP_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
void makeDcsInfo(const edm::Event &)
void removeElement(const std::string &name)
MonitorElement * NumberOfMuonPhi_B_
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
RPCRecHitProbability(const edm::ParameterSet &)
Data Format.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual TrackRef outerTrack() const
reference to Track reconstructed in the muon detector only
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
MonitorElement * recHitPt_EP_[6]
MonitorElement * recHitPhi_EM_[6]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
virtual float pt() const GCC11_FINAL
transverse momentum
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
void setCurrentFolder(const std::string &fullpath)
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.