#include <AlignmentStats.h>
Public Member Functions | |
AlignmentStats (const edm::ParameterSet &iConfig) | |
virtual void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | beginJob () |
void | endJob () |
~AlignmentStats () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef std::map< uint32_t, uint32_t > | DetHitMap |
Private Attributes | |
float | Chi2n [MAXTRKS_] |
float | Eta [MAXTRKS_] |
int | event_ |
bool | firstEvent_ |
DetHitMap | hitmap_ |
std::string | hitsTreeName_ |
bool | keepHitPopulation_ |
bool | keepTrackStats_ |
const edm::EventSetup * | lastSetup_ |
int | Nhits [MAXTRKS_][7] |
unsigned int | ntracks |
TTree * | outtree_ |
edm::InputTag | overlapAM_ |
DetHitMap | overlapmap_ |
float | P [MAXTRKS_] |
float | Phi [MAXTRKS_] |
uint32_t | prescale_ |
float | Pt [MAXTRKS_] |
int | run_ |
edm::InputTag | src_ |
std::string | statsTreeName_ |
uint32_t | tmpPresc_ |
const TrackerGeometry * | trackerGeometry_ |
TFile * | treefile_ |
Static Private Attributes | |
static const int | MAXTRKS_ =200 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
Definition at line 28 of file AlignmentStats.h.
|
private |
Definition at line 61 of file AlignmentStats.h.
AlignmentStats::AlignmentStats | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 28 of file AlignmentStats.cc.
References outtree_.
AlignmentStats::~AlignmentStats | ( | ) |
Definition at line 46 of file AlignmentStats.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 86 of file AlignmentStats.cc.
References Chi2n, className(), cond::rpcobgas::detid, Eta, edm::EventID::event(), event_, edm::hlt::Exception, firstEvent_, TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByLabel(), hitmap_, edm::EventBase::id(), AlignmentClusterFlag::isOverlap(), TrackingRecHit::isValid(), j, gen::k, lastSetup_, MAXTRKS_, Nhits, ntracks, outtree_, overlapAM_, overlapmap_, P, Phi, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, prescale_, Pt, DetId::rawId(), edm::EventID::run(), run_, src_, DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, tmpPresc_, SiStripDetId::TOB, and trackerGeometry_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 50 of file AlignmentStats.cc.
References Chi2n, Eta, event_, firstEvent_, Nhits, ntracks, outtree_, P, Phi, prescale_, Pt, run_, statsTreeName_, tmpPresc_, and treefile_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 263 of file AlignmentStats.cc.
References Alignable::deepComponents(), cond::rpcobgas::detid, PV3DBase< T, PVType, FrameType >::eta(), edm::EventSetup::get(), hitmap_, hitsTreeName_, lastSetup_, outtree_, overlapmap_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::ESHandle< class >::product(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), DetId::subdetId(), SiStripDetId::TEC, TrackerTopology::tecIsDoubleSide(), TrackerTopology::tecIsStereo(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibIsDoubleSide(), TrackerTopology::tibIsStereo(), TrackerTopology::tibLayer(), SiStripDetId::TID, TrackerTopology::tidIsDoubleSide(), TrackerTopology::tidIsStereo(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobIsDoubleSide(), TrackerTopology::tobIsStereo(), TrackerTopology::tobLayer(), trackerGeometry_, and treefile_.
|
private |
Definition at line 57 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 49 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file AlignmentStats.h.
|
private |
Definition at line 45 of file AlignmentStats.h.
Referenced by endJob().
|
private |
Definition at line 43 of file AlignmentStats.h.
|
private |
Definition at line 42 of file AlignmentStats.h.
|
private |
Definition at line 68 of file AlignmentStats.h.
|
staticprivate |
Definition at line 54 of file AlignmentStats.h.
Referenced by analyze().
|
private |
Definition at line 58 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 53 of file AlignmentStats.h.
Referenced by AlignmentStats(), analyze(), beginJob(), and endJob().
|
private |
Definition at line 41 of file AlignmentStats.h.
Referenced by analyze().
|
private |
Definition at line 63 of file AlignmentStats.h.
|
private |
Definition at line 57 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 46 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 40 of file AlignmentStats.h.
Referenced by analyze().
|
private |
Definition at line 44 of file AlignmentStats.h.
Referenced by beginJob().
|
private |
Definition at line 48 of file AlignmentStats.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 66 of file AlignmentStats.h.
|
private |
Definition at line 52 of file AlignmentStats.h.
Referenced by beginJob(), and endJob().