CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

DTNeutronWriter Class Reference

#include <DTNeutronWriter.h>

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

List of all members.

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

Detailed Description

Writes out the neutron simhits for the DTs

Original Author: Vadim Khotilovich

Definition at line 12 of file DTNeutronWriter.h.


Constructor & Destructor Documentation

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

Definition at line 4 of file DTNeutronWriter.cc.

DTNeutronWriter::~DTNeutronWriter ( ) [virtual]

Definition at line 10 of file DTNeutronWriter.cc.

                                  {
}

Member Function Documentation

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