Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
align::Alignment Class Reference
Inheritance diagram for align::Alignment:
art::EDAnalyzer art::EventObserverBase art::Consumer art::EngineCreator

Classes

struct  Val_t
 

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 Alignment (fhicl::ParameterSet const &pset)
 
virtual ~Alignment ()
 
void analyze (art::Event const &evt)
 
void reconfigure (const fhicl::ParameterSet &pset)
 
void beginJob ()
 
void endJob ()
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProducts & cachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Private Member Functions

bool IsGoodTrack (art::Ptr< rb::Track > t, double x, double y, double z)
 yes/no is "track" entering within a buffer window More...
 
Val_t GetChannelHists (int plane, int cell)
 

Private Attributes

std::string fCellHitsListLabel
 Where to find CellHit. More...
 
std::string fTrackLabel
 Where to find Tracks. More...
 
unsigned int fMuonNhit
 Required # hits on muon track. More...
 
unsigned int fMuonNhitX
 

required in x view

More...
 
unsigned int fMuonNhitY
 

required in y view

More...
 
double fDetEdgeBuffer
 Detector edge buffer zone for entering cosmic ray track decision [cm]. More...
 
std::map< geo::OfflineChan, Val_tfChannelMap
 This is where GetChannelHist stores its histograms. More...
 

Detailed Description

Definition at line 42 of file Alignment_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

align::Alignment::Alignment ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 83 of file Alignment_module.cc.

References reconfigure().

83  :
84  EDAnalyzer(pset),
85  fCellHitsListLabel(pset.get< std::string >("CellHitsListLabel")),
86  fTrackLabel (pset.get< std::string >("TrackLabel") ),
87  fMuonNhit (pset.get< unsigned int >("MuonNhit") ),
88  fMuonNhitX (pset.get< unsigned int >("MuonNhitX") ),
89  fMuonNhitY (pset.get< unsigned int >("MuonNhitY") ),
90  fDetEdgeBuffer (pset.get< double >("DetEdgeBuffer") )
91  {
92  reconfigure(pset);
93  }
std::string fCellHitsListLabel
Where to find CellHit.
unsigned int fMuonNhitX
required in x view
std::string fTrackLabel
Where to find Tracks.
double fDetEdgeBuffer
Detector edge buffer zone for entering cosmic ray track decision [cm].
void reconfigure(const fhicl::ParameterSet &pset)
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
unsigned int fMuonNhitY
required in y view
enum BeamMode string
unsigned int fMuonNhit
Required # hits on muon track.
align::Alignment::~Alignment ( )
virtual

Definition at line 96 of file Alignment_module.cc.

97  {
98  }

Member Function Documentation

void align::Alignment::analyze ( art::Event const &  evt)
virtual

Implements art::EDAnalyzer.

Definition at line 106 of file Alignment_module.cc.

References rb::HitMap::Add(), ana::assert(), bin, plot_validation_datamc::c, geo::PlaneGeo::Cell(), rb::Cluster::Cell(), rb::HitMap::CellExists(), geo::ClosestApproach(), d, febshutoff_auto::end, rb::Cluster::ExtentPlane(), fMuonNhit, fMuonNhitX, fMuonNhitY, fTrackLabel, geom(), art::DataViewImpl::getByLabel(), geo::CellGeo::GetCenter(), GetChannelHists(), align::Alignment::Val_t::HCellPos, hists, make_syst_table_plots::ibin, IsGoodTrack(), geo::kX, geo::kY, LOG_DEBUG, rb::Cluster::NCell(), geo::PlaneGeo::Ncells(), geo::GeometryBase::NPlanes(), rb::Cluster::NXCell(), rb::Cluster::NYCell(), geo::GeometryBase::Plane(), util::pythag(), align::Alignment::Val_t::ResidV, align::Alignment::Val_t::ResidZ, util::sqr(), febshutoff_auto::start, rb::Prong::Start(), rb::Track::Stop(), std::swap(), track, geo::PlaneGeo::TranslatePlane(), POTSpillRate::view, geo::PlaneGeo::View(), and zz.

