#include <RPCNeutronWriter.h>
Public Member Functions | |
RPCNeutronWriter (edm::ParameterSet const &pset) | |
virtual | ~RPCNeutronWriter () |
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 database of neutron patterns for the CSCs
Definition at line 13 of file RPCNeutronWriter.h.
RPCNeutronWriter::RPCNeutronWriter | ( | edm::ParameterSet const & | pset | ) | [explicit] |
Definition at line 4 of file RPCNeutronWriter.cc.
: SubsystemNeutronWriter(pset) { }
RPCNeutronWriter::~RPCNeutronWriter | ( | ) | [virtual] |
Definition at line 10 of file RPCNeutronWriter.cc.
{ }
virtual bool RPCNeutronWriter::accept | ( | const edm::PSimHitContainer & | cluster | ) | const [inline, protected, virtual] |
decides whether this cluster is good enough to be included
Implements SubsystemNeutronWriter.
Definition at line 27 of file RPCNeutronWriter.h.
{return true;}
int RPCNeutronWriter::chamberId | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 26 of file RPCNeutronWriter.cc.
References RPCDetId.
{ return RPCDetId(globalDetId).chamberId().rawId(); }
int RPCNeutronWriter::chamberType | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 20 of file RPCNeutronWriter.cc.
{
return globalDetId;
}
int RPCNeutronWriter::localDetId | ( | int | globalDetId | ) | const [protected, virtual] |
Implements SubsystemNeutronWriter.
Definition at line 14 of file RPCNeutronWriter.cc.
References RPCDetId.
{ return RPCDetId(globalDetId).layer(); }