#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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 |
Definition at line 86 of file AlignmentStats.cc.
References Chi2n, className(), SiStripRecHit1D::cluster(), SiStripRecHit2D::cluster(), SiPixelRecHit::cluster(), Eta, edm::EventID::event(), event_, Exception, firstEvent_, TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByLabel(), hitmap_, edm::EventBase::id(), AlignmentClusterFlag::isOverlap(), TrackingRecHit::isValid(), gen::k, lastSetup_, MAXTRKS_, Nhits, ntracks, outtree_, overlapAM_, overlapmap_, 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, trackerGeometry_, and gather_cfg::Tracks.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 50 of file AlignmentStats.cc.
References Chi2n, Eta, event_, firstEvent_, Nhits, ntracks, outtree_, Phi, prescale_, Pt, run_, statsTreeName_, tmpPresc_, and treefile_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 262 of file AlignmentStats.cc.
References Alignable::deepComponents(), DEFINE_FWK_MODULE, PV3DBase< T, PVType, FrameType >::eta(), edm::EventSetup::get(), hitmap_, hitsTreeName_, hcalTTPDigis_cfi::id, fastTrackerRecHitType::is2D(), lastSetup_, nhits, outtree_, overlapmap_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, edm::ESHandle< T >::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_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
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.
|
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().