#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 edmStreamStallGrapher::trans.
Referenced by metUncertaintyTools.RunMEtUncertainties::_addCorrPFMEt(), metUncertaintyTools.RunMEtUncertainties::_addNoPileUpPFMEt(), metUncertaintyTools.RunMEtUncertainties::_addPFMEtByMVA(), trackselectionRefitting::_getModule(), ConvertedPhotonProducer::cleanCollections(), clone(), TiXmlElement::Clone(), TiXmlComment::Clone(), TiXmlText::Clone(), TiXmlDeclaration::Clone(), TiXmlUnknown::Clone(), TiXmlDocument::Clone(), MuonSeedFromRecHits::createSeed(), MuonSeedCreator::createSeed(), dqmCopyRecursively(), SiStripConfigDb::getDcuDetIds(), HcalUtilsClient::getHisto(), edm::IDVectorMap< ID, C, P >::insert(), SiStripRecHitMatcher::match(), SeedingLayerSetsHits::SeedingLayerSet::const_iterator::operator++(), SeedingLayerSetsHits::const_iterator::operator++(), VertexCompatibleWithBeam::operator=(), edm::RangeMap< int, std::vector< float >, edm::CopyPolicy< float > >::post_insert(), MassKinFitterCandProducer::produce(), ParticleDecayProducer::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), CalibratedPatElectronProducer::produce(), PixelTracksProducer::produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::produce(), Merger< InputCollection, OutputCollection, P >::produce(), DeDxEstimatorProducerPixelTripplet::produce(), ConvBremSeedProducer::produce(), SeedToTrackProducer::produce(), edm::OwnArray< T, MAX_SIZE, P >::push_back(), edm::OwnVector< T, P >::push_back(), edm::RangeMap< int, std::vector< float >, edm::CopyPolicy< float > >::put(), pfTools::reconfigurePF2PATTaus(), SeedGeneratorForCRack::seeds(), SeedGeneratorForCosmics::seeds(), pfTools::switchToPFJets(), trackTools.MakePATTrackCandidates::toolCode(), and tauTools.AddTauCollection::toolCode().
void expand_node | ( | TEveElement * | element | ) |
Definition at line 43 of file eve_macros.cc.
References GetRecoTauVFromDQM_MC_cff::next, and python.Node::node.
Referenced by node_filter(), and set_color().
const char* get_name | ( | const TEveElement * | element | ) |
Definition at line 13 of file eve_macros.cc.
References python.Node::node.
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 i, makeMuonMisalignmentScenario::matrix, python.Node::node, and fff_deletion::top.
Referenced by clone().
void hide_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 244 of file eve_macros.cc.
References set_tracker_endcap_visibility().
bool is_leaf_node | ( | const TEveElement * | element | ) |
Definition at line 177 of file eve_macros.cc.
References python.Node::node.
Referenced by set_children_visibility().
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(), i, is_leaf_node(), j, mergeVDriftHistosByStation::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 hitfit::char, expand_node(), i, and set_color().
Referenced by set_color().
void set_tracker_endcap_visibility | ( | TEveElement * | tracker, |
bool | visibility | ||
) |
Definition at line 226 of file eve_macros.cc.
References Reference_intrackfit_cff::endcap, and set_children_visibility().
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().