Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 () |
Public Attributes | |
edm::EDGetTokenT< reco::TrackCollection > | alcareco_trackCollToken_ |
edm::EDGetTokenT< reco::TrackCollection > | ctf_trackCollToken_ |
edm::EDGetTokenT< reco::TrackCollection > | final_trackCollToken_ |
std::vector< std::pair< std::string, float * > > | floatBranches |
std::vector< std::pair< std::string, int * > > | intBranches |
edm::EDGetTokenT< reco::TrackCollection > | refit1_trackCollToken_ |
std::vector< std::pair< std::string, short * > > | shortBranches |
TTree * | tree |
Private Types | |
enum | BranchType { BranchType_short_t, BranchType_int_t, BranchType_float_t, BranchType_unknown_t } |
Private Member Functions | |
bool | actuateBranches () |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | analyzeTrackCollection (std::string strTrackType, edm::ESHandle< TransientTrackBuilder > &theTTBuilder, edm::Handle< reco::TrackCollection > &hTrackColl, bool verbose=false) |
void | beginJob () override |
void | bookAllBranches () |
bool | bookBranch (std::string bname, BranchType btype) |
void | cleanBranches () |
void | endJob () override |
reco::Vertex | fitDimuonVertex (edm::ESHandle< TransientTrackBuilder > &theTTBuilder, edm::Handle< reco::TrackCollection > &hTrackColl, bool &fitOk) |
void | initializeBranches () |
BranchType | searchArray (std::string branchname, int &position) |
template<typename varType > | |
void | setVal (std::string bname, varType value) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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 33 of file HIPTwoBodyDecayAnalyzer.cc.
|
private |
Enumerator | |
---|---|
BranchType_short_t | |
BranchType_int_t | |
BranchType_float_t | |
BranchType_unknown_t |
Definition at line 53 of file HIPTwoBodyDecayAnalyzer.cc.
|
explicit |
Definition at line 94 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, bookAllBranches(), ctf_trackCollToken_, final_trackCollToken_, edm::ParameterSet::getParameter(), TFileService::make(), and refit1_trackCollToken_.
|
override |
Definition at line 220 of file HIPTwoBodyDecayAnalyzer.cc.
References cleanBranches().
|
private |
Definition at line 190 of file HIPTwoBodyDecayAnalyzer.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, floatBranches, intBranches, shortBranches, and summarizeEdmComparisonLogfiles::success.
Referenced by bookAllBranches(), and setVal().
|
overrideprivate |
Definition at line 224 of file HIPTwoBodyDecayAnalyzer.cc.
References alcareco_trackCollToken_, analyzeTrackCollection(), ctf_trackCollToken_, final_trackCollToken_, edm::EventSetup::get(), edm::Event::getByToken(), initializeBranches(), and refit1_trackCollToken_.
|
private |
Definition at line 260 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), MessageLogger_cfi::cerr, ALCARECOTkAlJpsiMuMu_cff::charge, RecoVertex::convertPos(), gather_cfg::cout, reco::TransientTrack::field(), fitDimuonVertex(), reco::TransientTrack::impactPointState(), edm::HandleBase::isValid(), PV3DBase< T, PVType, FrameType >::mag(), colinearityKinematic::Phi, funct::pow(), reco::tau::disc::Pt(), setVal(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, HiIsolationCommonParameters_cff::track, X, PV3DBase< T, PVType, FrameType >::x(), DOFs::Y, PV3DBase< T, PVType, FrameType >::y(), DOFs::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and setVal().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 251 of file HIPTwoBodyDecayAnalyzer.cc.
|
private |
Definition at line 157 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), bookBranch(), BranchType_float_t, BranchType_short_t, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HIPTwoBodyDecayAnalyzer().
|
private |
Definition at line 180 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, MessageLogger_cfi::cerr, floatBranches, intBranches, and shortBranches.
Referenced by bookAllBranches().
|
private |
Definition at line 128 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by setVal(), and ~HIPTwoBodyDecayAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 252 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 254 of file HIPTwoBodyDecayAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 363 of file HIPTwoBodyDecayAnalyzer.cc.
References TransientTrackBuilder::build(), DEFINE_FWK_MODULE, TransientVertex::degreesOfFreedom(), TransientVertex::isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), TransientVertex::position(), TransientVertex::positionError(), TransientVertex::totalChiSquared(), HiIsolationCommonParameters_cff::track, groupFilesInBlocks::tt, and KalmanVertexFitter::vertex().
Referenced by analyzeTrackCollection(), and setVal().
|
private |
Definition at line 145 of file HIPTwoBodyDecayAnalyzer.cc.
References floatBranches, intBranches, and shortBranches.
Referenced by analyze(), and setVal().
|
private |
Definition at line 107 of file HIPTwoBodyDecayAnalyzer.cc.
References BranchType_float_t, BranchType_int_t, BranchType_short_t, BranchType_unknown_t, floatBranches, intBranches, and shortBranches.
Referenced by setVal().
|
inlineprivate |
Definition at line 67 of file HIPTwoBodyDecayAnalyzer.cc.
References actuateBranches(), analyzeTrackCollection(), BranchType_float_t, BranchType_int_t, BranchType_short_t, MessageLogger_cfi::cerr, cleanBranches(), fitDimuonVertex(), initializeBranches(), searchArray(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyzeTrackCollection().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::alcareco_trackCollToken_ |
Definition at line 39 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::ctf_trackCollToken_ |
Definition at line 41 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::final_trackCollToken_ |
Definition at line 42 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
std::vector<std::pair<std::string, float*> > HIPTwoBodyDecayAnalyzer::floatBranches |
Definition at line 47 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), and searchArray().
std::vector<std::pair<std::string, int*> > HIPTwoBodyDecayAnalyzer::intBranches |
Definition at line 48 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), and searchArray().
edm::EDGetTokenT<reco::TrackCollection> HIPTwoBodyDecayAnalyzer::refit1_trackCollToken_ |
Definition at line 40 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by analyze(), and HIPTwoBodyDecayAnalyzer().
std::vector<std::pair<std::string, short*> > HIPTwoBodyDecayAnalyzer::shortBranches |
Definition at line 49 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by actuateBranches(), bookBranch(), cleanBranches(), initializeBranches(), and searchArray().
TTree* HIPTwoBodyDecayAnalyzer::tree |
Definition at line 46 of file HIPTwoBodyDecayAnalyzer.cc.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().