1 #ifndef SubsystemNeutronWriter_h 2 #define SubsystemNeutronWriter_h 22 class HepRandomEngine;
41 virtual int localDetId(
int globalDetId)
const = 0;
43 virtual int chamberType(
int globalDetId)
const = 0;
45 virtual int chamberId(
int globalDetId)
const = 0;
55 virtual void writeHits(
int chamberType,
edm::PSimHitContainer & chamberHits, CLHEP::HepRandomEngine*);
60 void adjust(
PSimHit &
h,
float timeOffset,
float smearing);
63 void updateCount(
int chamberType);
static AlgebraicMatrix initialize()
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
doesn't have to be a producer. Can act as an analyzer, too.
edm::InputTag theInputTag
std::map< int, int > theCountPerChamberType
NeutronWriter * theHitWriter
std::vector< PSimHit > PSimHitContainer