107  {
109 
110  // Get the tracks that were made by CosmicTrack
111  // and test that there are tracks in the event
113  evt.getByLabel(fTrackLabel,trks);
114  if (trks->size()==0) {
115  mf::LogWarning("AlignWarn") << "There are " << trks->size()
116  << " Tracks in this event, skip";
117  return;
118  }
119  LOG_DEBUG("Alignment") << "There are " << trks->size() << " Tracks in this event";
120 
121 
122  const unsigned int trkMax = trks->size();
123 
124  for(unsigned int trkIdx = 0; trkIdx < trkMax; ++trkIdx){
125  art::Ptr<rb::Track> track(trks, trkIdx);
126 
127  TVector3 start(track->Start());
128  TVector3 end(track->Stop());
129  if(end.Y() > start.Y()) std::swap(start, end);
130 
131  // Is this a good track?? i.e. entering and extends across at least 8 planes
132  if (this->IsGoodTrack(track,start.X(),start.Y(),start.Z()) == false) return;
133  assert(track->ExtentPlane() >= 8);
134 
135  const unsigned int hitMax = track->NCell(); // maximum number of CellHits on track
136  const unsigned int hitX = track->NXCell(); // maximum number of CellHits on track in XZ
137  const unsigned int hitY = track->NYCell(); // maximum number of CellHits on track in YZ
138 
139  // Do NOT select tracks if max number of hits or XZ- YZ-hits less than configurable values
140  if ( (hitMax < fMuonNhit) || (hitX < fMuonNhitX) || (hitY < fMuonNhitY) ) return;
141  assert(hitMax >= fMuonNhit);
142 
143  rb::HitMap hmap;
144  // Loop through both views and make a list of every CellHit in this track
145  for(int view = geo::kX; view <= geo::kY; ++view){
146  // C++ is a bit strict about the conversions. Save typing.
147  const geo::View_t geoview = geo::View_t(view);
148  // Make a list of every hit in this track
149  const unsigned int hitMaxView = track->NCell(geoview);
150  for(unsigned int hitIdx = 0; hitIdx < hitMaxView; ++hitIdx){
151  art::Ptr<rb::CellHit> hit = track->Cell(geoview, hitIdx);
152  hmap.Add(hit);
153  } // end for hitIdx
154  } // view
155 
156  const unsigned int pMax = geom->NPlanes();
157 
158  for( unsigned int pIdx = 0; pIdx < pMax; pIdx++){ // loop through planes
159 
160  geo::PlaneGeo* p = new geo::PlaneGeo(*geom->Plane(pIdx));
161  const unsigned int cMax = p->Ncells();
162 
163  // This command is what actually applies the Translation/Rotation.
164  // In this case it applies a 50cm translation in the +z-axis
165  // For now this is the default. Will re-work code so that this is a
166  // fcl parameter input.
167  p->TranslatePlane(0,0,50);
168 
169 
170  for( unsigned int cIdx = 0; cIdx < cMax; cIdx++){ // loop through cells
171  if(hmap.CellExists(pIdx,cIdx)) {
172  double xyz[3];
173  geo::CellGeo* c = new geo::CellGeo(*p->Cell(cIdx));
174 
175  c->GetCenter(xyz, 0.0);
176 
177  const geo::View_t view = geom->Plane(pIdx)->View();
178 
179  double residV[2];
180  double residZ[2];
181  TVector3 closest;
182  double vz,zz;
183 
184  // New format (correct) whereby residual is V(Z0) - V0 so that V0' = V0 + Residual[V]
185  if(view == geo::kX){
186  TVector3 start_vec(start.X(),0.0,start.Z());
187  TVector3 end_vec(end.X(),0.0, end.Z());
188  TVector3 xyz_vec(xyz[0],0.0,xyz[2]);
189  geo::ClosestApproach(xyz_vec,start_vec,(end_vec - start_vec),closest);
190  vz = closest[0];
191  zz = closest[2];
192  residV[view] = vz - xyz[0];
193  residZ[view] = zz - xyz[2];
194  }
195  if(view == geo::kY){
196  TVector3 start_vec(0.0,start.Y(),start.Z());
197  TVector3 end_vec(0.0,end.Y(),end.Z());
198  TVector3 xyz_vec(0.0,xyz[1],xyz[2]);
199  geo::ClosestApproach(xyz_vec,start_vec,(end_vec - start_vec),closest);
200  vz = closest[1];
201  zz = closest[2];
202  residV[view] = vz - xyz[1];
203  residZ[view] = zz - xyz[2];
204  }
205  Val_t hists = GetChannelHists(pIdx, cIdx);
206  hists.ResidV->Fill(residV[view]);
207  hists.ResidZ->Fill(residZ[view]);
208  hists.HCellPos->SetEntries(1);
209  //loop over 2D bins of a histo
210  double bs,bt,d,moda;
211  for(int ibin = 1; ibin <= hists.HCellPos->GetNbinsX(); ibin++){
212  for(int jbin = 1; jbin <= hists.HCellPos->GetNbinsY(); jbin++){
213  bs = hists.HCellPos->GetXaxis()->GetBinCenter(ibin);
214  bt = hists.HCellPos->GetYaxis()->GetBinCenter(jbin);
215 
216  moda = util::pythag(residV[view],residZ[view]);
217  d = moda - ((residV[view]*bs + residZ[view]*bt)/moda);
218  int bin = hists.HCellPos->GetBin(ibin,jbin);
219  hists.HCellPos->AddBinContent(bin,util::sqr(d));
220  } // jbin
221  } // ibin
222  } // if cell exists
223  } // cIdx
224  } // pIdx
225  } // end for trkIdx
226 
227 
228  return;
229  }
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
void GetCenter(double *xyz, double localz=0.0) const
Definition: CellGeo.cxx:159
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
const CellGeo * Cell(int icell) const
Definition: PlaneGeo.h:48
const char * p
Definition: xmltok.h:285
Vertical planes which measure X.
Definition: PlaneGeo.h:28
unsigned int Ncells() const
Number of cells in this plane.
Definition: PlaneGeo.h:43
Definition: event.h:19
unsigned int fMuonNhitX
required in x view
Double_t zz
Definition: plot.C:277
const PlaneGeo * Plane(unsigned int i) const
TString hists[nhists]
Definition: bdt_com.C:3
T sqr(T x)
More efficient square function than pow(x,2)
Definition: MathUtil.h:23
Horizontal planes which measure Y.
Definition: PlaneGeo.h:29
Provides efficient lookup of CellHits by plane and cell number.
Definition: HitMap.h:22
void swap(art::HLTGlobalStatus &lhs, art::HLTGlobalStatus &rhs)
std::string fTrackLabel
Where to find Tracks.
View_t View() const
Which coordinate does this plane measure.
Definition: PlaneGeo.h:53
Geometry information for a single readout plane.
Definition: PlaneGeo.h:36
int evt
Float_t d
Definition: plot.C:236
bool IsGoodTrack(art::Ptr< rb::Track > t, double x, double y, double z)
yes/no is "track" entering within a buffer window
float bin[41]
Definition: plottest35.C:14
void TranslatePlane(double dx, double dy=0, double dz=0, double phi=0, double theta=0, double psi=0)
Definition: PlaneGeo.cxx:179
Val_t GetChannelHists(int plane, int cell)
double ClosestApproach(const double point[], const double intercept[], const double slopes[], double closest[])
Find the distance of closest approach between point and line.
Definition: Geo.cxx:222
double pythag(double x, double y)
2D Euclidean distance
Definition: MathUtil.h:29
Definition: structs.h:12
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
void geom(int which=0)
Definition: geom.C:163
assert(nhit_max >=nhit_nbins)
bool CellExists(unsigned int planeIdx, unsigned int cellIdx) const
Does the map contain any cell at this position?
Definition: HitMap.cxx:81
unsigned int NPlanes() const
Encapsulate the cell geometry.
Definition: CellGeo.h:25
unsigned int fMuonNhitY
required in y view
Float_t track
Definition: plot.C:35
void Add(const art::Ptr< rb::CellHit > &chit)
Definition: HitMap.cxx:37
unsigned int fMuonNhit
Required # hits on muon track.
void align::Alignment::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 101 of file Alignment_module.cc.

