#include <vector>
#include <list>
#include <string>
#include <cmath>
#include <TEveElement.h>
#include <TEveGeoNode.h>
#include <TGeoNode.h>
#include "eve_macros.h"
Go to the source code of this file.
Functions | |
TEveGeoShape * | clone (const TEveElement *element, TEveElement *parent) |
void | expand_node (TEveElement *element) |
const char * | get_name (const TEveElement *element) |
const TGeoShape * | get_shape (const TEveElement *element) |
TGeoShape * | get_shape (TEveElement *element) |
const char * | get_title (const TEveElement *element) |
TGeoMatrix * | get_transform (const TEveElement *element) |
void | hide_tracker_endcap (TEveElement *tracker) |
bool | is_leaf_node (const TEveElement *element) |
void | set_children_visibility (TEveElement *element, const std::string &node_name, const std::vector< std::string > &children_name, bool visibility) |
void | set_color (TEveElement *element, Color_t color, float alpha, unsigned int levels) |
void | set_tracker_endcap_visibility (TEveElement *tracker, bool visibility) |
void | show_tracker_endcap (TEveElement *tracker) |
TEveGeoShape* clone | ( | const TEveElement * | element, |
TEveElement * | parent | ||
) |
Definition at line 135 of file eve_macros.cc.
References clone(), extract(), get_name(), get_shape(), get_title(), get_transform(), makeMuonMisalignmentScenario::matrix, and class-composition::parent.
Referenced by Types._PSetTemplate::__call__(), TrackValidation_cff::_addSelectorsByHp(), TrackValidation_cff::_addSelectorsByOriginalAlgoMask(), TrackValidation_cff::_addSelectorsBySrc(), trackselectionRefitting::_getModule(), adaptToRunAtMiniAOD::adaptTauToMiniAODReReco(), applyDeepBtagging_cff::applyDeepBtagging(), ConvertedPhotonProducer::cleanCollections(), clone(), ElectronDqmHarvesterBase::cloneH1(), edm::service::cmssw_stacktrace_fork(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::copyCentralMETProducer(), customNtuples::create_ntuple(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createMVAMETModule(), MuonSeedFromRecHits::createSeed(), MuonSeedCreator::createSeed(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createShiftedModules(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::createSmearedJetModule(), customiseMTVForBPix123Holes::customiseMTVForBPix123Holes(), customiseTrackingNtuple::customiseTrackingNtupleHLT(), dqmCopyRecursively(), eGammaCorrection::eGammaCorrection(), common_cff::ExtVar(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getCorrectedMET(), SiStripConfigDb::getDcuDetIds(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::getVariations(), edm::IDVectorMap< ID, C, P >::insert(), edm::OwnVector< TrackingRegion >::insert(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::jetCleaning(), extraJets_MuEGFixMoriond2017::makeRecoJetCollection(), miniAOD_tools::miniAOD_customizeCommon(), TrackingRegionsSeedingLayerSets::const_iterator::operator++(), SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator++(), SeedingLayerSetsHits::SeedingLayerSet::const_iterator::operator++(), ihd::const_iterator< ValueType, HitSetType >::operator++(), IntermediateHitTriplets::RegionLayerSets::const_iterator::operator++(), SeedingLayerSetsHits::const_iterator::operator++(), VertexCompatibleWithBeam::operator=(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::post_insert(), ParticleDecayProducer::produce(), MassKinFitterCandProducer::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), PixelTracksProducer::produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::produce(), Merger< InputCollection, OutputCollection, P >::produce(), UniqueMerger< InputCollection, OutputCollection, P >::produce(), TrackCandidateProducer::produce(), ConvBremSeedProducer::produce(), TrajectorySeedProducer::produce(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::produceMET(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), edm::OwnVector< TrackingRegion >::push_back(), edm::RangeMap< det_id_type, edm::OwnVector< B > >::put(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::recomputeRawMetFromPfcs(), pfTools::reconfigurePF2PATTaus(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), edm::OwnVector< TrackingRegion >::set(), TtFullHadHypothesis::setCandidate(), TtFullLepHypothesis::setCandidate(), TtSemiLepHypothesis::setCandidate(), jetTools::setupBTagging(), jetTools::setupJetCorrections(), pfTools::switchToPFJets(), trackTools.MakePATTrackCandidates::toolCode(), tauTools.AddTauCollection::toolCode(), and common_cff::Var().
void expand_node | ( | TEveElement * | element | ) |
Definition at line 43 of file eve_macros.cc.
References GetRecoTauVFromDQM_MC_cff::next.
Referenced by node_filter(), and set_color().
const char* get_name | ( | const TEveElement * | element | ) |
Definition at line 13 of file eve_macros.cc.
Referenced by apply_filter(), clone(), get_root_object(), and set_children_visibility().
const TGeoShape* get_shape | ( | const TEveElement * | element | ) |
TGeoShape* get_shape | ( | TEveElement * | element | ) |
Definition at line 81 of file eve_macros.cc.
const char* get_title | ( | const TEveElement * | element | ) |
TGeoMatrix* get_transform | ( | const TEveElement * | element | ) |
Definition at line 95 of file eve_macros.cc.
References mps_fire::i, makeMuonMisalignmentScenario::matrix, and class-composition::nodes.
Referenced by clone().
void hide_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 244 of file eve_macros.cc.
References set_tracker_endcap_visibility(), and PbPb_ZMuSkimMuonDPG_cff::tracker.
bool is_leaf_node | ( | const TEveElement * | element | ) |
void set_children_visibility | ( | TEveElement * | element, |
const std::string & | node_name, | ||
const std::vector< std::string > & | children_name, | ||
bool | visibility | ||
) |
Definition at line 193 of file eve_macros.cc.
References get_name(), mps_fire::i, is_leaf_node(), dqmiolumiharvest::j, Skims_PA_cff::name, or, and findQualityFiles::size.
Referenced by set_tracker_endcap_visibility().
void set_color | ( | TEveElement * | element, |
Color_t | color, | ||
float | alpha, | ||
unsigned int | levels | ||
) |
Definition at line 154 of file eve_macros.cc.
References alpha, expand_node(), mps_fire::i, jets_cff::levels, and set_color().
Referenced by FWProxyBuilderBase::createCompound(), and set_color().
void set_tracker_endcap_visibility | ( | TEveElement * | tracker, |
bool | visibility | ||
) |
Definition at line 226 of file eve_macros.cc.
References makeMuonMisalignmentScenario::endcap, set_children_visibility(), and PbPb_ZMuSkimMuonDPG_cff::tracker.
Referenced by hide_tracker_endcap(), and show_tracker_endcap().
void show_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 238 of file eve_macros.cc.
References set_tracker_endcap_visibility(), and PbPb_ZMuSkimMuonDPG_cff::tracker.