[Hps] [EXTERNAL] HPS Recon/Analysis workshop starts TOMORROW @ 8am/11am PDT/EDT
Andrea Celentano
andrea.celentano at ge.infn.it
Mon May 2 13:35:46 EDT 2022
Dear all,
the definition of the “Y” coordinate I am using in the WAB analysis can be obtained from the following code, see also org.hps.recon.ecal.cluster.ClusterCorrectionUtilities
Bests,
Andrea
public static final double computeYDistanceFromEdge(HPSEcal3 ecal, double xpos, double ypos) {
// distance to beam gap edge
double ydist;
// Get these values from the Ecal geometry:
HPSEcalDetectorElement detElement = (HPSEcalDetectorElement) ecal.getDetectorElement();
double BEAMGAPTOP = 20.0;
try {
BEAMGAPTOP = ecal.getNode().getChild("layout").getAttribute("beamgapTop").getDoubleValue();
} catch (DataConversionException e) {
try {
BEAMGAPTOP = ecal.getNode().getChild("layout").getAttribute("beamgap").getDoubleValue();
} catch (DataConversionException ee) {
ee.printStackTrace();
}
}
double BEAMGAPBOT = -20.0;
try {
BEAMGAPBOT = -ecal.getNode().getChild("layout").getAttribute("beamgapBottom").getDoubleValue();
} catch (DataConversionException e) {
try {
BEAMGAPBOT = -ecal.getNode().getChild("layout").getAttribute("beamgap").getDoubleValue();
} catch (DataConversionException ee) {
ee.printStackTrace();
}
}
double BEAMGAPTOPC = BEAMGAPTOP + 13.0; // mm
double BEAMGAPBOTC = BEAMGAPBOT - 13.0; // mm
// x-coordinates of crystals on either side of row 1 cut out
EcalCrystal crystalM = detElement.getCrystal(-11, 1);
Hep3Vector posM = crystalM.getPositionFront();
EcalCrystal crystalP = detElement.getCrystal(-1, 1);
Hep3Vector posP = crystalP.getPositionFront();
if ((xpos < posM.x()) || (xpos > posP.x())) {
if (ypos > 0) {
ydist = Math.abs(ypos - BEAMGAPTOP);
} else {
ydist = Math.abs(ypos - BEAMGAPBOT);
}
} else {
if (ypos > 0) {
if (ypos > (CUTOFF_OFFSET + BEAMGAPTOP)) {
ydist = Math.abs(ypos - BEAMGAPTOP);
} else {
ydist = Math.abs(ypos - BEAMGAPTOPC);
}
} else {
if (ypos > (-CUTOFF_OFFSET + BEAMGAPBOT)) {
ydist = Math.abs(ypos - BEAMGAPBOTC);
} else {
ydist = Math.abs(ypos - BEAMGAPBOT);
}
}
}
return ydist;
}
> On May 2, 2022, at 04:39, Graham, Mathew Thomas <mgraham at slac.stanford.edu> wrote:
>
>
> Hi All,
>
> Tomorrow morning is the first day of the recon/analysis workshop. We’ll start at 8am pacific/11 am eastern and to until ~noon pacific both Monday and Tuesday. The agenda is here:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__indico.slac.stanford.edu_event_7201_&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=g2cf-h4HEFmlMKBQzPLAaGWczHc0g-Y6fJ9wOW_AUM8goisZuC828wKZtqD6eho-&s=N3JZnGfBF3HMcEhTAAGO0SG57DSyO75-SoupxNm447w&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__indico.slac.stanford.edu_event_7201_&d=DwMGaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=b64PmvdlNK3IeNQB0tzGzAKFF3pvWWLVRwe1iWhJpTAyLJRJxafLbGZx-ZNVb41I&s=O-8KkBfmx60eh4xTWxd-W4omsCu4rmHAzUaKLL6cpg0&e=>
>
> There is a confluence page where information will go:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__confluence.slac.stanford.edu_pages_viewpage.action-3FpageId-3D343712287&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=g2cf-h4HEFmlMKBQzPLAaGWczHc0g-Y6fJ9wOW_AUM8goisZuC828wKZtqD6eho-&s=BSAP-PiWgH69ZMpUtzJJF_pJ7GVLB_VUiwbwUWV6N0g&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__confluence.slac.stanford.edu_pages_viewpage.action-3FpageId-3D343712287&d=DwMGaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=b64PmvdlNK3IeNQB0tzGzAKFF3pvWWLVRwe1iWhJpTAyLJRJxafLbGZx-ZNVb41I&s=g10b2rALemqxqz_MaJvHMSohbtPfcdMvjsi7MKeq7Ww&e=>
>
> Here is the zoom info (also on the indico page):
>
>
> Topic: HPS Recon/Analysis Workshop
> Time: May 2, 2022 09:00 AM Mountain Time (US and Canada)
>
> Join from PC, Mac, Linux, iOS or Android: https://urldefense.proofpoint.com/v2/url?u=https-3A__stanford.zoom.us_j_4503457308-3Fpwd-3DVFdFZGpsUHFuSDdYa0JVOWI3cENFUT09&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=g2cf-h4HEFmlMKBQzPLAaGWczHc0g-Y6fJ9wOW_AUM8goisZuC828wKZtqD6eho-&s=2UZl1POLSD_GW6auQ26NuFMuE37hg1nVKL-WqAboAMk&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__stanford.zoom.us_j_4503457308-3Fpwd-3DVFdFZGpsUHFuSDdYa0JVOWI3cENFUT09&d=DwMGaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=b64PmvdlNK3IeNQB0tzGzAKFF3pvWWLVRwe1iWhJpTAyLJRJxafLbGZx-ZNVb41I&s=sLpJW3lO5haU6QYFsjnx3RBS7yayJ82fB7rxTvBFzGs&e=>
> Password: 123456
>
> Or iPhone one-tap (US Toll): +18333021536,,4503457308# or +16507249799,,4503457308#
>
> Or Telephone:
> Dial: +1 650 724 9799 (US, Canada, Caribbean Toll) or +1 833 302 1536 (US, Canada, Caribbean Toll Free)
>
> Meeting ID: 450 345 7308
> Password: 123456
> International numbers available: https://urldefense.proofpoint.com/v2/url?u=https-3A__stanford.zoom.us_u_aofI4cJNl&d=DwIFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=g2cf-h4HEFmlMKBQzPLAaGWczHc0g-Y6fJ9wOW_AUM8goisZuC828wKZtqD6eho-&s=FyzFHQGU726h-vffSmXvV7qPLUZ1V8fbc8-BmFzDqAY&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__stanford.zoom.us_u_aofI4cJNl&d=DwMGaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=ErLkbYGWd8oSAZ70ywHxhA&m=b64PmvdlNK3IeNQB0tzGzAKFF3pvWWLVRwe1iWhJpTAyLJRJxafLbGZx-ZNVb41I&s=UDSIpMkjANGTvy8IynUJR9V_lNP5QLbJ8E9KNFnA0NY&e=>
>
> Meeting ID: 450 345 7308
> Password: 123456
> SIP: 4503457308 at zoomcrc.com <mailto:4503457308 at zoomcrc.com>
> Password: 123456
>
> _______________________________________________
> Hps mailing list
> Hps at jlab.org
> https://mailman.jlab.org/mailman/listinfo/hps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/hps/attachments/20220502/0a46c96a/attachment-0001.html>
More information about the Hps
mailing list