#include "THKCherenkov.h" #include "THKMCTrack.h" #include using std::cout; using std::endl; ClassImp(THKCherenkov) void THKCherenkov::FillImpliedSelectedSet(Set_t& impSelSet) { TEveElement::FillImpliedSelectedSet(impSelSet); for (List_ci i=fParents.begin(); i!=fParents.end(); ++i) { impSelSet.insert(*i); } } void THKCherenkov::Describe(Picker* picker) { picker->Output(TString("Cherenkov ring from ")+TString(GetTitle())); List_ci i=fParents.begin(); TEveElement* obj=(*i); //THKGamma *g = dynamic_cast (obj); THKMCTrack *mc = dynamic_cast (obj); //if(g){ // g->Describe(picker); //} //else if(mc){ mc->Describe(picker); } else { picker->Output(Form("User clicked on cherenkov ring from parent object called : \"%s\"", obj->GetElementName())); //cout<<" of class "<ClassElementName()<