|
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
| PhysicsObjectsMonitor (const edm::ParameterSet &pset) |
| Constructor. More...
|
|
virtual | ~PhysicsObjectsMonitor () |
| Destructor. More...
|
|
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
|
virtual void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer (void) |
|
virtual void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
virtual void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
uint32_t | streamId () const |
|
| EDAnalyzer ()=default |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
|
typedef CacheContexts< T...> | CacheTypes |
|
typedef CacheTypes::GlobalCache | GlobalCache |
|
typedef AbilityChecker< T...> | HasAbility |
|
typedef
CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
|
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache > | LuminosityBlockContext |
|
typedef
CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
|
typedef CacheTypes::RunCache | RunCache |
|
typedef RunContextT< RunCache,
GlobalCache > | RunContext |
|
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
|
typedef EDAnalyzerAdaptorBase | ModuleType |
|
static std::shared_ptr
< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
|
static std::shared_ptr
< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
|
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
|
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
For now: Analyzer of StandAlone muon tracks Later: Add other detectors and more Reco
- Author
- M. Mulders - CERN marti.nosp@m.jn.m.nosp@m.ulder.nosp@m.s@ce.nosp@m.rn.ch Based on STAMuonAnalyzer by R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch
Analyzer of the StandAlone muon tracks
- Author
- M. Mulders - CERN marti.nosp@m.jn.m.nosp@m.ulder.nosp@m.s@ce.nosp@m.rn.ch Based on STAMuonAnalyzer by R. Bellan - INFN Torino ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch
Definition at line 31 of file PhysicsObjectsMonitor.h.
Implements edm::stream::EDAnalyzerBase.
Definition at line 86 of file PhysicsObjectsMonitor.cc.
References TrajectoryStateClosestToPoint::charge(), MuonSubdetId::CSC, debug, MuonSubdetId::DT, MuonPatternRecoDumper::dumpFTS(), edm::EventSetup::get(), reco::TransientTrack::impactPointTSCP(), PV3DBase< T, PVType, FrameType >::mag(), TrajectoryStateClosestToPoint::momentum(), PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), recPt, MuonSubdetId::RPC, muonTagProbeFilters_cff::staTracks, TrajectoryStateClosestToPoint::theState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
88 edm::LogInfo(
"PhysicsObjectsMonitor") <<
"Run: " <<
event.id().run()
89 <<
" Event: " <<
event.id().event();
102 reco::TrackCollection::const_iterator staTrack;
105 <<
"Reconstructed tracks: " << staTracks->size() << endl;
107 for (staTrack = staTracks->begin(); staTrack != staTracks->end();
117 it != track.recHitsEnd(); it++) {
118 if ((*it)->isValid()) {
120 <<
"Analyzer: Aha this looks like a Rechit!" << std::endl;
128 edm::LogInfo(
"PhysicsObjectsMonitor") <<
"This is an UNKNOWN hit !! "
141 debug.
dumpFTS(track.impactPointTSCP().theState());
143 recPt = track.impactPointTSCP().momentum().perp();
145 <<
" p: " << track.impactPointTSCP().momentum().mag()
146 <<
" pT: " << recPt << endl;
148 ptot->
Fill(track.impactPointTSCP().momentum().mag());
149 charge->
Fill(track.impactPointTSCP().charge());
150 px->
Fill(track.impactPointTSCP().momentum().x());
151 py->
Fill(track.impactPointTSCP().momentum().y());
152 pz->
Fill(track.impactPointTSCP().momentum().z());
157 h1_Pres->
Fill((1 / recPt - 1 / simPt) / (1 / simPt));
MonitorElement * NCSChits
MonitorElement * Nrechits
std::string dumpFTS(const FreeTrajectoryState &fts) const
edm::EDGetTokenT< reco::TrackCollection > theSTAMuonToken_
MonitorElement * NRPChits
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection