CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

RPCNeutronWriter Class Reference

#include <RPCNeutronWriter.h>

Inheritance diagram for RPCNeutronWriter:
SubsystemNeutronWriter edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

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

Detailed Description

Writes out the database of neutron patterns for the CSCs

Author:
Rick Wilkinson, Caltech

Definition at line 13 of file RPCNeutronWriter.h.


Constructor & Destructor Documentation

RPCNeutronWriter::RPCNeutronWriter ( edm::ParameterSet const &  pset) [explicit]

Definition at line 4 of file RPCNeutronWriter.cc.

RPCNeutronWriter::~RPCNeutronWriter ( ) [virtual]

Definition at line 10 of file RPCNeutronWriter.cc.

                                    {
}

Member Function Documentation

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();
}