00001
00002
00003 #include "VisReco/VisRecoTools/interface/VisRecoToolsTwig.h"
00004 #include "VisReco/VisRecoTools/interface/VisCSCSeg2HETwig.h"
00005 #include "Iguana/Framework/interface/IgRepSet.h"
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 VisRecoToolsTwig::VisRecoToolsTwig (IgState *state, IgTwig *parent, const std::string &name)
00018 : VisQueuedTwig (state, parent, name)
00019 {
00020 }
00021
00022 void
00023 VisRecoToolsTwig::onNewEvent (const edm::Event &event,
00024 const edm::EventSetup &eventSetup)
00025 {
00026 if (children ()) destroy ();
00027
00028 VisQueuedTwig::onBaseInvalidate ();
00029
00030 new VisCSCSeg2HETwig (state (), this, "CSC to HE track propagation", event, eventSetup);
00031
00032 IgRepSet::invalidate (this->parent (), IgTwig::SELF_MASK | IgTwig::STRUCTURE_MASK);
00033 }