#include <DTNeutronWriter.h>
Public Member Functions | |
DTNeutronWriter (edm::ParameterSet const &pset) | |
virtual | ~DTNeutronWriter () |
Protected Member Functions | |
virtual bool | accept (const edm::PSimHitContainer &cluster) const |
decides whether this cluster is good enough to be included | |
virtual int | chamberId (int globalDetId) const |
virtual int | chamberType (int globalDetId) const |
virtual int | localDetId (int globalDetId) const |
Writes out the neutron simhits for the DTs
Original Author: Vadim Khotilovich
Definition at line 12 of file DTNeutronWriter.h.
DTNeutronWriter::DTNeutronWriter | ( | edm::ParameterSet const & | pset | ) | [explicit] |
Definition at line 4 of file DTNeutronWriter.cc.
: SubsystemNeutronWriter(pset) { }
DTNeutronWriter::~DTNeutronWriter | ( | ) | [virtual] |
Definition at line 10 of file DTNeutronWriter.cc.
{ }
virtual bool DTNeutronWriter::accept | ( | const edm::PSimHitContainer & | cluster | ) | const [inline, protected, virtual] |
decides whether this cluster is good enough to be included
Implements SubsystemNeutronWriter.
Definition at line 26 of file DTNeutronWriter.h.
{return true;}
int DTNeutronWriter::chamberId | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 26 of file DTNeutronWriter.cc.
References DTChamberId.
{ return DTChamberId(globalDetId).rawId(); }
int DTNeutronWriter::chamberType | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 20 of file DTNeutronWriter.cc.
{
return globalDetId;
}
int DTNeutronWriter::localDetId | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 14 of file DTNeutronWriter.cc.
References DTLayerId.
{ return DTLayerId(globalDetId).layer(); }