102  {
103  }
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protectedinherited
void align::Alignment::endJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 236 of file Alignment_module.cc.

237  {
238  }
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
Alignment::Val_t align::Alignment::GetChannelHists ( int  plane,
int  cell 
)
private

Definition at line 241 of file Alignment_module.cc.

References fChannelMap, genie::utils::style::Format(), hCellPos, it, findDuplicateFiles::key, art::TFileDirectory::make(), and registry_explorer::v.

Referenced by analyze().

242  {
244  std::map<geo::OfflineChan, Val_t>::iterator it = fChannelMap.find(key);
245  if(it != fChannelMap.end()) return it->second;
247  TH1* residv =
248  tfs->make<TH1I>(TString::Format("residualmcV_%03d_%03d", plane, cell),
249  ";Residual in V (cm);count", 1000, -50, 50);
250  TH1* residz =
251  tfs->make<TH1I>(TString::Format("residualmcZ_%03d_%03d", plane, cell),
252  ";Residual in Z (cm);count", 1000, -50, 50);
253  TH2* hCellPos =
254  tfs->make<TH2D>(TString::Format("hCellPos_%03d_%03d", plane, cell),
255  ";Position in Z (cm); Position in Y (cm)", 40, -10, 10, 40, -10, 10);
256 
257  Val_t v;
258  v.ResidV = residv;
259  v.ResidZ = residz;
260  v.HCellPos = hCellPos;
261  fChannelMap[key] = v;
262  return v;
263  }
set< int >::iterator it
TH2D * hCellPos[pmax][cmax]
Definition: cellShifts.C:21
std::map< geo::OfflineChan, Val_t > fChannelMap
This is where GetChannelHist stores its histograms.
T * make(ARGS...args) const
A (plane, cell) pair.
Definition: OfflineChan.h:17
void Format(TGraph *gr, int lcol, int lsty, int lwid, int mcol, int msty, double msiz)
Definition: Style.cxx:154
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
bool align::Alignment::IsGoodTrack ( art::Ptr< rb::Track t,
double  x,
double  y,
double  z 
)
private

