#include <AlignmentStats.h>
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
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_.
|
override |
Definition at line 46 of file AlignmentStats.cc.
|
override |
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.
|
overridevirtual |
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_.
|
overridevirtual |
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_, triggerObjects_cff::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().