Linear Collider Forum

Home » Analysis and Reconstruction » Analysis Tools » Check if an MC particle's vertex is in calorimeters
Check if an MC particle's vertex is in calorimeters [message #2077] Wed, 29 September 2010 08:25
Messages: 14
Registered: November 2007
Dear all,
is there an easy way to check if an MC particle was born inside one of the calorimeters, i.e. ECAL? I've seen that there is a method from:

GearMgr -> getPointProperties() -> isCalorimeter()

but this does not work out of the box. My first attempt was something like this:

  gear::GearXML gearXML("myfile.xml");
  gear::GearMgr *gearMgr = gearXML.createGearMgr();

but this method is not implemented.

I've also tried by using the GEAR calorimeter parameters from the xml file, but this proves to be not trivial, it still implies hard coded numbers to create an ECAL volume.

Maybe I'm missing something, but I could not find an obvious way to do this. If anyone has a better idea, please let me know.

Thank you in advance for your help,
Read Message
Previous Topic:Concerning TrackerHits vs. SimTrackerHits
Next Topic:converting .aida to root/hbook file format
Goto Forum:

Current Time: Mon Nov 11 13:57:40 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software