yes/no is "track" entering within a buffer window

Definition at line 266 of file Alignment_module.cc.

References DEFINE_ART_MODULE(), geo::GeometryBase::DetHalfHeight(), geo::GeometryBase::DetHalfWidth(), geo::GeometryBase::DetLength(), rb::Cluster::ExtentPlane(), stan::math::fabs(), fDetEdgeBuffer, and geom().

Referenced by analyze().

267  {
269  if (t->ExtentPlane() >= 8) return true;
270  else return false;
271  if (y > geom->DetHalfHeight()-fDetEdgeBuffer) return true;
272  if (fabs(x) > geom->DetHalfWidth()-fDetEdgeBuffer) return true;
273  if (z < fDetEdgeBuffer) return true;
274  if (z > geom->DetLength()-fDetEdgeBuffer) return true;
275  return false;
276  }
fvar< T > fabs(const fvar< T > &x)
Definition: fabs.hpp:15
double DetLength() const
double fDetEdgeBuffer
Detector edge buffer zone for entering cosmic ray track decision [cm].
double DetHalfHeight() const
z
Definition: test.py:28
double DetHalfWidth() const
void geom(int which=0)
Definition: geom.C:163
unsigned int ExtentPlane(geo::View_t view=geo::kXorY) const
Definition: Cluster.h:250
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void align::Alignment::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 232 of file Alignment_module.cc.

Referenced by Alignment().

233  {
234  }
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

References string.

36  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inlineinherited

Definition at line 109 of file EDAnalyzer.h.

References art::EDAnalyzer::currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Member Data Documentation

std::string align::Alignment::fCellHitsListLabel
private

Where to find CellHit.

Definition at line 60 of file Alignment_module.cc.

std::map<geo::OfflineChan, Val_t> align::Alignment::fChannelMap
private

This is where GetChannelHist stores its histograms.

Definition at line 76 of file Alignment_module.cc.

Referenced by GetChannelHists().

double align::Alignment::fDetEdgeBuffer
private

Detector edge buffer zone for entering cosmic ray track decision [cm].

Definition at line 66 of file Alignment_module.cc.

Referenced by IsGoodTrack().

unsigned int align::Alignment::fMuonNhit
private

Required # hits on muon track.

Definition at line 63 of file Alignment_module.cc.

Referenced by analyze().

unsigned int align::Alignment::fMuonNhitX
private

required in x view

Definition at line 64 of file Alignment_module.cc.

Referenced by analyze().

unsigned int align::Alignment::fMuonNhitY
private

required in y view

Definition at line 65 of file Alignment_module.cc.

Referenced by analyze().

std::string align::Alignment::fTrackLabel
private

Where to find Tracks.

Definition at line 61 of file Alignment_module.cc.

Referenced by analyze().


The documentation for this class was generated from the following file: