CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
ME0ReDigiProducer Class Reference

#include <ME0ReDigiProducer.h>

Inheritance diagram for ME0ReDigiProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

virtual void beginRun (const edm::Run &, const edm::EventSetup &) override
 
void buildDigis (const ME0DigiPreRecoCollection &, ME0DigiPreRecoCollection &, CLHEP::HepRandomEngine *engine)
 
 ME0ReDigiProducer (const edm::ParameterSet &ps)
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 
virtual ~ME0ReDigiProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

double correctSigmaU (const ME0EtaPartition *roll, double y)
 

Private Attributes

std::vector< double > centralTOF_
 
bool discretizeTiming_
 
bool discretizeX_
 
bool discretizeY_
 
const ME0Geometrygeometry_
 
double instLumi_
 
double instLumiDefault_
 
int maxBunch_
 
int minBunch_
 
double newXResolution_
 
double newYResolution_
 
int nPartitions_
 
double oldXResolution_
 
double oldYResolution_
 
double radialResolution_
 
double rateFact_
 
bool reDigitizeNeutronBkg_
 
bool reDigitizeOnlyMuons_
 
bool smearRadial_
 
bool smearTiming_
 
double timeResolution_
 
edm::EDGetTokenT< ME0DigiPreRecoCollectiontoken_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 25 of file ME0ReDigiProducer.h.

Constructor & Destructor Documentation

ME0ReDigiProducer::ME0ReDigiProducer ( const edm::ParameterSet ps)
explicit

Definition at line 22 of file ME0ReDigiProducer.cc.

References discretizeTiming_, discretizeX_, discretizeY_, Exception, edm::ParameterSet::getParameter(), instLumi_, instLumiDefault_, maxBunch_, minBunch_, newXResolution_, newYResolution_, oldXResolution_, oldYResolution_, radialResolution_, rateFact_, reDigitizeNeutronBkg_, reDigitizeOnlyMuons_, smearRadial_, smearTiming_, AlCaHLTBitMon_QueryRunRegistry::string, timeResolution_, and token_.

23 {
24  produces<ME0DigiPreRecoCollection>();
25 
27  if (!rng.isAvailable()){
28  throw cms::Exception("Configuration")
29  << "ME0ReDigiProducer::ME0PreRecoDigiProducer() - RandomNumberGeneratorService is not present in configuration file.\n"
30  << "Add the service in the configuration file or remove the modules that require it.";
31  }
32  std::string collection_(ps.getParameter<std::string>("inputCollection"));
33 
34  token_ = consumes<ME0DigiPreRecoCollection>(edm::InputTag(collection_));
35  timeResolution_ = ps.getParameter<double>("timeResolution");
36  minBunch_ = ps.getParameter<int>("minBunch");
37  maxBunch_ = ps.getParameter<int>("maxBunch");
38  smearTiming_ = ps.getParameter<bool>("smearTiming");
39  discretizeTiming_ = ps.getParameter<bool>("discretizeTiming");
40  radialResolution_ = ps.getParameter<double>("radialResolution");
41  smearRadial_ = ps.getParameter<bool>("smearRadial");
42  oldXResolution_ = ps.getParameter<double>("oldXResolution");
43  oldYResolution_ = ps.getParameter<double>("oldYResolution");
44  newXResolution_ = ps.getParameter<double>("newXResolution");
45  newYResolution_ = ps.getParameter<double>("newYResolution");
46  discretizeX_ = ps.getParameter<bool>("discretizeX");
47  discretizeY_ = ps.getParameter<bool>("discretizeY");
48  reDigitizeOnlyMuons_ = ps.getParameter<bool>("reDigitizeOnlyMuons");
49  reDigitizeNeutronBkg_ = ps.getParameter<bool>("reDigitizeNeutronBkg");
50  rateFact_ = ps.getParameter<double>("rateFact");
51  instLumiDefault_ = ps.getParameter<double>("instLumiDefault");
52  instLumi_ = ps.getParameter<double>("instLumi");
53 }
T getParameter(std::string const &) const
edm::EDGetTokenT< ME0DigiPreRecoCollection > token_
ME0ReDigiProducer::~ME0ReDigiProducer ( )
virtual

Definition at line 56 of file ME0ReDigiProducer.cc.

57 {
58 }

