1#include <Math/Vector3D.h>
3#include <edm4hep/CalorimeterHitCollection.h>
7namespace CalorimeterHit {
14ROOT::VecOps::RVec<int>
15getType(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
22ROOT::VecOps::RVec<unsigned long long>
23getCellID(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
30ROOT::VecOps::RVec<float>
31getEnergy(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
38ROOT::VecOps::RVec<float>
39getTime(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
46ROOT::VecOps::RVec<float>
47getR(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
54ROOT::VecOps::RVec<float>
55getX(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
62ROOT::VecOps::RVec<float>
63getY(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
70ROOT::VecOps::RVec<float>
71getZ(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
78ROOT::VecOps::RVec<int>
79getType(
const edm4hep::CalorimeterHitCollection &collection);
86ROOT::VecOps::RVec<unsigned long long>
87getCellID(
const edm4hep::CalorimeterHitCollection &collection);
94ROOT::VecOps::RVec<float>
95getEnergy(
const edm4hep::CalorimeterHitCollection &collection);
102ROOT::VecOps::RVec<float>
103getTime(
const edm4hep::CalorimeterHitCollection &collection);
110ROOT::VecOps::RVec<float>
111getR(
const edm4hep::CalorimeterHitCollection &collection);
118ROOT::VecOps::RVec<float>
119getX(
const edm4hep::CalorimeterHitCollection &collection);
126ROOT::VecOps::RVec<float>
127getY(
const edm4hep::CalorimeterHitCollection &collection);
134ROOT::VecOps::RVec<float>
135getZ(
const edm4hep::CalorimeterHitCollection &collection);
142int printType(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
149int printCellID(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
156int printEnergy(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
163int printTime(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
170int printR(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
177int printX(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
184int printY(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
191int printZ(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
198int printType(
const edm4hep::CalorimeterHitCollection &collection);
205int printCellID(
const edm4hep::CalorimeterHitCollection &collection);
212int printEnergy(
const edm4hep::CalorimeterHitCollection &collection);
219int printTime(
const edm4hep::CalorimeterHitCollection &collection);
226int printR(
const edm4hep::CalorimeterHitCollection &collection);
233int printX(
const edm4hep::CalorimeterHitCollection &collection);
240int printY(
const edm4hep::CalorimeterHitCollection &collection);
247int printZ(
const edm4hep::CalorimeterHitCollection &collection);
257ROOT::VecOps::RVec<bool>
259 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
269ROOT::VecOps::RVec<bool>
271 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
281ROOT::VecOps::RVec<bool>
283 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
293ROOT::VecOps::RVec<bool>
295 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
305ROOT::VecOps::RVec<bool>
307 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
317ROOT::VecOps::RVec<bool>
319 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
329ROOT::VecOps::RVec<bool>
331 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
341ROOT::VecOps::RVec<bool>
343 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
353ROOT::VecOps::RVec<bool>
355 const edm4hep::CalorimeterHitCollection &collection);
365ROOT::VecOps::RVec<bool>
367 const edm4hep::CalorimeterHitCollection &collection);
377ROOT::VecOps::RVec<bool>
379 const edm4hep::CalorimeterHitCollection &collection);
389ROOT::VecOps::RVec<bool>
391 const edm4hep::CalorimeterHitCollection &collection);
401ROOT::VecOps::RVec<bool>
403 const edm4hep::CalorimeterHitCollection &collection);
413ROOT::VecOps::RVec<bool>
415 const edm4hep::CalorimeterHitCollection &collection);
425ROOT::VecOps::RVec<bool>
427 const edm4hep::CalorimeterHitCollection &collection);
437ROOT::VecOps::RVec<bool>
439 const edm4hep::CalorimeterHitCollection &collection);
448ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
450 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
459ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
461 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
470ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
472 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
481ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
483 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
492ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
494 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
503ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
505 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
514ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
516 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
525ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
527 ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection);
536edm4hep::CalorimeterHitCollection
538 const edm4hep::CalorimeterHitCollection &collection);
547edm4hep::CalorimeterHitCollection
549 const edm4hep::CalorimeterHitCollection &collection);
558edm4hep::CalorimeterHitCollection
560 const edm4hep::CalorimeterHitCollection &collection);
569edm4hep::CalorimeterHitCollection
571 const edm4hep::CalorimeterHitCollection &collection);
580edm4hep::CalorimeterHitCollection
582 const edm4hep::CalorimeterHitCollection &collection);
591edm4hep::CalorimeterHitCollection
593 const edm4hep::CalorimeterHitCollection &collection);
602edm4hep::CalorimeterHitCollection
604 const edm4hep::CalorimeterHitCollection &collection);
613edm4hep::CalorimeterHitCollection
615 const edm4hep::CalorimeterHitCollection &collection);
623ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
624sortType(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
625 bool reverse =
false);
633ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
634sortCellID(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
635 bool reverse =
false);
643ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
644sortEnergy(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
645 bool reverse =
false);
653ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
654sortTime(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
655 bool reverse =
false);
663ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
664sortR(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
665 bool reverse =
false);
673ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
674sortX(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
675 bool reverse =
false);
683ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
684sortY(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
685 bool reverse =
false);
693ROOT::VecOps::RVec<edm4hep::CalorimeterHitData>
694sortZ(ROOT::VecOps::RVec<edm4hep::CalorimeterHitData> &collection,
695 bool reverse =
false);
703edm4hep::CalorimeterHitCollection
704sortType(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
712edm4hep::CalorimeterHitCollection
713sortCellID(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
721edm4hep::CalorimeterHitCollection
722sortEnergy(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
730edm4hep::CalorimeterHitCollection
731sortTime(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
739edm4hep::CalorimeterHitCollection
740sortR(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
748edm4hep::CalorimeterHitCollection
749sortX(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
757edm4hep::CalorimeterHitCollection
758sortY(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
766edm4hep::CalorimeterHitCollection
767sortZ(edm4hep::CalorimeterHitCollection &collection,
bool reverse =
false);
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selY(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of y coordinate.
Definition CalorimeterHit.cc:809
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selType(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of type.
Definition CalorimeterHit.cc:773
ROOT::VecOps::RVec< float > getTime(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get time of the hit from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:38
int printTime(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print time of the hit from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:223
ROOT::VecOps::RVec< int > getType(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get type from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:5
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortType(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of type.
Definition CalorimeterHit.cc:869
int printZ(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print z coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:259
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selZ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of z coordinate.
Definition CalorimeterHit.cc:815
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selEnergy(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of energy.
Definition CalorimeterHit.cc:785
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortTime(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of time of the hit.
Definition CalorimeterHit.cc:908
ROOT::VecOps::RVec< float > getR(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get distance to origin from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:49
ROOT::VecOps::RVec< bool > maskX(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of x coordinate from each item in a collection of CalorimeterH...
Definition CalorimeterHit.cc:476
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selX(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of x coordinate.
Definition CalorimeterHit.cc:803
ROOT::VecOps::RVec< float > getZ(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get z coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:88
ROOT::VecOps::RVec< float > getEnergy(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get energy from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:27
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortCellID(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of detector cell ID.
Definition CalorimeterHit.cc:882
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortEnergy(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of energy.
Definition CalorimeterHit.cc:895
ROOT::VecOps::RVec< float > getX(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get x coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:62
ROOT::VecOps::RVec< bool > maskZ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of z coordinate from each item in a collection of CalorimeterH...
Definition CalorimeterHit.cc:530
ROOT::VecOps::RVec< bool > maskType(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of type from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:341
int printX(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print x coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:241
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortR(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of distance to origin.
Definition CalorimeterHit.cc:921
int printCellID(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print detector cell ID from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:205
int printEnergy(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print energy from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:214
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortY(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of y coordinate.
Definition CalorimeterHit.cc:951
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selR(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of distance to origin.
Definition CalorimeterHit.cc:797
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortZ(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of z coordinate.
Definition CalorimeterHit.cc:966
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > sortX(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection, bool reverse)
Sort a collection of CalorimeterHit based on the value of x coordinate.
Definition CalorimeterHit.cc:936
ROOT::VecOps::RVec< bool > maskCellID(LogicalOperators::ComparisonOperator op, unsigned long long val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of detector cell ID from each item in a collection of Calorime...
Definition CalorimeterHit.cc:368
ROOT::VecOps::RVec< bool > maskR(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of distance to origin from each item in a collection of Calori...
Definition CalorimeterHit.cc:449
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selCellID(LogicalOperators::ComparisonOperator op, unsigned long long val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of detector cell ID.
Definition CalorimeterHit.cc:779
int printY(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print y coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:250
ROOT::VecOps::RVec< bool > maskEnergy(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of energy from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:395
ROOT::VecOps::RVec< float > getY(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get y coordinate from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:75
ROOT::VecOps::RVec< unsigned long long > getCellID(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Get detector cell ID from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:16
ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > selTime(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Select a subgroup of CalorimeterHit based on the value of time of the hit.
Definition CalorimeterHit.cc:791
ROOT::VecOps::RVec< bool > maskTime(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of time of the hit from each item in a collection of Calorimet...
Definition CalorimeterHit.cc:422
int printR(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print distance to origin from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:232
ROOT::VecOps::RVec< bool > maskY(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Create boolean mask based on the value of y coordinate from each item in a collection of CalorimeterH...
Definition CalorimeterHit.cc:503
int printType(ROOT::VecOps::RVec< edm4hep::CalorimeterHitData > &collection)
Print type from each item in a collection of CalorimeterHit.
Definition CalorimeterHit.cc:196
ComparisonOperator
Definition LogicalOperators.h:17
Definition CalorimeterHit.cc:2