Member Function Documentation

void ME0ReDigiProducer::beginRun ( const edm::Run ,
const edm::EventSetup eventSetup 
)
overridevirtual

Definition at line 61 of file ME0ReDigiProducer.cc.

References centralTOF_, ME0Geometry::etaPartitions(), geometry_, edm::EventSetup::get(), LogDebug, nPartitions_, and or.

62 {
63  // set geometry
65  eventSetup.get<MuonGeometryRecord>().get(hGeom);
66  geometry_= &*hGeom;
67 
68  LogDebug("ME0ReDigiProducer")
69  << "Extracting central TOFs:" << std::endl;
70  // get the central TOFs for the eta partitions
71  for(auto &roll: geometry_->etaPartitions()){
72  const ME0DetId detId(roll->id());
73  if (detId.chamber() != 1 or detId.region() != 1) continue;
74  const LocalPoint centralLP(0., 0., 0.);
75  const GlobalPoint centralGP(roll->toGlobal(centralLP));
76  const float centralTOF(centralGP.mag() / 29.98); //speed of light
77  centralTOF_.push_back(centralTOF);
78  LogDebug("ME0ReDigiProducer")
79  << "ME0DetId " << detId << " central TOF " << centralTOF << std::endl;
80  }
81  nPartitions_ = centralTOF_.size()/6;
82  LogDebug("ME0ReDigiProducer")<<" Number of partitions "<<nPartitions_<<std::endl;
83 }
#define LogDebug(id)
const ME0Geometry * geometry_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
const std::vector< ME0EtaPartition const * > & etaPartitions() const
Return a vector of all ME0 eta partitions.
Definition: ME0Geometry.cc:59
const T & get() const
Definition: EventSetup.h:56
std::vector< double > centralTOF_
void ME0ReDigiProducer::buildDigis ( const ME0DigiPreRecoCollection input_digis,
ME0DigiPreRecoCollection output_digis,
CLHEP::HepRandomEngine *  engine 
)

Definition at line 104 of file ME0ReDigiProducer.cc.

References funct::abs(), centralTOF_, ME0EtaPartition::centreOfStrip(), ME0DigiPreReco::corr(), correctSigmaU(), edmIntegrityCheck::d, discretizeTiming_, discretizeX_, discretizeY_, ME0Geometry::etaPartition(), ME0Geometry::etaPartitions(), geometry_, ME0EtaPartition::id(), diffTreeTool::index, instLumi_, instLumiDefault_, maxBunch_, ME0DetId::maxRollId, minBunch_, newYResolution_, nPartitions_, oldXResolution_, oldYResolution_, or, metProducer_cfi::parameters, ME0DigiPreReco::pdgid(), ME0DigiPreReco::prompt(), radialResolution_, rateFact_, reDigitizeNeutronBkg_, reDigitizeOnlyMuons_, smearRadial_, smearTiming_, mathSSE::sqrt(), digi_MixPreMix_cfi::strip, ME0EtaPartition::strip(), cscNeutronWriter_cfi::t0, timeResolution_, ME0DigiPreReco::tof(), GeomDet::toGlobal(), GeomDet::toLocal(), ME0DigiPreReco::x(), PV3DBase< T, PVType, FrameType >::x(), ME0DigiPreReco::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by produce().

107 {
108  /*
109  Starting form the incoming pseudo-digi, which has sigma_x=300um, sigma_t=sigma_R=0, do the following
110  1A. Smear time using sigma_t by 7 ns (native resolution of GEM)
111  1B. Correct the smeared time with the central arrival time for partition
112  1C. Apply discretization: if the smeared time is outside the BX window (-12.5ns;+12.5ns),
113  the hit should be assigned to the next (or previous) BX
114 
115  2A. Apply smearing in the radial direction (not in local Y!) sigma_R of 100 um
116  2B. Apply discretization in radial direction to see which eta partition it belongs to.
117  Assign the hit to have Y-position equal to the middle of the partition.
118 
119  3A. Apply smearing in x-direction (not required if we stick with sigma=300 um, which is what
120  is used in pseudo-digis) to obtain desired x-resolution sigma_x_desired:
121  - use gaussian smear with sigma_eff=sqrt(sigma_desired^2-300^2)
122  */
123 
124  for(auto &roll: geometry_->etaPartitions()){
125  const ME0DetId detId(roll->id());
126  //const uint32_t rawId(detId.rawId());
127  auto digis = input_digis.get(detId);
128  for (auto d = digis.first; d != digis.second; ++d) {
129  const ME0DigiPreReco me0Digi = *d;
130  edm::LogVerbatim("ME0ReDigiProducer")
131  << "Check detId " << detId << " digi " << me0Digi << std::endl;
132 
133  // selection
134  if (reDigitizeOnlyMuons_ and std::abs(me0Digi.pdgid()) != 13) continue;
135  if (!reDigitizeNeutronBkg_ and !me0Digi.prompt()) continue;
136 
137  // scale background hits for luminosity
138  if (!me0Digi.prompt())
139  if (CLHEP::RandFlat::shoot(engine) > instLumi_*1.0/(instLumiDefault_*rateFact_)) continue;
140 
141  edm::LogVerbatim("ME0ReDigiProducer")
142  << "\tPassed selection" << std::endl;
143 
144  // time resolution
145  float newTof(me0Digi.tof());
146  if (me0Digi.prompt() and smearTiming_) newTof += CLHEP::RandGaussQ::shoot(engine, 0, timeResolution_);
147 
148  // arrival time in ns
149  //const float t0(centralTOF_[ nPartitions_ * (detId.layer() -1) + detId.roll() - 1 ]);
150  int index = nPartitions_ * (detId.layer() -1) + detId.roll() - 1;
151  edm::LogVerbatim("ME0ReDigiProducer")
152  <<"size "<<centralTOF_.size()<<" nPartitions "<<nPartitions_<<" layer "<<detId.layer()<<" roll "<<detId.roll()<<" index "<<index<<std::endl;
153 
154  const float t0(centralTOF_[ index ]);
155  const float correctedNewTof(newTof - t0);
156 
157  edm::LogVerbatim("ME0ReDigiProducer")
158  <<" t0 "<< t0 << " originalTOF " << me0Digi.tof() << "\tnew TOF " << newTof << " corrected new TOF " << correctedNewTof << std::endl;
159 
160  // calculate the new time in ns
161  float newTime = correctedNewTof;
162  if (discretizeTiming_){
163  for (int iBunch = minBunch_ - 2; iBunch <= maxBunch_ + 2; ++iBunch){
164  if (-12.5 + iBunch*25 < newTime and newTime <= 12.5 + iBunch*25){
165  newTime = iBunch * 25;
166  break;
167  }
168  }
169  }
170 
171  edm::LogVerbatim("ME0ReDigiProducer")
172  << "\tBX " << newTime << std::endl;
173 
174  // calculate the position in global coordinates
175  const LocalPoint oldLP(me0Digi.x(), me0Digi.y(), 0);
176  const GlobalPoint oldGP(roll->toGlobal(oldLP));
177  const GlobalPoint centralGP(roll->toGlobal(LocalPoint(0.,0.,0.)));
178  const std::vector<float> parameters(roll->specs()->parameters());
179  const float height(parameters[2]); // G4 uses half-dimensions!
180 
181  // smear the new radial with gaussian
182  const float oldR(oldGP.perp());
183 
184  float newR = oldR;
185  if (me0Digi.prompt() and smearRadial_ and nPartitions_ > 1)
186  newR = CLHEP::RandGaussQ::shoot(engine, oldR, radialResolution_);
187 
188  // calculate the new position in local coordinates
189  const GlobalPoint radialSmearedGP(GlobalPoint::Cylindrical(newR, oldGP.phi(), oldGP.z()));
190  LocalPoint radialSmearedLP = roll->toLocal(radialSmearedGP);
191 
192  // new y position after smearing
193  const float targetYResolution(sqrt(newYResolution_*newYResolution_ - oldYResolution_ * oldYResolution_));
194  float newLPy = radialSmearedLP.y();
195  if (me0Digi.prompt())
196  newLPy = CLHEP::RandGaussQ::shoot(engine, radialSmearedLP.y(), targetYResolution);
197 
198  const ME0EtaPartition* newPart = roll;
199  LocalPoint newLP(radialSmearedLP.x(), newLPy, radialSmearedLP.z());
200  GlobalPoint newGP(newPart->toGlobal(newLP));
201 
202  // check if digi moves one up or down roll
203  int newRoll = detId.roll();
204  if (newLP.y() > height) --newRoll;
205  if (newLP.y() < -height) ++newRoll;
206 
207  if (newRoll != detId.roll()){
208  // check if new roll is possible
209  if (newRoll < ME0DetId::minRollId || newRoll > ME0DetId::maxRollId){
210  newRoll = detId.roll();
211  }
212  else {
213  // roll changed, get new ME0EtaPartition
214  newPart = geometry_->etaPartition(ME0DetId(detId.region(), detId.layer(), detId.chamber(), newRoll));
215  }
216 
217  // if new ME0EtaPartition fails or roll not changed
218  if (!newPart or newRoll == detId.roll()){
219  newPart = roll;
220  // set local y to edge of etaPartition
221  if (newLP.y() > height) newLP = LocalPoint(newLP.x(), height, newLP.z());
222  if (newLP.y() < -height) newLP = LocalPoint(newLP.x(), -height, newLP.z());
223  }
224  else {// new partiton, get new local point
225  newLP = newPart->toLocal(newGP);
226  }
227  }
228 
229  // smearing in X
230  double newXResolutionCor = correctSigmaU(roll, newLP.y());
231 
232  // new x position after smearing
233  const float targetXResolution(sqrt(newXResolutionCor*newXResolutionCor - oldXResolution_ * oldXResolution_));
234  float newLPx = newLP.x();
235  if (me0Digi.prompt())
236  newLPx = CLHEP::RandGaussQ::shoot(engine, newLP.x(), targetXResolution);
237 
238  // update local point after x smearing
239  newLP = LocalPoint(newLPx, newLP.y(), newLP.z());
240 
241  float newY(newLP.y());
242  // new hit has y coordinate in the center of the roll when using discretizeY
243  if (discretizeY_ and nPartitions_ > 1) newY = 0;
244  edm::LogVerbatim("ME0ReDigiProducer")
245  << "\tnew Y " << newY << std::endl;
246 
247  float newX(newLP.x());
248  edm::LogVerbatim("ME0ReDigiProducer")
249  << "\tnew X " << newX << std::endl;
250  // discretize the new X
251  if (discretizeX_){
252  int strip(newPart->strip(newLP));
253  float stripF(float(strip) - 0.5);
254  const LocalPoint newLP(newPart->centreOfStrip(stripF));
255  newX = newLP.x();
256  edm::LogVerbatim("ME0ReDigiProducer")
257  << "\t\tdiscretized X " << newX << std::endl;
258  }
259 
260  // make a new ME0DetId
261  ME0DigiPreReco out_digi(newX, newY, targetXResolution, targetYResolution, me0Digi.corr(), newTime, me0Digi.pdgid(), me0Digi.prompt());
262 
263  output_digis.insertDigi(newPart->id(), out_digi);
264  }
265  }
266 }
float y() const
double correctSigmaU(const ME0EtaPartition *roll, double y)
static const int maxRollId
Definition: ME0DetId.h:96
float tof() const
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Definition: GeomDet.h:54
T y() const
Definition: PV3DBase.h:63
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
Definition: GeomDet.h:69
LocalPoint centreOfStrip(int strip) const
int pdgid() const
float strip(const LocalPoint &lp) const
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return a etaPartition given its id.
Definition: ME0Geometry.cc:64
const ME0Geometry * geometry_
int prompt() const
T sqrt(T t)
Definition: SSEVec.h:18
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
ME0DetId id() const
T z() const
Definition: PV3DBase.h:64
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const std::vector< ME0EtaPartition const * > & etaPartitions() const
Return a vector of all ME0 eta partitions.
Definition: ME0Geometry.cc:59
float x() const
float corr() const
std::vector< double > centralTOF_
Local3DPoint LocalPoint
Definition: LocalPoint.h:11
T x() const
Definition: PV3DBase.h:62
double ME0ReDigiProducer::correctSigmaU ( const ME0EtaPartition roll,
double  y 
)
private

Definition at line 268 of file ME0ReDigiProducer.cc.

References newXResolution_, ME0EtaPartitionSpecs::parameters(), metProducer_cfi::parameters, Gflash::Rmax, ME0EtaPartition::specs(), ME0EtaPartition::topology(), and y.

Referenced by buildDigis().

268  {
269  const TrapezoidalStripTopology* top_(dynamic_cast<const TrapezoidalStripTopology*>(&(roll->topology())));
270  auto& parameters(roll->specs()->parameters());
271  double height(parameters[2]); // height = height from Center of Roll
272  double rollRadius = top_->radius(); // rollRadius = Radius at Center of Roll
273  double Rmax = rollRadius+height; // MaxRadius = Radius at top of Roll
274  double Rx = rollRadius+y; // y in [-height,+height]
275  double sigma_u_new = Rx/Rmax*newXResolution_;
276  return sigma_u_new;
277 }
const ME0EtaPartitionSpecs * specs() const
const ME0Specs & parameters() const
const Topology & topology() const
const double Rmax[kNumberCalorimeter]
void ME0ReDigiProducer::produce ( edm::Event e,
const edm::EventSetup eventSetup 
)
overridevirtual

Definition at line 86 of file ME0ReDigiProducer.cc.

References buildDigis(), edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), edm::Event::streamID(), and token_.

87 {
89  CLHEP::HepRandomEngine* engine = &rng->getEngine(e.streamID());
90 
92  e.getByToken(token_, input_digis);
93 
94  std::unique_ptr<ME0DigiPreRecoCollection> output_digis(new ME0DigiPreRecoCollection());
95 
96  // build the clusters
97  buildDigis(*(input_digis.product()), *output_digis, engine);
98 
99  // store them in the event
100  e.put(std::move(output_digis));
101 }
void buildDigis(const ME0DigiPreRecoCollection &, ME0DigiPreRecoCollection &, CLHEP::HepRandomEngine *engine)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
edm::EDGetTokenT< ME0DigiPreRecoCollection > token_
MuonDigiCollection< ME0DetId, ME0DigiPreReco > ME0DigiPreRecoCollection
T const * product() const
Definition: Handle.h:81
StreamID streamID() const
Definition: Event.h:81
def move(src, dest)
Definition: eostools.py:510

Member Data Documentation

std::vector<double> ME0ReDigiProducer::centralTOF_
private

Definition at line 64 of file ME0ReDigiProducer.h.

Referenced by beginRun(), and buildDigis().

bool ME0ReDigiProducer::discretizeTiming_
private

Definition at line 49 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::discretizeX_
private

Definition at line 56 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::discretizeY_
private

Definition at line 57 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

const ME0Geometry* ME0ReDigiProducer::geometry_
private

Definition at line 44 of file ME0ReDigiProducer.h.

Referenced by beginRun(), and buildDigis().

double ME0ReDigiProducer::instLumi_
private

Definition at line 63 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::instLumiDefault_
private

Definition at line 61 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

int ME0ReDigiProducer::maxBunch_
private

Definition at line 47 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

int ME0ReDigiProducer::minBunch_
private

Definition at line 46 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::newXResolution_
private

Definition at line 54 of file ME0ReDigiProducer.h.

Referenced by correctSigmaU(), and ME0ReDigiProducer().

double ME0ReDigiProducer::newYResolution_
private

Definition at line 55 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

int ME0ReDigiProducer::nPartitions_
private

Definition at line 65 of file ME0ReDigiProducer.h.

Referenced by beginRun(), and buildDigis().

double ME0ReDigiProducer::oldXResolution_
private

Definition at line 52 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::oldYResolution_
private

Definition at line 53 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::radialResolution_
private

Definition at line 50 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::rateFact_
private

Definition at line 62 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::reDigitizeNeutronBkg_
private

Definition at line 60 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::reDigitizeOnlyMuons_
private

Definition at line 59 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::smearRadial_
private

Definition at line 51 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

bool ME0ReDigiProducer::smearTiming_
private

Definition at line 48 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

double ME0ReDigiProducer::timeResolution_
private

Definition at line 45 of file ME0ReDigiProducer.h.

Referenced by buildDigis(), and ME0ReDigiProducer().

edm::EDGetTokenT<ME0DigiPreRecoCollection> ME0ReDigiProducer::token_
private

Definition at line 43 of file ME0ReDigiProducer.h.

Referenced by ME0ReDigiProducer(), and produce().

bool ME0ReDigiProducer::verbose_
private

Definition at line 58 of file ME0ReDigiProducer.h.